contrib/xdg-desktop-portal/Pkgfile

28 lines
733 B
Plaintext
Raw Normal View History

# Description: Desktop integration portals for sandboxed apps
# URL: https://github.com/flatpak/xdg-desktop-portal
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: flatpak fuse3 libportal
# Optional: geoclue pipewire
name=xdg-desktop-portal
2022-12-15 10:45:50 +01:00
version=1.16.0
release=1
2022-03-19 13:31:24 +01:00
source=(https://github.com/flatpak/xdg-desktop-portal/archive/$version/$name-$version.tar.gz)
build() {
2022-08-14 10:50:58 +02:00
meson setup $name-$version build \
--prefix=/usr \
--libexecdir=lib/$name \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D systemd=disabled \
-D docbook-docs=disabled
2022-08-14 10:50:58 +02:00
meson compile -C build
DESTDIR=$PKG meson install -C build
2022-03-18 18:14:53 +01:00
2022-08-14 10:50:58 +02:00
rm -r $PKG/usr/{lib/systemd,share/locale}
}