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"
14 'xdg-desktop-portal-gtk>=1.10.0-2'
21 optdepends=('evince: Print previews')
22 provides=(xdg-desktop-portal-impl)
23 conflicts=('xdg-desktop-portal-gtk<1.10.0-2')
24 replaces=('xdg-desktop-portal-gtk<1.10.0-2')
26 _commit=89203bf3522556965fc225782d1a635afdac611e # tags/44.1^0
27 source=("git+https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome.git#commit=$_commit")
32 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
40 arch-meson $pkgname build
41 meson compile -C build
45 meson test -C build --print-errorlogs
49 meson install -C build --destdir "$pkgdir"
52 # vim:set sw=2 sts=-1 et: