aboutsummaryrefslogtreecommitdiff
path: root/multimedia/youtube-viewer/youtube-viewer.SlackBuild
diff options
context:
space:
mode:
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 bd42589d08fb0..3edb76d5d92f1 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.