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

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


    Date: Monday, April 22, 2019 @ 21:40:43
  Author: heftig
Revision: 351953

1.16.0-1

Modified:
  gst-libav/trunk/PKGBUILD

----------+
 PKGBUILD |   53 +++++++++++++----------------------------------------
 1 file changed, 13 insertions(+), 40 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-22 21:36:57 UTC (rev 351952)
+++ PKGBUILD	2019-04-22 21:40:43 UTC (rev 351953)
@@ -2,24 +2,18 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gst-libav
-pkgver=1.14.4+2+gc324028
+pkgver=1.16.0
 pkgrel=1
-pkgdesc="GStreamer Multimedia Framework ffmpeg Plugin"
+pkgdesc="GStreamer open-source multimedia framework FFmpeg plugin"
 url="https://gstreamer.freedesktop.org/"
 arch=(x86_64)
 license=(GPL)
-depends=(gst-plugins-base-libs bzip2)
-makedepends=(python gtk-doc autoconf-archive git yasm)
+depends=(gst-plugins-base-libs bzip2 ffmpeg)
+makedepends=(python gtk-doc git yasm meson)
 provides=("gst-ffmpeg=$pkgver-$pkgrel")
-_commit=c3240282afdcfc37e1873830f06a9bca79a5cec6  # 1.14
-source=("git+https://gitlab.freedesktop.org/gstreamer/gst-libav.git#commit=$_commit"
-        "gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git"
-        "git+https://git.ffmpeg.org/ffmpeg.git"
-        "git://git.libav.org/gas-preprocessor.git")
-sha256sums=('SKIP'
-            'SKIP'
-            'SKIP'
-            'SKIP')
+_commit=d6c61e69b36eaa144a5ef8fdac73a8162f072509  # tags/1.16.0^0
+source=("git+https://gitlab.freedesktop.org/gstreamer/gst-libav.git#commit=$_commit")
+sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
@@ -28,40 +22,19 @@
 
 prepare() {
   cd $pkgname
-
-  git submodule init
-  git config --local submodule.common.url "$srcdir/gst-common"
-  git config --local submodule.gst-libs/ext/libav.url "$srcdir/ffmpeg"
-  git config --local submodule.gst-libs/ext/gas-preprocessor.url "$srcdir/gas-preprocessor"
-  git submodule update
-
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var \
-    --libexecdir=/usr/lib \
-    --with-package-name="GStreamer ffmpeg Plugin (Arch Linux)" \
-    --with-package-origin="https://www.archlinux.org/" \
-    --without-system-libav \
-    --with-libav-extra-configure="--enable-runtime-cpudetect" \
-    --enable-experimental \
-    --enable-gtk-doc \
-    --disable-static
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  arch-meson $pkgname build \
+    -D package-name="GStreamer FFmpeg Plugin (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