1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
7 pkgdesc="A collection of plugins for the Grilo framework"
8 url="https://gitlab.gnome.org/GNOME/grilo-plugins"
11 depends=(grilo lua libmediaart libgdata tracker3 gom libdmapsharing chromaprint
12 gst-plugins-bad gmime3)
13 makedepends=(git meson gperf yelp-tools)
14 checkdepends=(gst-plugins-good gst-plugins-base python-gobject tracker3-miners)
15 optdepends=('dleyna-server: DLNA plugin'
16 'tracker3-miners: Tracker plugin')
18 _commit=9d2afa38e13ff0ea5ddbc32a32900a3f2f496dc5 # tags/grilo-plugins-0.3.14^0
19 source=("git+https://gitlab.gnome.org/GNOME/grilo-plugins.git#commit=$_commit"
20 0001-grl-lua-factory-Remove-a-bad-pop.patch)
22 '0ee8e2e0810f7e6b5b2c858a98b432e98c4a43e5d1134afb31a17be7f42a3612')
26 git describe --tags | sed 's/^grilo-plugins-//;s/-/+/g'
32 # Fix bug exposed by Lua 5.4.3
33 git apply -3 ../0001-grl-lua-factory-Remove-a-bad-pop.patch
37 arch-meson $pkgname build -D enable-tracker=no
38 meson compile -C build
42 dbus-run-session meson test -C build --print-errorlogs
46 depends+=(libgr{ilo,lnet,lpls}-0.3.so)
47 meson install -C build --destdir "$pkgdir"