summaryrefslogtreecommitdiff
path: root/libre/gstreamer0.10-bad-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/gstreamer0.10-bad-libre/PKGBUILD')
-rw-r--r--libre/gstreamer0.10-bad-libre/PKGBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/libre/gstreamer0.10-bad-libre/PKGBUILD b/libre/gstreamer0.10-bad-libre/PKGBUILD
new file mode 100644
index 000000000..a1742010e
--- /dev/null
+++ b/libre/gstreamer0.10-bad-libre/PKGBUILD
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Maintainer (Parabola): fauno <fauno@kiwwwi.com.ar>
+
+pkgbase=gstreamer0.10-bad-libre
+pkgname=('gstreamer0.10-bad-libre' 'gstreamer0.10-bad-libre-plugins')
+pkgver=0.10.20
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('LGPL' 'GPL')
+makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.30' 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'exempi' 'jack' 'neon' 'libexif' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'soundtouch' 'libvdpau' 'schroedinger' 'libass' 'libvpx' 'gsm' 'libgme' 'rtmpdump')
+url="http://gstreamer.freedesktop.org/"
+options=(!libtool !emptydirs)
+source=(${url}/src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.bz2)
+md5sums=('7c84766f6d24f41ba90c3f6141012ab8')
+
+build() {
+ cd "${srcdir}/gst-plugins-bad-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --enable-experimental \
+ --with-package-name="GStreamer Bad Plugins (Parabola)" \
+ --with-package-origin="http://parabolagnulinux.org/"
+
+ make || return 1
+ sed -e 's/gst sys ext/gst/' -i Makefile
+}
+
+package_gstreamer0.10-bad-libre() {
+ pkgdesc="GStreamer Multimedia Framework Bad Plugin libraries (gst-plugins-bad)"
+ depends=('gstreamer0.10-base>=0.10.29')
+ groups=('gstreamer0.10-plugins')
+ provides=('gstreamer0.10-bad')
+ conflicts=('gstreamer0.10-bad')
+ replaces=('gstreamer0.10-bad')
+
+ cd "${srcdir}/gst-plugins-bad-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+
+package_gstreamer0.10-bad-libre-plugins() {
+ pkgdesc="GStreamer Multimedia Framework Bad Plugins (gst-plugins-bad)"
+ depends=("gstreamer0.10-bad=${pkgver}" 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'exempi' 'jack' 'neon' 'libexif' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'libvdpau' 'soundtouch' 'libass' 'schroedinger' 'libvpx' 'gsm' 'rtmpdump' 'libgme')
+ groups=('gstreamer0.10-plugins')
+ install=gstreamer0.10-bad-plugins.install
+ provides=('gstreamer0.10-bad-plugins')
+ conflicts=('gstreamer0.10-bad-plugins')
+ replaces=('gstreamer0.10-bad-plugins')
+
+ cd "${srcdir}/gst-plugins-bad-${pkgver}"
+ make -C gst-libs DESTDIR="${pkgdir}" install
+ make -C ext DESTDIR="${pkgdir}" install
+ make -C sys DESTDIR="${pkgdir}" install
+ make -C gst-libs DESTDIR="${pkgdir}" uninstall
+}