mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-01 06:32:51 +02:00
libraries/gavl: Updated for version 1.4.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
1479ce55c3
commit
f6d3f34e68
2 changed files with 16 additions and 12 deletions
|
@ -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" \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue