multimedia/youtube-viewer: Updated for version 3.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0a6ea63cdd
commit
8183297a90
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue