Date: Wednesday, September 20, 2017 @ 21:34:29 Author: heftig Revision: 306023
3.26.0+1+g4e309671-1 Modified: totem/trunk/PKGBUILD ----------+ PKGBUILD | 40 +++++++++++++++------------------------- 1 file changed, 15 insertions(+), 25 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-09-20 21:17:14 UTC (rev 306022) +++ PKGBUILD 2017-09-20 21:34:29 UTC (rev 306023) @@ -3,7 +3,7 @@ # Contributor: Jan de Groot <j...@archlinux.org> pkgname=totem -pkgver=3.24.0 +pkgver=3.26.0+1+g4e309671 pkgrel=1 pkgdesc="Movie player for the GNOME desktop based on GStreamer" url="https://wiki.gnome.org/Apps/Videos" @@ -12,8 +12,8 @@ depends=(totem-plparser iso-codes libpeas clutter-gtk clutter-gst grilo gsettings-desktop-schemas dconf python-gobject python-xdg gnome-desktop gst-plugins-base gst-plugins-good gst-plugins-bad) -makedepends=(intltool libnautilus-extension lirc vala itstool docbook-xsl python-pylint - gobject-introspection git gnome-common appstream-glib gtk-doc) +makedepends=(libnautilus-extension lirc itstool docbook-xsl python-pylint + gobject-introspection git appstream-glib gtk-doc meson intltool) optdepends=('gst-plugins-ugly: Extra media codecs' 'gst-libav: Extra media codecs' 'lirc-utils: Infrared Remote Control plugin' @@ -20,10 +20,9 @@ 'grilo-plugins: Media discovery' 'python-dbus: MPRIS plugin') groups=(gnome) -options=('!emptydirs') conflicts=(totem-plugin) replaces=(totem-plugin) -_commit=dec87510f22daf87144eda36e1d97bfcabace1d1 # tags/V_3_24_0^0 +_commit=4e3096711ec28bd7983c858943498abf76a8a267 # master source=("git+https://git.gnome.org/browse/totem#commit=$_commit" "git+https://git.gnome.org/browse/libgd") sha256sums=('SKIP' @@ -35,34 +34,25 @@ } prepare() { + mkdir build cd $pkgname + sed -i '/--sgml-mode/d' docs/reference/meson.build + git submodule init - git config --local submodule.libgd.url "$srcdir/libgd" + git config --local submodule.subprojects/libgd.url "$srcdir/libgd" git submodule update - - NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --libexecdir=/usr/lib/totem \ - --localstatedir=/var \ - --disable-static \ - --enable-python \ - --enable-nautilus \ - --enable-gtk-doc - - # https://bugzilla.gnome.org/show_bug.cgi?id=655517 - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - - make + cd build + meson setup --prefix=/usr --buildtype=release ../$pkgname \ + --libexecdir=/usr/lib/$pkgname -Denable-gtk-doc=true -Denable-vala=no + ninja } package() { - cd $pkgname - make DESTDIR="$pkgdir" install - install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem/COPYING" + cd build + DESTDIR="$pkgdir" ninja install + install -Dm644 ../$pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }