1 # Maintainer: Jan de Groot <jgc@archlinux.org>
6 pkgdesc="Small library for playing system sounds"
7 url="https://wiki.gnome.org/Projects/GSound"
10 depends=(glib2 libcanberra)
11 makedepends=(gobject-introspection vala git gtk-doc meson)
12 _commit=95d36d60cf53e0e7c5d5325e0f1f4fc765a611ae # tags/1.0.3^0
13 source=("git+https://gitlab.gnome.org/GNOME/gsound.git#commit=$_commit")
18 git describe --tags | sed 's/-/+/g'
26 arch-meson $pkgname build -D gtk_doc=true
27 meson compile -C build
31 meson test -C build --print-errorlogs
35 depends+=(libg{lib,object,io}-2.0.so libcanberra.so)
36 provides+=(libgsound.so)
38 meson install -C build --destdir "$pkgdir"