summaryrefslogtreecommitdiff
path: root/gnome-unstable/gst-plugins-base/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-23 01:12:09 -0700
committerroot <root@rshg054.dnsready.net>2012-09-23 01:12:09 -0700
commita7f8166c8968d3414378051d28dcfcc3e377837b (patch)
tree1b1b5c4383fe5d1f8c98c8c417fd588e67877e13 /gnome-unstable/gst-plugins-base/PKGBUILD
parent0297e16d6d46f426939811847e72539d15bbf12d (diff)
Sun Sep 23 01:11:08 PDT 2012
Diffstat (limited to 'gnome-unstable/gst-plugins-base/PKGBUILD')
-rw-r--r--gnome-unstable/gst-plugins-base/PKGBUILD51
1 files changed, 51 insertions, 0 deletions
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 <jgc@archlinux.org>
+
+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
+}