diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/gavl/gavl.SlackBuild | 22 | ||||
-rw-r--r-- | libraries/gavl/gavl.info | 6 |
2 files changed, 16 insertions, 12 deletions
diff --git a/libraries/gavl/gavl.SlackBuild b/libraries/gavl/gavl.SlackBuild index cc8615d9eb..cedf07cbf7 100644 --- a/libraries/gavl/gavl.SlackBuild +++ b/libraries/gavl/gavl.SlackBuild @@ -6,16 +6,14 @@ # based on slackbuilds.org default template PRGNAM=gavl -VERSION=${VERSION:-20100919} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -25,27 +23,32 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +# Specify CFLAGS following maintainers reccomendations +# PIC is autodetected if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-O3 -march=i486 -mtune=i686 " LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O3 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="-O3" LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" + SLKCFLAGS="-O3" LIBDIRSUFFIX="" fi +# gmerlin people add also these, comment out if you don't like them +SLKCFLAGS="$SLKCFLAGS -funroll-all-loops -fomit-frame-pointer -ffast-math" + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -54,7 +57,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -./autogen.sh +# Cut this from the code so that we can specify our CFLAGS without doubling them +sed -i "s|^lqt_additional_opt_flags|lqt_additional_opt_flags=\"\"|" configure CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ diff --git a/libraries/gavl/gavl.info b/libraries/gavl/gavl.info index 052aec21bc..f805b7e488 100644 --- a/libraries/gavl/gavl.info +++ b/libraries/gavl/gavl.info @@ -1,8 +1,8 @@ PRGNAM="gavl" -VERSION="20100919" +VERSION="1.4.0" HOMEPAGE="http://gmerlin.sourceforge.net/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/gavl-20100919.tar.xz" -MD5SUM="c6c0afc387ba0d0fd3f438097813720d" +DOWNLOAD="http://downloads.sourceforge.net/gmerlin/gavl-1.4.0.tar.gz" +MD5SUM="2752013a817fbc43ddf13552215ec2c0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |