aboutsummaryrefslogtreecommitdiff
path: root/multimedia/youtube-viewer/youtube-viewer.SlackBuild
diff options
context:
space:
mode:
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}"