aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-31 13:19:05 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 18:18:48 +0700
commit4a14e88342773891a6cd6107a9cf3967c61cf997 (patch)
treeaf2bad18b799dfaa3e42d986e5ac1b552fc1d469
parent85b88fada342b28f0cbdf8ef70c3b4c3d668b0db (diff)
multimedia/HandBrake: Strip ghb binary.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 521286759e148..1c07b3ba6df7f 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 \