1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Patrick Griffis <tingping@tingping.se>
5 pkgname=xdg-desktop-portal
8 pkgdesc="Desktop integration portals for sandboxed apps"
9 url="https://github.com/flatpak/xdg-desktop-portal"
12 depends=(glib2 pipewire fuse3 geoclue2 rtkit systemd)
13 makedepends=(python xmlto docbook-xsl git flatpak libportal)
15 _commit=bd1eab9361832f320a83ea3b2a98c8894376fc22 # tags/1.14.6
16 source=("git+https://github.com/flatpak/xdg-desktop-portal#commit=$_commit")
21 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
26 NOCONFIGURE=1 ./autogen.sh
31 ./configure --prefix=/usr --libexecdir=/usr/lib
36 depends+=(xdg-desktop-portal-impl)
39 make DESTDIR="$pkgdir" install