1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Balló György <ballogyor+arch at gmail dot com>
8 pkgdesc="UPnP AV MediaServer and MediaRenderer"
9 url="https://wiki.gnome.org/Projects/Rygel"
12 depends=(gupnp gupnp-av gupnp-dlna libgee gtk3 libunistring tracker3
13 libmediaart gst-editing-services)
14 makedepends=(vala gobject-introspection git meson)
15 optdepends=('gst-plugins-base: Extra media codecs'
16 'gst-plugins-good: Extra media codecs'
17 'gst-plugins-bad: Extra media codecs'
18 'gst-plugins-ugly: Extra media codecs'
19 'gst-libav: Extra media codecs'
20 'tracker3-miners: Share indexed media files'
21 'tumbler: Thumbnailing service')
22 backup=(etc/rygel.conf)
24 _commit=4cc71529e53acaae16957d38a6565396a7ebf6b4 # tags/rygel-0.40.2^0
25 source=("git+https://gitlab.gnome.org/GNOME/rygel.git#commit=$_commit"
26 0001-tracker3-Don-t-create-connection-in-static-construct.patch
27 0002-tracker3-Correct-graph-name-for-video-items.patch)
29 '888f5e0c23a677521074523b262e19de6f859f8bf44d614429fb75d2f960c4c3'
30 '17ef15116014dda19f6887b8d84b55876f998ed9f660f381f2636a92b63ada46')
34 git describe --tags | sed 's/^RYGEL//;s/^rygel-//;s/_/./g;s/-/+/g'
39 git cherry-pick -n d0410cccf6af55e16d3ba9400ad5e9f703313739
40 git apply -3 ../0001-tracker3-Don-t-create-connection-in-static-construct.patch
41 git apply -3 ../0002-tracker3-Correct-graph-name-for-video-items.patch
45 arch-meson $pkgname build
46 meson compile -C build
50 meson test -C build --print-errorlogs
54 meson install -C build --destdir "$pkgdir"