summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/youtube-viewer/README1
-rw-r--r--multimedia/youtube-viewer/youtube-viewer.SlackBuild34
-rw-r--r--multimedia/youtube-viewer/youtube-viewer.info8
3 files changed, 15 insertions, 28 deletions
diff --git a/multimedia/youtube-viewer/README b/multimedia/youtube-viewer/README
index 55426b9200..868a395197 100644
--- a/multimedia/youtube-viewer/README
+++ b/multimedia/youtube-viewer/README
@@ -9,6 +9,7 @@ Optional dependencies:
perl-gtk2 and perl-File-ShareDir - for gtk-youtube-viewer.
perl-Text-CharWidth - for better formatting in the terminal.
+perl-Term-ReadLine-Gnu - for command editing/history in the terminal.
This build always includes the command-line client (youtube-viewer). For
the GTK client (gtk-youtube-viewer), install perl-gtk2 and
diff --git a/multimedia/youtube-viewer/youtube-viewer.SlackBuild b/multimedia/youtube-viewer/youtube-viewer.SlackBuild
index 124359121c..527d8539ca 100644
--- a/multimedia/youtube-viewer/youtube-viewer.SlackBuild
+++ b/multimedia/youtube-viewer/youtube-viewer.SlackBuild
@@ -6,6 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20160804 bkw:
+# - updated for 3.2.3.
+# - ARCH=noarch, there is no compiled code here, only perl scripts.
+# - mention perl-Term-ReadLine-Gnu optional dep in README. In case
+# you wonder about the other optional dep, Unicode::GCString,
+# it's an either-or with perl-Text-CharWidth. No need to install both,
+# and SBo doesn't have a perl-Unicode-GCString build anyway.
+
# 20150309 bkw: Updated for 3.1.4 release.
# Quite a bit of changes under the hood for what's supposed to be
# a point release: upstream dropped the XML::Fast dep and added
@@ -22,37 +30,15 @@
# - Added support for gtk-youtube-viewer
PRGNAM=youtube-viewer
-VERSION=${VERSION:-3.1.4}
+VERSION=${VERSION:-3.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
+ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
diff --git a/multimedia/youtube-viewer/youtube-viewer.info b/multimedia/youtube-viewer/youtube-viewer.info
index 1a16e3a0b3..248261247f 100644
--- a/multimedia/youtube-viewer/youtube-viewer.info
+++ b/multimedia/youtube-viewer/youtube-viewer.info
@@ -1,8 +1,8 @@
PRGNAM="youtube-viewer"
-VERSION="3.1.4"
-HOMEPAGE="http://code.google.com/p/trizen/"
-DOWNLOAD="https://github.com/trizen/youtube-viewer/archive/3.1.4.tar.gz"
-MD5SUM="7fed8cfe43d588b4ffccdf2710a10d41"
+VERSION="3.2.3"
+HOMEPAGE="https://github.com/trizen/youtube-viewer/"
+DOWNLOAD="https://github.com/trizen/youtube-viewer/archive/3.2.3.tar.gz"
+MD5SUM="21793f11f8c86a4c7dd20f3615d24dfb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-data-dump perl-LWP-Protocol-https perl-lwp-useragent-cached perl-JSON-XS perl-Module-Build"