Date: Saturday, June 24, 2017 @ 07:15:31 Author: lcarlier Revision: 240743
upgpkg: lib32-gstreamer 1.12.1-1 upstream update 1.12.1 Modified: lib32-gstreamer/trunk/PKGBUILD ----------+ PKGBUILD | 43 +++++++++++++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-24 07:10:59 UTC (rev 240742) +++ PKGBUILD 2017-06-24 07:15:31 UTC (rev 240743) @@ -3,19 +3,38 @@ # Contributor: Chris Kitching <[email protected]> pkgname=lib32-gstreamer -pkgver=1.8.3 +_pkgbasename=gstreamer +pkgver=1.12.1 pkgrel=1 -pkgdesc="GStreamer Multimedia Framework (32-bit)" -arch=('x86_64') -license=('LGPL') -url="http://gstreamer.freedesktop.org/" -depends=('lib32-libxml2' 'lib32-glib2' 'gstreamer') -makedepends=('intltool' 'pkgconfig' 'gtk-doc' 'gobject-introspection') -source=(${url}/src/gstreamer/gstreamer-${pkgver}.tar.xz) -sha256sums=('66b37762d4fdcd63bce5a2bec57e055f92420e95037361609900278c0db7c53f') +pkgdesc="GStreamer open-source multimedia framework core library (32-bit)" +url="https://gstreamer.freedesktop.org/" +arch=(x86_64) +license=(LGPL) +depends=(lib32-libxml2 lib32-glib2 lib32-libunwind gstreamer) +makedepends=(intltool pkgconfig gtk-doc gobject-introspection autoconf-archive git) +_commit=ab3f333dd036a9aea12c53b74e5b3b03b667c98a # tags/1.12.1^0 +source=("git+https://anongit.freedesktop.org/git/gstreamer/gstreamer#commit=$_commit" + "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common") +sha256sums=('SKIP' + 'SKIP') +pkgver() { + cd $_pkgbasename + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $_pkgbasename + + git submodule init + git config --local submodule.common.url "$srcdir/gst-common" + git submodule update + + NOCONFIGURE=1 ./autogen.sh +} + build() { - cd "${srcdir}/gstreamer-${pkgver}" + cd $_pkgbasename export CC='gcc -m32' export CXX='g++ -m32' @@ -34,10 +53,10 @@ --with-package-name="GStreamer (Arch Linux)" \ --with-package-origin="http://www.archlinux.org/" \ --disable-static\ - --disable-docbook\ --disable-gtk-doc-html\ --disable-gtk-doc-pdf\ --disable-gtk-doc\ + --disable-valgrind\ --disable-benchmarks # https://bugzilla.gnome.org/show_bug.cgi?id=655517 @@ -47,7 +66,7 @@ } package() { - cd "${srcdir}/gstreamer-${pkgver}" + cd $_pkgbasename make DESTDIR="${pkgdir}" install rm -R "${pkgdir}"/usr/{share,include}
