diff options
author | Andrzej Telszewski <andrzej@telszewski.com> | 2021-05-15 19:25:57 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-09-10 15:19:08 +0700 |
commit | 4aa798408836fcd77f86d10faed96f4f0aaa7ead (patch) | |
tree | d5e885f1f9397385de625bae4343c5385025ffd7 /multimedia | |
parent | 910764ec3f80d2ffcc44c6665e3ed353ce256483 (diff) | |
download | slackbuilds-4aa798408836fcd77f86d10faed96f4f0aaa7ead.tar.gz |
multimedia/smplayer: Update to version 22.7.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/smplayer/smplayer.SlackBuild | 43 | ||||
-rw-r--r-- | multimedia/smplayer/smplayer.info | 8 |
2 files changed, 19 insertions, 32 deletions
diff --git a/multimedia/smplayer/smplayer.SlackBuild b/multimedia/smplayer/smplayer.SlackBuild index 07cc712662..ab1e76b0bc 100644 --- a/multimedia/smplayer/smplayer.SlackBuild +++ b/multimedia/smplayer/smplayer.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for SMPlayer +# Copyright 2022 Andrzej Telszewski, Koszalin # Copyright 2011-2015 Fridrich von Stauffenberg <cancellor2@gmail.com> -# Copyright 2020 Andrzej Telszewski, Szczecin # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=smplayer -VERSION=${VERSION:-21.10.0} +VERSION=${VERSION:-22.7.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -42,9 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -68,30 +65,28 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP + rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION + chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +chmod -R a-st,u+rwX,go-w+rX . + +# Disable -Werror (helps building with newer GCC). -# Disable -Werror (helps building with the newer gcc) sed -i "s|-W\ -Wall\ -Werror|-W -Wall|" webserver/Makefile # Fix man page path. + sed -i "s/share\/man/man/g" Makefile make \ - QMAKE=qmake-qt5 \ - LRELEASE=lrelease-qt5 \ PREFIX=/usr \ DOC_PATH="\\\"/usr/doc/$PRGNAM-$VERSION/\\\"" \ QMAKE_OPTS="QMAKE_CXXFLAGS=\"$SLKCFLAGS\"" @@ -111,15 +106,11 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cd $TMP rm -rf $PRGNAM-themes-$THEMES tar xvf $CWD/$PRGNAM-themes-$THEMES.tar.bz2 + cd $PRGNAM-themes-$THEMES -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sed -i "s/rcc -binary/rcc-qt5 -binary/g" themes/Makefile +chown -R root:root . +chmod -R a-st,u+rwX,go-w+rX . make make install PREFIX=/usr DESTDIR=$PKG @@ -130,15 +121,11 @@ cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION/themes cd $TMP rm -rf $PRGNAM-skins-$SKINS tar xvf $CWD/$PRGNAM-skins-$SKINS.tar.bz2 + cd $PRGNAM-skins-$SKINS -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -sed -i "s/rcc -binary/rcc-qt5 -binary/g" themes/Makefile +chown -R root:root . +chmod -R a-st,u+rwX,go-w+rX . make make install PREFIX=/usr DESTDIR=$PKG diff --git a/multimedia/smplayer/smplayer.info b/multimedia/smplayer/smplayer.info index c3f8d03d0b..009631a9d3 100644 --- a/multimedia/smplayer/smplayer.info +++ b/multimedia/smplayer/smplayer.info @@ -1,14 +1,14 @@ PRGNAM="smplayer" -VERSION="21.10.0" +VERSION="22.7.0" HOMEPAGE="https://www.smplayer.info/" -DOWNLOAD="https://downloads.sourceforge.net/smplayer/smplayer-21.10.0.tar.bz2 \ +DOWNLOAD="https://downloads.sourceforge.net/smplayer/smplayer-22.7.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 \ +MD5SUM="88725d5c418cbf82f815bf1f09476cde \ 3d7b307487da5d97e0bc197f7f3f37f6 \ 0b2e6aabf497c1248c60c382827d9ba0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Andrzej Telszewski" -EMAIL="atelszewski@gmail.com" +EMAIL="andrzej@telszewski.com" |