aboutsummaryrefslogblamecommitdiffstats
path: root/community/phoc/APKBUILD
blob: 2df97352568180ade04d62730b91f5c90d274651 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                  
                                            

                                              
            
        
                                                            
                              

                                         

                                                                           

                                      
                                                                                    
                                    

         

                                          
                        
                                                   


         
                                                     


           
                                                               
 
                                                                                                                                                                 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=phoc
pkgver=0.4.2
pkgrel=0
pkgdesc="wlroots based Phone compositor for the Phosh shell"
arch="all !s390x" # no wlroots
url="https://source.puri.sm/Librem5/phoc"
license="GPL-3.0-only"
makedepends="meson ninja gobject-introspection-dev libinput-dev wayland-dev
	wayland-protocols libxkbcommon-dev wlroots-dev gnome-desktop-dev"
checkdepends="xvfb-run"
options="!check" # Needs fullblown EGL
source="https://source.puri.sm/Librem5/phoc/-/archive/v$pkgver/phoc-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	abuild-meson \
		-Dembed-wlroots=disabled \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	xvfb-run meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir/" meson install --no-rebuild -C output
}
sha512sums="24d431eb0fcb4683f565c3cf9e80513bc3e33b24b3384ba56ca65198ae91a3c961d74a6304072adc173948b802123a3928b3793d462ddb744a749e297d49ce85  phoc-v0.4.2.tar.gz"