blob: 82e45da08574030b6745dc7c25fbb2b1216d3154 (
plain)
1 # Description: Desktop integration portals for sandboxed apps
2 # URL: https://github.com/flatpak/xdg-desktop-portal
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: flatpak fuse3 libportal
5 # Optional: geoclue pipewire
6
7 name=xdg-desktop-portal
8 version=1.16.0
9 release=1
10 source=(https://github.com/flatpak/xdg-desktop-portal/archive/$version/$name-$version.tar.gz)
11
12 build() {
13 meson setup $name-$version build \
14 --prefix=/usr \
15 --libexecdir=lib/$name \
16 --buildtype=plain \
17 --wrap-mode nodownload \
18 -D b_lto=true \
19 -D b_pie=true \
20 -D systemd=disabled \
21 -D docbook-docs=disabled
22
23 meson compile -C build
24 DESTDIR=$PKG meson install -C build
25
26 rm -r $PKG/usr/{lib/systemd,share/locale}
27 }
|