aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2017-07-18 23:13:53 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-22 06:56:09 +0700
commit0e2241d9520b3c26b10a50e53b3bbf607757b921 (patch)
treeb040663b568f0f035eff8c6b5c288671eb7887e0 /multimedia
parente4b168d2d13950114da0ed2ff7f42e5eaf1afc21 (diff)
multimedia/smtube: Updated for version 17.5.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/smtube/README6
-rw-r--r--multimedia/smtube/slack-desc12
-rw-r--r--multimedia/smtube/smtube.SlackBuild34
-rw-r--r--multimedia/smtube/smtube.info12
4 files changed, 36 insertions, 28 deletions
diff --git a/multimedia/smtube/README b/multimedia/smtube/README
index 1712c6091ec2e..13cebd53b6717 100644
--- a/multimedia/smtube/README
+++ b/multimedia/smtube/README
@@ -1,2 +1,4 @@
-This is a YouTube browser. It can browse, search, download and play
-YouTube videos in SMPlayer, MPlayer, VLC, Dragon Player or Totem.
+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.
diff --git a/multimedia/smtube/slack-desc b/multimedia/smtube/slack-desc
index 64cd95593fe3a..ec976cf446986 100644
--- a/multimedia/smtube/slack-desc
+++ b/multimedia/smtube/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-smtube: smtube (small youtube browser)
-smtube:
-smtube: This is a YouTube browser. It can browse, search, download and play
-smtube: YouTube videos in SMPlayer, MPlayer, VLC, Dragon Player or Totem.
-smtube:
-smtube: Homepage: http://smplayer.sourceforge.net
+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:
+smtube: Homepage: http://www.smtube.org/
smtube:
smtube:
smtube:
diff --git a/multimedia/smtube/smtube.SlackBuild b/multimedia/smtube/smtube.SlackBuild
index 62fc127f5b023..dbe3a6550c00b 100644
--- a/multimedia/smtube/smtube.SlackBuild
+++ b/multimedia/smtube/smtube.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for SMTube
# Copyright 2012-2015 Fridrich von Stauffenberg <cancellor2@gmail.com>
+# Copyright 2017 Andrzej Telszewski, Banie
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,25 +12,25 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=smtube
-VERSION=${VERSION:-16.6.0}
+VERSION=${VERSION:-17.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -63,6 +64,11 @@ 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 {} \;
sed -i "/^PREFIX/s/=.*$/=\/usr/;
/^DOC_PATH/s/\/.*$/\/doc\/$PRGNAM-$VERSION/;
diff --git a/multimedia/smtube/smtube.info b/multimedia/smtube/smtube.info
index d3b7ed8f3bf28..52f3a5149a8f9 100644
--- a/multimedia/smtube/smtube.info
+++ b/multimedia/smtube/smtube.info
@@ -1,10 +1,10 @@
PRGNAM="smtube"
-VERSION="16.6.0"
-HOMEPAGE="http://smplayer.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/smplayer/smtube-16.6.0.tar.bz2"
-MD5SUM="ae1f01e31e0dfffced0fc38c5920a304"
+VERSION="17.5.0"
+HOMEPAGE="http://www.smtube.org/"
+DOWNLOAD="https://download.sourceforge.net/project/smtube/SMTube/17.5.0/smtube-17.5.0.tar.bz2"
+MD5SUM="edfc9a47bb302b4af6089b152f815d15"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Fridrich von Stauffenberg"
-EMAIL="cancellor2@gmail.com"
+MAINTAINER="Andrzej Telszewski"
+EMAIL="atelszewski@gmail.com"