From 7d23fdd9891c572653595bf19f9efadb44e0b01d Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 13 Dec 2013 00:29:18 -0200 Subject: gstreamer0.10-bad-libre-0.10.23-6: updating revision * Switch to gstreamer-sdk * Disable failing tests. One disabled by upstream in 1.0 also, one disabled by us: camerabin testsuite has never worked --- libre/gstreamer0.10-bad-libre/PKGBUILD | 43 +++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 16 deletions(-) (limited to 'libre/gstreamer0.10-bad-libre/PKGBUILD') diff --git a/libre/gstreamer0.10-bad-libre/PKGBUILD b/libre/gstreamer0.10-bad-libre/PKGBUILD index 593042e3e..6ac8d3190 100644 --- a/libre/gstreamer0.10-bad-libre/PKGBUILD +++ b/libre/gstreamer0.10-bad-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 197398 2013-10-25 12:22:00Z heftig $ +# $Id: PKGBUILD 201485 2013-12-12 18:55:24Z jgc $ # Maintainer: Jan de Groot # Maintainer (Parabola): fauno # Maintainer (Parabola): André Silva @@ -6,19 +6,31 @@ pkgbase=gstreamer0.10-bad-libre pkgname=('gstreamer0.10-bad-libre' 'gstreamer0.10-bad-libre-plugins') pkgver=0.10.23 -pkgrel=5 +pkgrel=6 arch=('i686' 'x86_64' 'mips64el') license=('LGPL' 'GPL') -makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.36' 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'neon' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'soundtouch' 'libvdpau' 'schroedinger' 'libass' 'libvpx' 'gsm' 'libgme' 'rtmpdump' 'libsndfile' 'librsvg' 'wildmidi' 'opus') +makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.36' 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'neon' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'soundtouch' 'libvdpau' 'schroedinger' 'libass' 'libvpx' 'gsm' 'libgme' 'rtmpdump' 'libsndfile' 'librsvg' 'wildmidi' 'opus' 'git' 'spandsp' 'celt') url="http://gstreamer.freedesktop.org/" -options=(!libtool !emptydirs) -source=(${url}/src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.xz) -md5sums=('e4822fa2cc933768e2998311a1565979') +options=(!emptydirs) +source=("git://anongit.freedesktop.org/gstreamer-sdk/gst-plugins-bad#commit=57569a4854a0f2d14ef19a8264a4ae9a7a1d1125" + disable-assrender-test.patch + disable-camerabin-test.patch) +sha256sums=('SKIP' + 'e66642affa6c0e69837d37615010e67e59ef3d672663303d46c1e2591e2ddfc6' + '01e780ddf1f8161a6115dded9dc5bf4bdd4d09a9eee00fa423b1330e90e76c68') + +prepare() { + cd gst-plugins-bad + sed -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' -i configure.ac + patch -Np1 -i ../disable-assrender-test.patch + patch -Np1 -i ../disable-camerabin-test.patch +} build() { - cd "${srcdir}/gst-plugins-bad-${pkgver}" + cd gst-plugins-bad + NOCONFIGURE=1 ./autogen.sh ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-static --enable-experimental \ + --disable-static --enable-experimental --disable-gtk-doc \ --with-package-name="GStreamer Bad Plugins (Parabola GNU/Linux-libre)" \ --with-package-origin="https://parabolagnulinux.org/" @@ -26,11 +38,10 @@ build() { sed -e 's/gst sys ext/gst/' -i Makefile } -# Disable for now: 2 tests fail, one of them is because of not having a camera during build. -#check() { -# cd "${srcdir}/gst-plugins-bad-${pkgver}" -# make check -#} +check() { + cd gst-plugins-bad + make check +} package_gstreamer0.10-bad-libre() { pkgdesc="GStreamer Multimedia Framework Bad Plugin libraries (gst-plugins-bad), without nonfree faac support" @@ -39,20 +50,20 @@ package_gstreamer0.10-bad-libre() { conflicts=('gstreamer0.10-bad') replaces=('gstreamer0.10-bad') - cd "${srcdir}/gst-plugins-bad-${pkgver}" + cd gst-plugins-bad make DESTDIR="${pkgdir}" install } package_gstreamer0.10-bad-libre-plugins() { pkgdesc="GStreamer Multimedia Framework Bad Plugins (gst-plugins-bad), without nonfree faac support" - depends=("gstreamer0.10-bad-libre=${pkgver}" 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'neon' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'libvdpau' 'soundtouch' 'libass' 'schroedinger' 'libvpx' 'gsm' 'rtmpdump' 'libgme' 'libsndfile' 'librsvg' 'wildmidi' 'opus') + depends=("gstreamer0.10-bad-libre=${pkgver}" 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'neon' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'libvdpau' 'soundtouch' 'libass' 'schroedinger' 'libvpx' 'gsm' 'rtmpdump' 'libgme' 'libsndfile' 'librsvg' 'wildmidi' 'opus' 'celt' 'spandsp') groups=('gstreamer0.10-plugins') install=gstreamer0.10-bad-plugins.install provides=("gstreamer0.10-bad-plugins=$pkgver") conflicts=('gstreamer0.10-bad-plugins') replaces=('gstreamer0.10-bad-plugins') - cd "${srcdir}/gst-plugins-bad-${pkgver}" + cd gst-plugins-bad make -C gst-libs DESTDIR="${pkgdir}" install make -C ext DESTDIR="${pkgdir}" install make -C sys DESTDIR="${pkgdir}" install -- cgit v1.2.3