1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=xdg-desktop-portal-gnome
6 pkgdesc="A backend implementation for xdg-desktop-portal for the GNOME desktop environment"
7 url="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
10 depends=('xdg-desktop-portal-gtk>=1.10.0-2' libadwaita gnome-keyring
12 makedepends=(xdg-desktop-portal meson git)
13 optdepends=('evince: Print previews')
14 provides=(xdg-desktop-portal-impl)
15 conflicts=('xdg-desktop-portal-gtk<1.10.0-2')
16 replaces=('xdg-desktop-portal-gtk<1.10.0-2')
18 _commit=725aa7423dd8eed98bcd541967d5655620fdb9e7 # tags/42.3^0
19 source=("git+https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome.git#commit=$_commit")
24 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
32 arch-meson $pkgname build
33 meson compile -C build
37 meson test -C build --print-errorlogs
41 meson install -C build --destdir "$pkgdir"