1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=totem-pl-parser
7 pkgdesc="Simple GObject-based library to parse and save a host of playlist formats"
8 url="https://gitlab.gnome.org/GNOME/totem-pl-parser"
11 depends=(glib2 libxml2 libarchive libgcrypt)
12 makedepends=(gobject-introspection git gtk-doc meson)
14 provides=("totem-plparser=$pkgver-$pkgrel" libtotem-plparser{,-mini}.so)
15 conflicts=(totem-plparser)
16 replaces=("totem-plparser<=3.26.3-1")
18 _commit=1431f520fb82f98873c3870f2bbe8eba4d0e670a # tags/V_3_26_6^0
19 source=("git+https://gitlab.gnome.org/GNOME/totem-pl-parser.git#commit=$_commit")
24 git describe --tags | sed 's/^V_//;s/_/./g;s/-/+/g'
32 arch-meson $pkgname build -D enable-gtk-doc=true
33 meson compile -C build
37 meson test -C build --print-errorlogs
41 meson install -C build --destdir "$pkgdir"
44 # vim:set sw=2 sts=-1 et: