forked from ports/contrib
1baa98be12
clean up CFLAGS remove execute on shared librarys
28 lines
759 B
Plaintext
28 lines
759 B
Plaintext
# Description: FFmpeg-based plug-ins for gstreamer.
|
|
# URL: http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Matt Housh, jaeger at morpheus dot net
|
|
# Depends on: gst-plugins-base
|
|
|
|
name=gst-ffmpeg
|
|
version=0.10.3
|
|
release=1
|
|
source=(http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$version.tar.gz)
|
|
|
|
build() {
|
|
cd gst-ffmpeg-$version
|
|
|
|
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
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
chmod a-x $PKG/usr/lib/gstreamer-*/*.so
|
|
}
|
|
|