summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/HandBrake/HandBrake.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/multimedia/HandBrake/HandBrake.SlackBuild b/multimedia/HandBrake/HandBrake.SlackBuild
index 521286759e..1c07b3ba6d 100644
--- a/multimedia/HandBrake/HandBrake.SlackBuild
+++ b/multimedia/HandBrake/HandBrake.SlackBuild
@@ -11,7 +11,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=HandBrake
VERSION=${VERSION:-1.5.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
DOCDIR=${DOCDIR:-/usr/doc}
@@ -48,8 +48,6 @@ else
fi
SLKCFLAGS="$SLKCFLAGS -fno-aggressive-loop-optimizations"
-saved_CFLAGS="$CFLAGS"
-saved_CXXFLAGS="$CFLAGS"
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
@@ -94,10 +92,9 @@ CXXFLAGS="$SLKCFLAGS" \
cd build
make
make install DESTDIR=$PKG
-cd $TMP/$PRGNAM-$VERSION
+strip $PKG/usr/bin/*
-export CFLAGS="$saved_CFLAGS"
-export CXXFLAGS="$saved_CXXFLAGS"
+cd $TMP/$PRGNAM-$VERSION
mkdir -p $PKG/$DOCDIR/$PRGNAM-$VERSION
cp -a AUTHORS.markdown COPYING NEWS.markdown THANKS.markdown README.markdown \