summaryrefslogtreecommitdiff
path: root/multimedia/youtube-viewer/youtube-viewer.SlackBuild
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/youtube-viewer.SlackBuild
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/youtube-viewer.SlackBuild')
-rw-r--r--multimedia/youtube-viewer/youtube-viewer.SlackBuild11
1 files changed, 9 insertions, 2 deletions
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.