summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAndrzej Telszewski <andrzej@telszewski.com>2022-10-03 01:39:18 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-03 23:18:08 +0700
commit39c23d485a57b4a567a595f5039e35f96dcac99d (patch)
tree1750db98cbd8d7f44257233857cb0dddf6de4087 /multimedia
parent3ddadc5fdcc1c4d6ef72bf07e2f3bb2d5f60f60e (diff)
downloadslackbuilds-39c23d485a57b4a567a595f5039e35f96dcac99d.tar.gz
multimedia/smtube: Update to version 21.10.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/smtube/README3
-rw-r--r--multimedia/smtube/slack-desc4
-rw-r--r--multimedia/smtube/smtube.SlackBuild29
-rw-r--r--multimedia/smtube/smtube.info8
4 files changed, 15 insertions, 29 deletions
diff --git a/multimedia/smtube/README b/multimedia/smtube/README
index 13cebd53b6..055314735a 100644
--- a/multimedia/smtube/README
+++ b/multimedia/smtube/README
@@ -1,4 +1,3 @@
SMTube is an application that allows to browse, search and play YouTube
videos. Videos are played back with a media player (by default SMPlayer)
-instead of a flash player, this allows better performance, particularly
-with HD content.
+instead of an HTML player.
diff --git a/multimedia/smtube/slack-desc b/multimedia/smtube/slack-desc
index 096443c539..6b2c42874d 100644
--- a/multimedia/smtube/slack-desc
+++ b/multimedia/smtube/slack-desc
@@ -10,10 +10,10 @@ smtube: smtube (small YouTube videos browser)
smtube:
smtube: SMTube is an application that allows to browse, search and play
smtube: YouTube videos. Videos are played back with a media player instead
-smtube: of a flash player, this allows better performance, particularly
-smtube: with HD content.
+smtube: of an HTML player.
smtube:
smtube: Homepage: https://www.smtube.org/
smtube:
smtube:
smtube:
+smtube:
diff --git a/multimedia/smtube/smtube.SlackBuild b/multimedia/smtube/smtube.SlackBuild
index 5067282fd2..7822d62c84 100644
--- a/multimedia/smtube/smtube.SlackBuild
+++ b/multimedia/smtube/smtube.SlackBuild
@@ -2,8 +2,8 @@
# Slackware build script for SMTube
+# Copyright 2022 Andrzej Telszewski, Koszalin
# Copyright 2012-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=smtube
-VERSION=${VERSION:-20.6.0}
+VERSION=${VERSION:-21.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +39,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
@@ -65,32 +62,22 @@ 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 {} \;
-
-if [ ${USE_QT5:-yes} = yes ]; then
- QMAKE=qmake-qt5
- LRELEASE=lrelease-qt5
-else
- QMAKE=qmake
- LRELEASE=lrelease
-fi
+chmod -R a-st,u+rwX,go-w+rX .
make \
- QMAKE=$QMAKE \
- LRELEASE=$LRELEASE \
+ QMAKE=qmake-qt5 \
+ LRELEASE=lrelease-qt5 \
PREFIX=/usr \
DOC_PATH="\\\"/usr/doc/$PRGNAM-$VERSION/\\\"" \
QMAKE_OPTS="QMAKE_CXXFLAGS=\"$SLKCFLAGS\""
diff --git a/multimedia/smtube/smtube.info b/multimedia/smtube/smtube.info
index e64ef9e8cf..4f9b7b97fe 100644
--- a/multimedia/smtube/smtube.info
+++ b/multimedia/smtube/smtube.info
@@ -1,10 +1,10 @@
PRGNAM="smtube"
-VERSION="20.6.0"
+VERSION="21.10.0"
HOMEPAGE="https://www.smtube.org/"
-DOWNLOAD="https://download.sourceforge.net/project/smtube/SMTube/20.6.0/smtube-20.6.0.tar.bz2"
-MD5SUM="78e91392cf6faf6a94b566a3c33806c1"
+DOWNLOAD="https://download.sourceforge.net/project/smtube/SMTube/21.10.0/smtube-21.10.0.tar.bz2"
+MD5SUM="93383ae9220614d7e9fc5fbbbb8f060b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Andrzej Telszewski"
-EMAIL="atelszewski@gmail.com"
+EMAIL="andrzej@telszewski.com"