[arch-commits] Commit in gstreamer/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Apr 22 20:21:45 UTC 2019


    Date: Monday, April 22, 2019 @ 20:21:44
  Author: heftig
Revision: 351938

1.16.0-1

Modified:
  gstreamer/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++------------------------
 1 file changed, 14 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-22 20:04:17 UTC (rev 351937)
+++ PKGBUILD	2019-04-22 20:21:44 UTC (rev 351938)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gstreamer
-pkgver=1.14.4+11+g39de78c99
+pkgver=1.16.0
 pkgrel=1
 pkgdesc="GStreamer open-source multimedia framework core library"
 url="https://gstreamer.freedesktop.org/"
@@ -9,9 +9,9 @@
 arch=(x86_64)
 license=(LGPL)
 depends=(libxml2 glib2 libunwind libcap libelf)
-makedepends=(gtk-doc gobject-introspection autoconf-archive git valgrind bash-completion)
+makedepends=(gtk-doc gobject-introspection git valgrind bash-completion meson)
 checkdepends=(gmp gsl gtk3)
-_commit=39de78c996595960654766c4604f91521aa1dac9  # 1.14
+_commit=89c221a6972513f629c969f5485f37e77ccfa6e1  # tags/1.16.0^0
 install=gstreamer.install
 source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#commit=$_commit"
         "gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git")
@@ -26,37 +26,27 @@
 prepare() {
   cd $pkgname
 
-  # Fix tests with glib 2.60
-  git cherry-pick -n 4a7739f4b6442814696bbd0706ab9a1ce1462d80
-
   git submodule init
   git config --local submodule.common.url "$srcdir/gst-common"
   git submodule update
-
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var \
-    --libexecdir=/usr/lib \
-    --with-package-name="GStreamer (Arch Linux)" \
-    --with-package-origin="https://www.archlinux.org/" \
-    --enable-gtk-doc \
-    --disable-static
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build \
+    -D ptp-helper-permissions=capabilities \
+    -D dbghelp=disabled \
+    -D gobject-cast-checks=disabled \
+    -D glib-asserts=disabled \
+    -D glib-checks=disabled \
+    -D package-name="GStreamer (Arch Linux)" \
+    -D package-origin="https://www.archlinux.org/"
+  ninja -C build
 }
 
 check() {
-  cd $pkgname
-  make check
+  meson test -C build --print-errorlogs
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }



More information about the arch-commits mailing list