aboutsummaryrefslogblamecommitdiffstats
path: root/testing/xdg-desktop-portal-wlr/APKBUILD
blob: d0ed35dbe53a57e0abee27b0e106f6561c5f038e (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                

            

                                                        
                                                                                      
             

                                                        
                               

                                                                                                                            


                          
                                                  


           
                                                             


                                        
                                                                                                                                                                                  
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=xdg-desktop-portal-wlr
pkgver=0.2.0
pkgrel=0
pkgdesc="wlroots implementation of xdg-desktop-portal"
url="https://github.com/emersion/xdg-desktop-portal-wlr"
arch="all !mips !mips64 !s390x" # xdg-desktop-portal->flatpak->polkit, s390x: pipewire
license="MIT"
depends="xdg-desktop-portal"
makedepends="wlroots-dev pipewire-dev elogind-dev meson"
options="!check" # No check yet
subpackages="$pkgname-dbg"
source="https://github.com/emersion/xdg-desktop-portal-wlr/releases/download/v$pkgver/xdg-desktop-portal-wlr-$pkgver.tar.gz"

build() {
	abuild-meson build
	meson compile ${JOBS:+-j ${JOBS}} -C build
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
	rm -rf "$pkgdir"/usr/lib/systemd
}

sha512sums="9b01919b380510389710c005901810ac6fa00299f2b35a37fa949aab361438ab08c30fc95b88e1805dcea7e97ebe2d19111693f82eee545864077347d2659ca9  xdg-desktop-portal-wlr-0.2.0.tar.gz"