summaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-ffmpeg
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-25 16:43:57 +0000
commit9526ee659401dee7160f35cb62ded2779bcbbc99 (patch)
tree812ad73bde9c84dcc02a3acbc5db576369ca314a /main/gst-plugins-ffmpeg
parent05e09c1126a898b6d0af491fef0401bf53e297f8 (diff)
downloadaports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2
aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz
merged x11 repository into main
ref #255
Diffstat (limited to 'main/gst-plugins-ffmpeg')
-rw-r--r--main/gst-plugins-ffmpeg/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/main/gst-plugins-ffmpeg/APKBUILD b/main/gst-plugins-ffmpeg/APKBUILD
new file mode 100644
index 000000000..1949f16cb
--- /dev/null
+++ b/main/gst-plugins-ffmpeg/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gst-ffmpeg
+pkgver=0.10.7
+pkgrel=0
+pkgdesc="Gstreamer FFMpeg Plugin"
+url="http://www.gstreamer.net"
+license="GPL"
+makedepends="gstreamer-dev gst-plugins-base-dev liboil-dev ffmpeg-dev"
+source="http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$pkgver.tar.bz2"
+
+build ()
+{
+ cd "$srcdir"/gst-ffmpeg-$pkgver
+ sed -i \
+ -e 's,ffmpeg/avformat.h,libavformat/avformat.h,' \
+ -e 's,ffmpeg/avcodec.h,libavcodec/avcodec.h,' \
+ -e 's,ffmpeg/swscale.h,libswscale/swscale.h,' \
+ ext/ffmpeg/gst* \
+ ext/libpostproc/gstpostproc.c \
+ || return 1
+
+ export CFLAGS="$CFLAGS -fno-strict-aliasing"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-system-ffmpeg \
+ --localstatedir=/var || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/gstreamer-0.10/*.{l,}a
+}
+
+md5sums="6be89b26592f36ef631b22a68b8e06c4 gst-ffmpeg-0.10.7.tar.bz2"