summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2012-10-31 15:50:56 -0200
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2012-10-31 15:50:56 -0200
commit84a606ceb670d17fbc526d0f16f9d92fc08ec3c6 (patch)
treea4b5f030f1adee9a352c03926e1b9c2af5dd5c06
parent4c474ed1f9085f046a80634ff58c291a2a093d1f (diff)
downloadabslibre-84a606ceb670d17fbc526d0f16f9d92fc08ec3c6.tar.gz
abslibre-84a606ceb670d17fbc526d0f16f9d92fc08ec3c6.tar.bz2
abslibre-84a606ceb670d17fbc526d0f16f9d92fc08ec3c6.zip
gst-plugins-bad-libre: add package to libre repo
-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
+}