1
0
forked from ports/contrib

gst-ffmpeg: remove redundent dep python

clean up CFLAGS
remove execute on shared librarys
This commit is contained in:
Danny Rawlins 2008-04-18 23:15:06 +10:00
parent ad9426e97d
commit 1baa98be12

View File

@ -2,7 +2,7 @@
# URL: http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html # URL: http://gstreamer.freedesktop.org/modules/gst-ffmpeg.html
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Matt Housh, jaeger at morpheus dot net # Packager: Matt Housh, jaeger at morpheus dot net
# Depends on: gst-plugins-base python # Depends on: gst-plugins-base
name=gst-ffmpeg name=gst-ffmpeg
version=0.10.3 version=0.10.3
@ -12,9 +12,9 @@ source=(http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$version.tar.
build() { build() {
cd gst-ffmpeg-$version cd gst-ffmpeg-$version
export \ CFLAGS="`echo $CFLAGS | sed -e 's/-O[s0-3]/-O2/'`" # touchy on what -O level will work
CFLAGS="${CFLAGS//-O?/-O2}" \ [ -z "`echo $CFLAGS | grep '\-fomit-frame-pointer'`" ] && CFLAGS="$CFLAGS -fomit-frame-pointer"
CXXFLAGS="${CXXFLAGS//-O?/-O2}" export CFLAGS
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
@ -22,5 +22,6 @@ build() {
make make
make DESTDIR=$PKG install make DESTDIR=$PKG install
chmod a-x $PKG/usr/lib/gstreamer-*/*.so
} }