diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-16 09:39:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-16 10:30:58 +0700 |
commit | 7ff82b34282386712fb303cdfc3aa1699ac138ad (patch) | |
tree | e1e46c2cfaaf387c76b3e08d22391f2427a7be4d /multimedia/smplayer | |
parent | ca91742ef92361c91155fa3d88ffddf9f3ebc81f (diff) |
multimedia/smplayer: Updated for version 21.10.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/smplayer')
-rw-r--r-- | multimedia/smplayer/README | 5 | ||||
-rw-r--r-- | multimedia/smplayer/smplayer.SlackBuild | 32 | ||||
-rw-r--r-- | multimedia/smplayer/smplayer.info | 14 |
3 files changed, 17 insertions, 34 deletions
diff --git a/multimedia/smplayer/README b/multimedia/smplayer/README index 4ac145df3a68..74de41b10ffd 100644 --- a/multimedia/smplayer/README +++ b/multimedia/smplayer/README @@ -14,8 +14,3 @@ settings of all files you play. So you start to watch a movie but you have to leave... don't worry, when you open that movie again it will be resumed at the same point you left it, and with the same settings: audio track, subtitles, volume. - -If you prefer to build SMPlayer against Qt5 rather than Qt4, install -qt5 (available from SlackBuilds.org) and run the script like that: - - USE_QT5=yes ./smplayer.SlackBuild diff --git a/multimedia/smplayer/smplayer.SlackBuild b/multimedia/smplayer/smplayer.SlackBuild index 1b789a81aa9c..07cc7126628b 100644 --- a/multimedia/smplayer/smplayer.SlackBuild +++ b/multimedia/smplayer/smplayer.SlackBuild @@ -26,13 +26,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=smplayer -VERSION=${VERSION:-20.6.0} +VERSION=${VERSION:-21.10.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -THEMES=${THEMES:-18.6.0} -SKINS=${SKINS:-15.2.0} +THEMES=${THEMES:-20.11.0} +SKINS=${SKINS:-20.11.0} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -89,17 +89,9 @@ sed -i "s|-W\ -Wall\ -Werror|-W -Wall|" webserver/Makefile # Fix man page path. sed -i "s/share\/man/man/g" Makefile -if [ ${USE_QT5:-no} = yes ]; then - QMAKE=qmake-qt5 - LRELEASE=lrelease-qt5 -else - QMAKE=qmake - LRELEASE=lrelease -fi - make \ - QMAKE=$QMAKE \ - LRELEASE=$LRELEASE \ + QMAKE=qmake-qt5 \ + LRELEASE=lrelease-qt5 \ PREFIX=/usr \ DOC_PATH="\\\"/usr/doc/$PRGNAM-$VERSION/\\\"" \ QMAKE_OPTS="QMAKE_CXXFLAGS=\"$SLKCFLAGS\"" @@ -113,7 +105,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.txt Changelog $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cd $TMP @@ -127,15 +119,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -if [ ${USE_QT5:-no} = yes ]; then - sed -i "s/rcc -binary/rcc-qt5 -binary/g" themes/Makefile -fi +sed -i "s/rcc -binary/rcc-qt5 -binary/g" themes/Makefile make make install PREFIX=/usr DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/themes -cp -a *.txt Changelog $PKG/usr/doc/$PRGNAM-$VERSION/themes +cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION/themes cd $TMP rm -rf $PRGNAM-skins-$SKINS @@ -148,15 +138,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -if [ ${USE_QT5:-no} = yes ]; then - sed -i "s/rcc -binary/rcc-qt5 -binary/g" themes/Makefile -fi +sed -i "s/rcc -binary/rcc-qt5 -binary/g" themes/Makefile make make install PREFIX=/usr DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/skins -cp -a *.txt Changelog $PKG/usr/doc/$PRGNAM-$VERSION/skins +cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION/skins mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/multimedia/smplayer/smplayer.info b/multimedia/smplayer/smplayer.info index 68bf66479369..c3f8d03d0bff 100644 --- a/multimedia/smplayer/smplayer.info +++ b/multimedia/smplayer/smplayer.info @@ -1,12 +1,12 @@ PRGNAM="smplayer" -VERSION="20.6.0" +VERSION="21.10.0" HOMEPAGE="https://www.smplayer.info/" -DOWNLOAD="https://downloads.sourceforge.net/smplayer/smplayer-20.6.0.tar.bz2 \ - https://downloads.sourceforge.net/smplayer/smplayer-themes-18.6.0.tar.bz2 \ - https://downloads.sourceforge.net/smplayer/smplayer-skins-15.2.0.tar.bz2" -MD5SUM="90f1b3cf797580d61517369bda1befcc \ - 8fe83cd59189291ca0d3beea1991e50b \ - 57e165cf9a95808fafd179e5322b7f15" +DOWNLOAD="https://downloads.sourceforge.net/smplayer/smplayer-21.10.0.tar.bz2 \ + https://downloads.sourceforge.net/smplayer/smplayer-themes-20.11.0.tar.bz2 \ + https://downloads.sourceforge.net/smplayer/smplayer-skins-20.11.0.tar.bz2" +MD5SUM="a29833a6f94e6e42bba201318428acc6 \ + 3d7b307487da5d97e0bc197f7f3f37f6 \ + 0b2e6aabf497c1248c60c382827d9ba0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |