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

Jan Steffens heftig at archlinux.org
Mon Apr 22 22:37:44 UTC 2019


    Date: Monday, April 22, 2019 @ 22:37:44
  Author: heftig
Revision: 351961

1.16.0-1

Modified:
  gstreamer-vaapi/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-22 22:32:50 UTC (rev 351960)
+++ PKGBUILD	2019-04-22 22:37:44 UTC (rev 351961)
@@ -1,7 +1,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=gstreamer-vaapi
-pkgver=1.14.4+1+gb219f609
+pkgver=1.16.0
 pkgrel=1
 pkgdesc="GStreamer Multimedia Framework VAAPI Plugin"
 url="https://gstreamer.freedesktop.org/"
@@ -8,8 +8,8 @@
 arch=(x86_64)
 license=(LGPL)
 depends=(gst-plugins-bad libva libxrandr)
-makedepends=(python gtk-doc autoconf-archive git gtk3)
-_commit=b219f6095f3014041896714dd88e7d90ee3d72dd  # 1.14
+makedepends=(python gtk-doc git gtk3 meson)
+_commit=2c3480796a6673c638f5b12c7bdf5c0f191120fd  # tags/1.16.0^0
 source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi.git#commit=$_commit"
         "gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git")
 sha256sums=('SKIP'
@@ -26,29 +26,17 @@
   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 \
-    --enable-gtk-doc \
-    --disable-static
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build
+  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