1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="A library to delight your users with fancy features"
8 url="https://gitlab.gnome.org/GNOME/libdazzle"
12 makedepends=(git meson vala gobject-introspection gtk-doc)
13 checkdepends=(xorg-server-xvfb)
14 provides=(libdazzle-1.0.so)
15 _commit=03933375700e8c5463ae02a54c31dbc29c6f6804 # tags/3.44.0^0
16 source=("git+https://gitlab.gnome.org/GNOME/libdazzle.git#commit=$_commit")
21 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
25 arch-meson $pkgname build -D enable_gtk_doc=true
26 meson compile -C build
30 dbus-run-session xvfb-run -s '-nolisten local' \
31 meson test -C build --print-errorlogs
35 meson install -C build --destdir "$pkgdir"