blob: 01718f0d730b5efa524acd3a152e1cd7709b6279 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=xdg-desktop-portal-wlr
pkgver=0.7.0
pkgrel=0
pkgdesc="wlroots implementation of xdg-desktop-portal"
url="https://github.com/emersion/xdg-desktop-portal-wlr"
# riscv64: blocked by xdg-desktop-portal
# s390x: blocked by pipewire, xdg-desktop-portal
arch="all !riscv64 !s390x"
license="MIT"
depends="xdg-desktop-portal"
makedepends="
basu-dev
inih-dev
mesa-dev
meson
pipewire-dev
scdoc
wayland-dev
wayland-protocols-dev
"
options="!check" # no tests provided
subpackages="$pkgname-doc $pkgname-dbg"
source="https://github.com/emersion/xdg-desktop-portal-wlr/releases/download/v$pkgver/xdg-desktop-portal-wlr-$pkgver.tar.gz
config
"
# useful since people pulling in xdg-desktop-portal will want this backend
install_if="xdg-desktop-portal wlroots"
build() {
abuild-meson \
-Db_lto=true \
-Dsd-bus-provider=basu \
. build
meson compile ${JOBS:+-j ${JOBS}} -C build
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C build
rm -rf "$pkgdir"/usr/lib/systemd
install -Dm644 "$srcdir"/config "$pkgdir"/etc/xdg/xdg-desktop-portal-wlr/config
}
sha512sums="
7efb3b66130f2f8ef8538ced3a9785bbae8382bbb9171fb4b6496567e39a69cd8b6e687f1b18b5eb90be175bf7c0737c3a51daa3eef784f88c4ee0bf70ad6d87 xdg-desktop-portal-wlr-0.7.0.tar.gz
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e config
"
|