1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Small library for playing system sounds"
8 url="https://wiki.gnome.org/Projects/GSound"
11 depends=(glib2 libcanberra)
12 makedepends=(gobject-introspection vala git gtk-doc meson)
13 _commit=95d36d60cf53e0e7c5d5325e0f1f4fc765a611ae # tags/1.0.3^0
14 source=("git+https://gitlab.gnome.org/GNOME/gsound.git#commit=$_commit")
19 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
27 arch-meson gsound build -D gtk_doc=true
28 meson compile -C build
32 meson test -C build --print-errorlogs
36 depends+=(libg{lib,object,io}-2.0.so libcanberra.so)
37 provides+=(libgsound.so)
39 meson install -C build --destdir "$pkgdir"