summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/gst-plugins-bad-libre/PKGBUILD83
1 files changed, 83 insertions, 0 deletions
diff --git a/libre/gst-plugins-bad-libre/PKGBUILD b/libre/gst-plugins-bad-libre/PKGBUILD
new file mode 100644
index 000000000..2e0658cfb
--- /dev/null
+++ b/libre/gst-plugins-bad-libre/PKGBUILD
@@ -0,0 +1,83 @@
+# $Id: PKGBUILD 153258 2012-03-12 16:05:19Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgbase=gst-plugins-bad
+pkgname=gst-plugins-bad-libre
+pkgver=1.0.2
+pkgrel=1
+pkgdesc='GStreamer Multimedia Framework Bad Plugins, without nonfree faac support'
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+license=(
+ LGPL
+)
+url="http://gstreamer.freedesktop.org/"
+depends=(
+ celt
+ chromaprint
+ curl
+ faad2
+ gst-plugins-base-libs
+ libdca
+ libdvdnav
+ libgme
+ libmms
+ libmodplug
+ mjpegtools
+ mpg123
+ opus
+ soundtouch
+ spandsp
+)
+makedepends=(
+ libdvdread
+ libexif
+ libmpeg2
+ libvdpau
+ schroedinger
+)
+provides=(
+ $pkgbase=$pkgver
+)
+conflicts=(
+ $pkgbase
+)
+replaces=(
+ $pkgbase
+)
+options=(
+ '!libtool'
+ '!emptydirs'
+)
+source=(
+ "$url/src/$pkgbase/$pkgbase-$pkgver.tar.xz"
+)
+sha256sums=(
+ 9e503305799a2b6eb9d0b77c59b8aa8bbe9e6eb815a0635bd013560c73996579
+)
+
+build() {
+ cd $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 Bad Plugins Libre (Parabola)' \
+ --with-package-origin='http://www.parabolagnulinux.org/' \
+ --with-gtk=3.0
+ make
+}
+
+check() {
+ cd $pkgbase-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgbase-$pkgver
+ make DESTDIR=$pkgdir install
+}