aboutsummaryrefslogtreecommitdiff
path: root/multimedia/youtube-viewer/youtube-viewer.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-12-25 00:18:34 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:55:38 +0700
commit033e1e3b331a501674bda89dd7897ea35250b359 (patch)
treeb200c6164ff0b72071b01112ca555299c4fa7157 /multimedia/youtube-viewer/youtube-viewer.SlackBuild
parented1cbff78c747520ee9010fc4dd9994cdc625cea (diff)
multimedia/youtube-viewer: Updated for version 3.3.2.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'multimedia/youtube-viewer/youtube-viewer.SlackBuild')
-rw-r--r--multimedia/youtube-viewer/youtube-viewer.SlackBuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/youtube-viewer/youtube-viewer.SlackBuild b/multimedia/youtube-viewer/youtube-viewer.SlackBuild
index 75b1d971c4939..c7d546901a287 100644
--- a/multimedia/youtube-viewer/youtube-viewer.SlackBuild
+++ b/multimedia/youtube-viewer/youtube-viewer.SlackBuild
@@ -6,6 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20171225 bkw:
+# - updated for 3.3.2.
+# - add upstream patch (commit d857451) to fix a long-standing bug where
+# youtube-viewer's command history wasn't being saved across sessions.
+# NOTE TO SELF: remove this patch once 3.3.3 is released.
+
# 20171219 bkw:
# - updated for 3.3.1.
@@ -54,7 +60,7 @@
# - Added support for gtk-youtube-viewer
PRGNAM=youtube-viewer
-VERSION=${VERSION:-3.3.1}
+VERSION=${VERSION:-3.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -78,6 +84,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# This is upstream's first commit after the 3.3.2 release. It fixes a
+# pretty major bug that's been annoying me for a couple of years, so
+# I'm not going to patiently wait for a 3.3.3 release.
+patch -p1 < $CWD/fix_history.diff
+
# 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}"