diff options
Diffstat (limited to 'multimedia/xvst/xvst.SlackBuild')
-rw-r--r-- | multimedia/xvst/xvst.SlackBuild | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/multimedia/xvst/xvst.SlackBuild b/multimedia/xvst/xvst.SlackBuild index bee9ef5714..192443b1bb 100644 --- a/multimedia/xvst/xvst.SlackBuild +++ b/multimedia/xvst/xvst.SlackBuild @@ -5,8 +5,7 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> PRGNAM=xvst -VERSION=2.4 -SRCVER=$(echo $VERSION | tr '.' '_') +VERSION=2.4.1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -25,16 +24,12 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" - LIBDIRSUFFIX="" fi set -e @@ -45,7 +40,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION mkdir $PRGNAM-$VERSION cd $PRGNAM-$VERSION -unzip $CWD/xVST_${SRCVER}_src.zip +unzip $CWD/xVST_${VERSION//\./_}_src.zip chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -56,7 +51,7 @@ find . \ # Change file from DOS to Unix, change path for plugins and language files # and make translations. sed -i 's/\r//g' "how to compile.txt" -sed -i "s|getApplicationPath()\ +\ \"|\"/usr/share/${PRGNAM}|g" src/options.cpp +sed -i "s|getApplicationPath()\ +\ \"|\"/usr/share/$PRGNAM|g" src/options.cpp lrelease resources/translations/*.ts rm -f resources/translations/template_for_new_translations.qm |