summaryrefslogtreecommitdiff
path: root/gnome-unstable/gst-plugins-bad/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-unstable/gst-plugins-bad/PKGBUILD')
-rw-r--r--gnome-unstable/gst-plugins-bad/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnome-unstable/gst-plugins-bad/PKGBUILD b/gnome-unstable/gst-plugins-bad/PKGBUILD
new file mode 100644
index 000000000..fe92ff01c
--- /dev/null
+++ b/gnome-unstable/gst-plugins-bad/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 153258 2012-03-12 16:05:19Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gst-plugins-bad
+pkgver=1.0.0
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://gstreamer.freedesktop.org/"
+depends=('mjpegtools' 'gst-plugins-base-libs' 'curl' 'chromaprint' 'libmms' 'faad2' 'mpg123' 'faac' 'celt' 'libdca' 'soundtouch' 'spandsp' 'libdvdnav' 'libmodplug' 'libgme' 'opus')
+makedepends=('gstreamer' 'schroedinger' 'gtk3' 'libexif' 'libdvdread' 'libvdpau' 'libmpeg2')
+options=(!libtool !emptydirs)
+source=(${url}/src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.xz)
+
+build() {
+ cd "${srcdir}/gst-plugins-bad-${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 (Archlinux)" \
+ --with-package-origin="http://www.archlinux.org/" \
+ --with-gtk=3.0
+ make
+}
+
+check() {
+ cd "${srcdir}/gst-plugins-bad-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/gst-plugins-bad-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('f2d2c432917fb639a510bb3ce85c5329')