28 lines
733 B
Plaintext
28 lines
733 B
Plaintext
# Description: Desktop integration portals for sandboxed apps
|
|
# URL: https://flatpak.github.io/xdg-desktop-portal/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: flatpak fuse3 libportal pipewire
|
|
# Optional: geoclue
|
|
|
|
name=xdg-desktop-portal
|
|
version=1.18.2
|
|
release=1
|
|
source=(https://github.com/flatpak/xdg-desktop-portal/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
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
|
|
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/{lib/systemd,share/locale}
|
|
}
|