From a7f8166c8968d3414378051d28dcfcc3e377837b Mon Sep 17 00:00:00 2001 From: root Date: Sun, 23 Sep 2012 01:12:09 -0700 Subject: Sun Sep 23 01:11:08 PDT 2012 --- gnome-unstable/gst-plugins-base/PKGBUILD | 51 ++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 gnome-unstable/gst-plugins-base/PKGBUILD (limited to 'gnome-unstable/gst-plugins-base/PKGBUILD') diff --git a/gnome-unstable/gst-plugins-base/PKGBUILD b/gnome-unstable/gst-plugins-base/PKGBUILD new file mode 100644 index 000000000..375f61caa --- /dev/null +++ b/gnome-unstable/gst-plugins-base/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 153256 2012-03-12 15:48:30Z jgc $ +# Maintainer: Jan de Groot + +pkgbase=gst-plugins-base +pkgname=('gst-plugins-base-libs' 'gst-plugins-base') +pkgver=0.11.99 +pkgrel=1 +arch=('i686' 'x86_64') +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=('b0317b1e33a22fe4daf911c4996c194690fc207e5044f38de570b1cd202cab7e') + +build() { + cd "${srcdir}/$pkgbase-${pkgver}" + sed -i '/AC_PATH_XTRA/d' configure.ac + autoreconf + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --enable-experimental \ + --with-package-name="GStreamer Base Plugins (Archlinux)" \ + --with-package-origin="http://www.archlinux.org/" + + make + sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile +} + +check() { + cd "${srcdir}/gst-plugins-base-${pkgver}" + # Testsuite fails on one test. Some refcount leak + #make check +} + +package_gst-plugins-base-libs() { + pkgdesc="GStreamer Multimedia Framework Base plugin libraries" + depends=('gstreamer' 'orc' 'libxv') + + cd "${srcdir}/$pkgbase-${pkgver}" + make DESTDIR="${pkgdir}" install +} + +package_gst-plugins-base() { + pkgdesc="GStreamer Multimedia Framework Base Plugins (gst-plugins-base)" + depends=("gst-plugins-base-libs=$pkgver" 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango') + + cd "${srcdir}/$pkgbase-${pkgver}" + make -C gst-libs DESTDIR="${pkgdir}" install + make -C ext DESTDIR="${pkgdir}" install + make -C gst-libs DESTDIR="${pkgdir}" uninstall +} -- cgit v1.2.3-54-g00ecf