2006-12-11 19:44:02 +11:00
|
|
|
# Description: FFmpeg-based plug-ins for gstreamer.
|
|
|
|
# URL: http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2006-12-11 19:44:02 +11:00
|
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
2008-04-18 23:15:06 +10:00
|
|
|
# Depends on: gst-plugins-base
|
2006-12-11 19:44:02 +11:00
|
|
|
|
2007-04-30 15:13:37 +10:00
|
|
|
name=gst-ffmpeg
|
2007-12-05 17:39:35 +11:00
|
|
|
version=0.10.3
|
2006-12-11 19:44:02 +11:00
|
|
|
release=1
|
|
|
|
source=(http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd gst-ffmpeg-$version
|
2007-01-09 19:58:44 +11:00
|
|
|
|
2008-04-18 23:15:06 +10:00
|
|
|
CFLAGS="`echo $CFLAGS | sed -e 's/-O[s0-3]/-O2/'`" # touchy on what -O level will work
|
|
|
|
[ -z "`echo $CFLAGS | grep '\-fomit-frame-pointer'`" ] && CFLAGS="$CFLAGS -fomit-frame-pointer"
|
|
|
|
export CFLAGS
|
2007-12-05 17:39:35 +11:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-static
|
2007-01-09 19:58:44 +11:00
|
|
|
|
2007-04-01 16:34:46 +10:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2008-04-18 23:15:06 +10:00
|
|
|
chmod a-x $PKG/usr/lib/gstreamer-*/*.so
|
2006-12-11 19:44:02 +11:00
|
|
|
}
|
|
|
|
|