diff options
author | B. Watson <yalhcru@gmail.com> | 2016-08-04 14:45:03 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-13 07:22:55 +0700 |
commit | 85cde4df65d09364b5227acd6fbb557df398ff31 (patch) | |
tree | dc84ff0f76bbc602f0602f7580b459c5f2dbbe3f /multimedia | |
parent | d9debbc4bccd1e13b8ef9d41e1e60939cab413fc (diff) |
multimedia/youtube-viewer: Updated for version 3.2.3.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/youtube-viewer/README | 1 | ||||
-rw-r--r-- | multimedia/youtube-viewer/youtube-viewer.SlackBuild | 34 | ||||
-rw-r--r-- | multimedia/youtube-viewer/youtube-viewer.info | 8 |
3 files changed, 15 insertions, 28 deletions
diff --git a/multimedia/youtube-viewer/README b/multimedia/youtube-viewer/README index 55426b92003f..868a39519793 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 124359121c10..527d8539caff 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 1a16e3a0b30d..248261247f10 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" |