1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Movie player for the GNOME desktop based on GStreamer"
8 url="https://wiki.gnome.org/Apps/Videos"
11 depends=(totem-plparser iso-codes libpeas clutter-gtk clutter-gst grilo
12 gsettings-desktop-schemas dconf python-gobject python-xdg gnome-desktop
13 gst-plugins-base gst-plugins-good gst-plugins-bad)
14 makedepends=(libnautilus-extension itstool docbook-xsl python-pylint
15 gobject-introspection git appstream-glib gtk-doc meson intltool)
16 optdepends=('gst-plugins-ugly: Extra media codecs'
17 'gst-libav: Extra media codecs'
18 'grilo-plugins: Media discovery'
19 'python-dbus: MPRIS plugin')
21 conflicts=(totem-plugin)
22 replaces=(totem-plugin)
23 _commit=5bcc171feaf6127dcd2c09289063adef662d33b2 # tags/V_3_38_2^0
24 source=("git+https://gitlab.gnome.org/GNOME/totem.git#commit=$_commit"
25 "git+https://gitlab.gnome.org/GNOME/libgd.git")
31 git describe --tags | sed 's/^V_//;s/-fixed//;s/_/./g;s/-/+/g'
38 git submodule set-url subprojects/libgd "$srcdir/libgd"
43 arch-meson $pkgname build -D enable-gtk-doc=true
44 meson compile -C build
48 meson install -C build --destdir "$pkgdir"
49 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING