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"
29 _commit=88af6c8ca4106fcf70925355350a669848e9fd5a # tags/1.16.0^0
30 source=("git+https://github.com/flatpak/xdg-desktop-portal#commit=$_commit")
35 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
41 # https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/issues/74
42 # https://github.com/flatpak/xdg-desktop-portal/pull/985
43 git cherry-pick -n 2a219279997c2124c8a639b0d009c9946ec97b40
47 arch-meson $pkgname build
48 meson compile -C build
52 meson test -C build --print-errorlogs
56 depends+=(xdg-desktop-portal-impl)
58 meson install -C build --destdir "$pkgdir"
61 # vim:set sw=2 sts=-1 et: