1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
8 pkgdesc="Music player and management application"
9 url="https://wiki.gnome.org/Apps/Music"
12 depends=(grilo grilo-plugins tracker3-miners libdmapsharing libmediaart gtk4
13 gvfs python-gobject python-cairo gst-plugins-base python-requests
15 makedepends=(gobject-introspection git meson yelp-tools appstream-glib)
16 optdepends=('gst-plugins-good: Extra media codecs'
17 'gst-plugins-ugly: Extra media codecs'
18 'gst-plugins-bad: Extra media codecs'
19 'gst-libav: Extra media codecs')
21 _commit=783d6877d72960ff9a4bbb72ba4df1c921ff1a1e # tags/42.1^0
22 source=("git+https://gitlab.gnome.org/GNOME/gnome-music.git#commit=$_commit")
27 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
35 arch-meson $pkgname build
36 meson compile -C build
40 meson test -C build --print-errorlogs
44 meson install -C build --destdir "$pkgdir"
46 python -m compileall -d /usr/lib "$pkgdir/usr/lib"
47 python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"