blob: 4f70dde1e7b1c7b02a3380de016b3a863e9f3436 (
plain)
1 # Description: FFmpeg-based plug-ins for gstreamer.
2 # URL: http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Matt Housh, jaeger at morpheus dot net
5 # Depends on: gst-plugins-base
6
7 name=gst-ffmpeg
8 version=0.10.3
9 release=1
10 source=(http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$version.tar.gz)
11
12 build() {
13 cd gst-ffmpeg-$version
14
15 CFLAGS="`echo $CFLAGS | sed -e 's/-O[s0-3]/-O2/'`" # touchy on what -O level will work
16 [ -z "`echo $CFLAGS | grep '\-fomit-frame-pointer'`" ] && CFLAGS="$CFLAGS -fomit-frame-pointer"
17 export CFLAGS
18
19 ./configure \
20 --prefix=/usr \
21 --disable-static
22
23 make
24 make DESTDIR=$PKG install
25 chmod a-x $PKG/usr/lib/gstreamer-*/*.so
26 }
|