Date: Thursday, May 4, 2017 @ 21:05:29
  Author: heftig
Revision: 295291

archrelease: copy trunk to staging-i686, staging-x86_64

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

-------------------------+
 staging-i686/PKGBUILD   |   62 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   62 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 124 insertions(+)

Copied: gst-libav/repos/staging-i686/PKGBUILD (from rev 295290, 
gst-libav/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2017-05-04 21:05:29 UTC (rev 295291)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=gst-libav
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="GStreamer Multimedia Framework ffmpeg Plugin"
+url="https://gstreamer.freedesktop.org/";
+arch=(i686 x86_64)
+license=(GPL)
+depends=(gst-plugins-base-libs bzip2 ffmpeg)
+makedepends=(python gtk-doc autoconf-archive git valgrind)
+provides=("gst-ffmpeg=$pkgver-$pkgrel")
+_commit=011dc043c8253c3c56caf2f34542e76bcb1f7dba  # tags/1.12.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";)
+sha256sums=('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 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="http://www.archlinux.org/"; \
+    --with-system-libav 
--with-libav-extra-configure="--enable-runtime-cpudetect" \
+    --enable-experimental --enable-gtk-doc --disable-static
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  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
+}

Copied: gst-libav/repos/staging-x86_64/PKGBUILD (from rev 295290, 
gst-libav/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2017-05-04 21:05:29 UTC (rev 295291)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=gst-libav
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="GStreamer Multimedia Framework ffmpeg Plugin"
+url="https://gstreamer.freedesktop.org/";
+arch=(i686 x86_64)
+license=(GPL)
+depends=(gst-plugins-base-libs bzip2 ffmpeg)
+makedepends=(python gtk-doc autoconf-archive git valgrind)
+provides=("gst-ffmpeg=$pkgver-$pkgrel")
+_commit=011dc043c8253c3c56caf2f34542e76bcb1f7dba  # tags/1.12.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";)
+sha256sums=('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 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="http://www.archlinux.org/"; \
+    --with-system-libav 
--with-libav-extra-configure="--enable-runtime-cpudetect" \
+    --enable-experimental --enable-gtk-doc --disable-static
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  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
+}

Reply via email to