Date: Sunday, October 9, 2016 @ 15:42:33 Author: heftig Revision: 277972
archrelease: copy trunk to testing-i686, testing-x86_64 Added: gst-libav/repos/testing-i686/ gst-libav/repos/testing-i686/PKGBUILD (from rev 277971, gst-libav/trunk/PKGBUILD) gst-libav/repos/testing-x86_64/ gst-libav/repos/testing-x86_64/PKGBUILD (from rev 277971, gst-libav/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 63 ++++++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 63 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 126 insertions(+) Copied: gst-libav/repos/testing-i686/PKGBUILD (from rev 277971, gst-libav/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-10-09 15:42:33 UTC (rev 277972) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=gst-libav +pkgver=1.9.90+2+g108b08c +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) +options=(!emptydirs) +provides=("gst-ffmpeg=$pkgver-$pkgrel") +_commit=108b08ccdaaba3a030c10e0465a261b49761f129 # master +source=("git://anongit.freedesktop.org/gstreamer/gst-libav#commit=$_commit" + "gst-common::git://anongit.freedesktop.org/gstreamer/common" + "git://source.ffmpeg.org/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/testing-x86_64/PKGBUILD (from rev 277971, gst-libav/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2016-10-09 15:42:33 UTC (rev 277972) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Contributor: Jan de Groot <j...@archlinux.org> + +pkgname=gst-libav +pkgver=1.9.90+2+g108b08c +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) +options=(!emptydirs) +provides=("gst-ffmpeg=$pkgver-$pkgrel") +_commit=108b08ccdaaba3a030c10e0465a261b49761f129 # master +source=("git://anongit.freedesktop.org/gstreamer/gst-libav#commit=$_commit" + "gst-common::git://anongit.freedesktop.org/gstreamer/common" + "git://source.ffmpeg.org/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 +}