From 4a14e88342773891a6cd6107a9cf3967c61cf997 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 31 Mar 2022 13:19:05 -0400 Subject: [PATCH] multimedia/HandBrake: Strip ghb binary. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- multimedia/HandBrake/HandBrake.SlackBuild | 9 +++------ 1 file 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 \