mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
multimedia/smtube: Update to version 21.10.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3ddadc5fdc
commit
39c23d485a
4 changed files with 15 additions and 29 deletions
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
chown -R root:root .
|
||||
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\""
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue