summaryrefslogtreecommitdiff
path: root/multimedia/youtube-viewer
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-08-07 21:12:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-07 21:12:40 +0700
commit8183297a90179b2bee18698a005b5f3f7d8b9243 (patch)
tree4c235f7931cfeb073bcea4c528b0b1b53997506d /multimedia/youtube-viewer
parent0a6ea63cdd5c0f4801994d58c5f35c626fa23780 (diff)
downloadslackbuilds-8183297a90179b2bee18698a005b5f3f7d8b9243.tar.gz
multimedia/youtube-viewer: Updated for version 3.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/youtube-viewer')
-rw-r--r--multimedia/youtube-viewer/README1
-rw-r--r--multimedia/youtube-viewer/youtube-viewer.SlackBuild11
-rw-r--r--multimedia/youtube-viewer/youtube-viewer.info8
3 files changed, 13 insertions, 7 deletions
diff --git a/multimedia/youtube-viewer/README b/multimedia/youtube-viewer/README
index ac1d143ce4..55426b9200 100644
--- a/multimedia/youtube-viewer/README
+++ b/multimedia/youtube-viewer/README
@@ -8,7 +8,6 @@ the best quality available without using a flash player.
Optional dependencies:
perl-gtk2 and perl-File-ShareDir - for gtk-youtube-viewer.
-perl-LWP-Protocol-https - for https:// URL support.
perl-Text-CharWidth - for better formatting in the terminal.
This build always includes the command-line client (youtube-viewer). For
diff --git a/multimedia/youtube-viewer/youtube-viewer.SlackBuild b/multimedia/youtube-viewer/youtube-viewer.SlackBuild
index bd42589d08..3edb76d5d9 100644
--- a/multimedia/youtube-viewer/youtube-viewer.SlackBuild
+++ b/multimedia/youtube-viewer/youtube-viewer.SlackBuild
@@ -6,12 +6,16 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20140806 bkw:
+# - Updated for 3.1.1 release. This adds a couple of new deps :(
+# - Made perl-LWP-Protocol-https required instead of optional.
+
# 20140318 bkw:
# - Updated for 3.0.9 release
# - Added support for gtk-youtube-viewer
PRGNAM=youtube-viewer
-VERSION=${VERSION:-3.0.9}
+VERSION=${VERSION:-3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,6 +63,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# no need for +x on this
+chmod -x share/*.desktop
+
# perl-gtk2 is a runtime dep, we can build with GTK=yes even if it's not
# installed... but don't do that by default.
GTK="${GTK:-auto}"
@@ -91,7 +98,7 @@ if [ "$BUILD_GTK" = "yes" ]; then
LNPATH="../perl5/vendor_perl/auto/share/dist/WWW-YoutubeViewer"
ln -s $LNPATH/gtk-youtube-viewer.desktop \
$PKG/usr/share/applications/gtk-youtube-viewer.desktop
- ln -s $LNPATH/gtk-youtube-viewer.png \
+ ln -s $LNPATH/icons/gtk-youtube-viewer.png \
$PKG/usr/share/pixmaps/gtk-youtube-viewer.png
# support TERMINAL option for user's preferred terminal.
diff --git a/multimedia/youtube-viewer/youtube-viewer.info b/multimedia/youtube-viewer/youtube-viewer.info
index bcfeae08e6..38161984c1 100644
--- a/multimedia/youtube-viewer/youtube-viewer.info
+++ b/multimedia/youtube-viewer/youtube-viewer.info
@@ -1,10 +1,10 @@
PRGNAM="youtube-viewer"
-VERSION="3.0.9"
+VERSION="3.1.1"
HOMEPAGE="http://code.google.com/p/trizen/"
-DOWNLOAD="https://github.com/trizen/youtube-viewer/archive/3.0.9.tar.gz"
+DOWNLOAD="https://github.com/trizen/youtube-viewer/archive/3.1.1.tar.gz"
DOWNLOAD_x86_64=""
-MD5SUM="ad81dd73efbd9ebfc2fc062158acf578"
+MD5SUM="9f486973e6f369c463e088b99a8ac4d6"
MD5SUM_x86_64=""
-REQUIRES="perl-data-dump"
+REQUIRES="perl-data-dump perl-LWP-Protocol-https perl-xml-fast"
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"