diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-03-23 01:35:11 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-03-23 01:35:11 -0300 |
commit | 144e4cdbad853ca3a1e10a32f29f01190dc4ac5e (patch) | |
tree | cd326ebceface1140e7d1d2bf9cb5c28f0dc7657 /libre/gst-plugins-base/PKGBUILD | |
parent | d49176767584203dfdf6ff16296787bbcae3239d (diff) | |
download | abslibre-144e4cdbad853ca3a1e10a32f29f01190dc4ac5e.tar.gz abslibre-144e4cdbad853ca3a1e10a32f29f01190dc4ac5e.tar.bz2 abslibre-144e4cdbad853ca3a1e10a32f29f01190dc4ac5e.zip |
gst and gstreamer packages: rebranding and updating versions
Diffstat (limited to 'libre/gst-plugins-base/PKGBUILD')
-rw-r--r-- | libre/gst-plugins-base/PKGBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/libre/gst-plugins-base/PKGBUILD b/libre/gst-plugins-base/PKGBUILD new file mode 100644 index 000000000..55ac8e72c --- /dev/null +++ b/libre/gst-plugins-base/PKGBUILD @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgbase=gst-plugins-base +pkgname=('gst-plugins-base-libs' 'gst-plugins-base') +pkgver=1.0.6 +pkgrel=1 +pkgdesc="GStreamer Multimedia Framework Base Plugins, Parabola rebranded" +arch=('i686' 'x86_64' 'mips64el') +license=('LGPL') +makedepends=('pkgconfig' 'gstreamer' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection') +options=(!libtool !emptydirs) +url="http://gstreamer.freedesktop.org/" +source=(${url}/src/$pkgbase/$pkgbase-${pkgver}.tar.xz) +sha256sums=('85e5f99af690f720ccde5ea7e793269d35883a3ead80ca9985fa44e18bb1a4a5') + +build() { + cd $pkgbase-$pkgver + sed -i -e '/AC_PATH_XTRA/d' configure.ac + aclocal -I m4 -I common/m4 + autoconf + automake --add-missing + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --enable-experimental \ + --with-package-name="GStreamer Base Plugins (Parabola GNU/Linux-libre)" \ + --with-package-origin="https://parabolagnulinux.org/" + make + sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile +} + +check() { + cd $pkgbase-$pkgver + # Testsuite fails on one test. Some refcount leak + make check +} + +package_gst-plugins-base-libs() { + pkgdesc="GStreamer Multimedia Framework Base Plugin libraries, Parabola rebranded" + depends=('gstreamer' 'orc' 'libxv') + + cd $pkgbase-$pkgver + make DESTDIR="${pkgdir}" install +} + +package_gst-plugins-base() { + depends=("gst-plugins-base-libs=$pkgver" 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango') + + cd $pkgbase-$pkgver + make -C gst-libs DESTDIR="${pkgdir}" install + make -C ext DESTDIR="${pkgdir}" install + make -C gst-libs DESTDIR="${pkgdir}" uninstall +} |