[arch-commits] Commit in gst-libav/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Apr 25 22:41:06 UTC 2018


    Date: Wednesday, April 25, 2018 @ 22:41:05
  Author: heftig
Revision: 323012

archrelease: copy trunk to staging-x86_64

Added:
  gst-libav/repos/staging-x86_64/
  gst-libav/repos/staging-x86_64/PKGBUILD
    (from rev 323011, gst-libav/trunk/PKGBUILD)

----------+
 PKGBUILD |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

Copied: gst-libav/repos/staging-x86_64/PKGBUILD (from rev 323011, gst-libav/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-04-25 22:41:05 UTC (rev 323012)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gst-libav
+pkgver=1.14.0
+pkgrel=2
+pkgdesc="GStreamer 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)
+provides=("gst-ffmpeg=$pkgver-$pkgrel")
+_commit=1830c75cd28fc68bd26f9530db18c2da474a4aa2  # tags/1.14.0^0
+source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-libav#commit=$_commit"
+        "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common"
+        "git+https://git.videolan.org/git/ffmpeg" "git://git.libav.org/gas-preprocessor")
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP'
+            'SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+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
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list