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)
16 _commit=03933375700e8c5463ae02a54c31dbc29c6f6804 # tags/3.44.0^0
17 source=("git+https://gitlab.gnome.org/GNOME/libdazzle.git#commit=$_commit")
22 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
26 arch-meson $pkgname build -D enable_gtk_doc=true
27 meson compile -C build
31 dbus-run-session xvfb-run -s '-nolisten local' \
32 meson test -C build --print-errorlogs
36 meson install -C build --destdir "$pkgdir"