2021-09-19 19:02:44 +02:00
|
|
|
# Description: Desktop integration portals for sandboxed apps
|
|
|
|
# URL: https://github.com/flatpak/xdg-desktop-portal
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2022-08-03 22:25:45 +02:00
|
|
|
# Depends on: fuse3 json-glib libportal
|
2022-03-18 18:14:53 +01:00
|
|
|
# Optional: geoclue pipewire
|
2021-09-19 19:02:44 +02:00
|
|
|
|
|
|
|
name=xdg-desktop-portal
|
2022-08-03 22:25:45 +02:00
|
|
|
version=1.14.6
|
2021-09-19 19:02:44 +02:00
|
|
|
release=1
|
2022-03-19 13:31:24 +01:00
|
|
|
source=(https://github.com/flatpak/xdg-desktop-portal/archive/$version/$name-$version.tar.gz)
|
2021-09-19 19:02:44 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2022-03-18 18:14:53 +01:00
|
|
|
prt-get isinst pipewire && PKGMK_XDGDP+=' --enable-pipewire' || PKGMK_XDGDP+=' --disable-pipewire'
|
|
|
|
prt-get isinst geoclue && PKGMK_XDGDP+=' --enable-geoclue' || PKGMK_XDGDP+=' --disable-geoclue'
|
|
|
|
|
2021-09-19 19:02:44 +02:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
./configure --prefix=/usr $PKGMK_XDGDP \
|
|
|
|
--libexecdir=/usr/lib \
|
2022-03-18 18:14:53 +01:00
|
|
|
--enable-libportal \
|
|
|
|
--without-systemd \
|
|
|
|
--disable-docbook-docs \
|
2021-09-19 19:02:44 +02:00
|
|
|
--disable-nls
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -fr $PKG/usr/{lib/systemd,share/doc}
|
|
|
|
}
|