aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-11 01:57:05 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:47 +0700
commitdb18051986ccd787fe75527155154c6e60cd5c08 (patch)
tree1b2047481bb6d0d60a36772f86d305903fe315b6
parent8f8a0609cb54c11450e82d5a5a9977d7bb063140 (diff)
multimedia/youtube-viewer: Updated for version 3.7.0.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--multimedia/youtube-viewer/README14
-rw-r--r--multimedia/youtube-viewer/youtube-viewer.SlackBuild5
-rw-r--r--multimedia/youtube-viewer/youtube-viewer.info6
-rw-r--r--multimedia/youtube-viewer/youtube-viewer.sqf42
4 files changed, 58 insertions, 9 deletions
diff --git a/multimedia/youtube-viewer/README b/multimedia/youtube-viewer/README
index 405e9b41fb61..6bc8907d9609 100644
--- a/multimedia/youtube-viewer/README
+++ b/multimedia/youtube-viewer/README
@@ -7,14 +7,20 @@ the best quality available without using a flash player.
Optional dependencies:
-perl-gtk2, perl-File-ShareDir - for gtk-youtube-viewer.
+perl-gtk2 [1], perl-File-ShareDir - for gtk-youtube-viewer.
perl-Text-CharWidth, perl-Unicode-LineBreak - for better formatting
in the terminal.
perl-Term-ReadLine-Gnu - for command editing/history in the terminal.
-youtube-dl - if this is present, youtube-viewer will use it to detect
- available formats for the video [*].
+youtube-dl [2] - if this is present, youtube-viewer will use it to detect
+ available formats for the video.
-[*] A small caveat about youtube-dl: youtube-viewer works without it,
+Counting optional ones, youtube-viewer has over 40 dependencies. To make
+life easier, there's now a "youtube-viewer.sqf" queue file included with
+this build, which includes everything listed above.
+
+[1] Or possibly perl-Gtk3. Not tested. Let me know if it works.
+
+[2] A small caveat about youtube-dl: youtube-viewer works without it,
though occasionally it'll choose a lower quality than is available
for some videos. However, if youtube-dl is present but outdated,
youtube-viewer will fail to play videos at all! If you suspect this,
diff --git a/multimedia/youtube-viewer/youtube-viewer.SlackBuild b/multimedia/youtube-viewer/youtube-viewer.SlackBuild
index d30fb884e553..fbaf4abde6ab 100644
--- a/multimedia/youtube-viewer/youtube-viewer.SlackBuild
+++ b/multimedia/youtube-viewer/youtube-viewer.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20200110 bkw: updated for 3.7.0, add .sqf.
# 20191220 bkw: updated for 3.6.0.
# 20191201 bkw: updated for 3.5.9.
# 20180917 bkw: updated for 3.5.0.
@@ -64,7 +65,7 @@
# - Added support for gtk-youtube-viewer
PRGNAM=youtube-viewer
-VERSION=${VERSION:-3.6.0}
+VERSION=${VERSION:-3.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -97,7 +98,7 @@ case "$GTK" in
|| BUILD_GTK="no" ;;
esac
-[ "$BUILD_GTK" = "yes" ] && GTKOPT="--gtk-youtube-viewer"
+[ "$BUILD_GTK" = "yes" ] && GTKOPT="--gtk"
echo "=== HAVE_GTK=$HAVE_GTK BUILD_GTK=$BUILD_GTK"
diff --git a/multimedia/youtube-viewer/youtube-viewer.info b/multimedia/youtube-viewer/youtube-viewer.info
index d53e73efcd76..bd061c6f04d8 100644
--- a/multimedia/youtube-viewer/youtube-viewer.info
+++ b/multimedia/youtube-viewer/youtube-viewer.info
@@ -1,8 +1,8 @@
PRGNAM="youtube-viewer"
-VERSION="3.6.0"
+VERSION="3.7.0"
HOMEPAGE="https://github.com/trizen/youtube-viewer/"
-DOWNLOAD="https://github.com/trizen/youtube-viewer/archive/3.6.0/youtube-viewer-3.6.0.tar.gz"
-MD5SUM="25214d60f19b75e2b2ec06e5dc7b7e1d"
+DOWNLOAD="https://github.com/trizen/youtube-viewer/archive/3.7.0/youtube-viewer-3.7.0.tar.gz"
+MD5SUM="fe0bb7561893e646d2f44c08f28addcf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-data-dump perl-LWP-Protocol-https perl-lwp-useragent-cached perl-JSON perl-JSON-XS perl-Module-Build"
diff --git a/multimedia/youtube-viewer/youtube-viewer.sqf b/multimedia/youtube-viewer/youtube-viewer.sqf
new file mode 100644
index 000000000000..62b97da6749b
--- /dev/null
+++ b/multimedia/youtube-viewer/youtube-viewer.sqf
@@ -0,0 +1,42 @@
+perl-Text-CharWidth
+perl-MIME-Charset
+perl-Unicode-LineBreak
+perl-Term-ReadLine-Gnu
+perl-html-tagset
+perl-lwp-mediatypes
+perl-http-date
+perl-html-parser
+perl-encode-locale
+perl-IO-HTML
+perl-http-message
+perl-www-robotrules
+perl-net-http
+perl-http-negotiate
+perl-http-daemon
+perl-http-cookies
+perl-file-listing
+perl-common-sense
+perl-Net-LibIDN
+Net-SSLeay
+perl-Types-Serialiser
+perl-Test-RequiresInternet
+perl-PAR-Dist
+perl-Mozilla-CA
+perl-IO-Socket-SSL
+perl-Canary-Stability
+libwww-perl
+perl-lwp-useragent-cached
+perl-data-dump
+perl-Module-Build
+perl-LWP-Protocol-https
+perl-JSON-XS
+perl-JSON
+perl-Class-Inspector
+perl-File-ShareDir
+perl-extutils-pkgconfig
+perl-extutils-depends
+perl-glib
+perl-cairo
+perl-pango
+perl-gtk2
+youtube-viewer