summaryrefslogtreecommitdiff
path: root/extra/gst-libav/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gst-libav/PKGBUILD')
-rw-r--r--extra/gst-libav/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/gst-libav/PKGBUILD b/extra/gst-libav/PKGBUILD
new file mode 100644
index 000000000..c5c50b033
--- /dev/null
+++ b/extra/gst-libav/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 169928 2012-10-30 22:45:23Z heftig $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gst-libav
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Gstreamer libav Plugin"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://gstreamer.freedesktop.org/"
+depends=('gst-plugins-base-libs' 'bzip2')
+makedepends=('yasm')
+options=(!libtool !emptydirs)
+provides=("gst-ffmpeg=$pkgver-pkgrel")
+source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz)
+sha256sums=('143099eb7b099d52f764b7ce74ad6de2c4261aadd74dd2a315011a568b18a1e9')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --with-libav-extra-configure="--enable-runtime-cpudetect" \
+ --with-package-name="GStreamer libav Plugin (Archlinux)" \
+ --with-package-origin="http://www.archlinux.org/"
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
+}