summaryrefslogtreecommitdiffstats
path: root/multimedia/straw-viewer/straw-viewer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/straw-viewer/straw-viewer.SlackBuild')
-rw-r--r--multimedia/straw-viewer/straw-viewer.SlackBuild17
1 files changed, 6 insertions, 11 deletions
diff --git a/multimedia/straw-viewer/straw-viewer.SlackBuild b/multimedia/straw-viewer/straw-viewer.SlackBuild
index 4ae5be4d63..7ac1fee7a9 100644
--- a/multimedia/straw-viewer/straw-viewer.SlackBuild
+++ b/multimedia/straw-viewer/straw-viewer.SlackBuild
@@ -6,13 +6,18 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20200310 bkw: update to not-quite-latest git. Next commit after 9089523
+# removes mplayer support, which kinda sucks for Slackware users since
+# mplayer ships with the OS (but mpv and vlc don't). My next update will
+# likely re-add mplayer support, unless it's totally broken.
+
# 20200302 bkw: new build, based on youtube-viewer, of which straw-viewer
# is a fork. See https://github.com/trizen/youtube-viewer/issues/308 for
# why. Packaging a git commit because the latest (only) release has some
# issues that have been fixed.
PRGNAM=straw-viewer
-VERSION=${VERSION:-0.0.1+20200227_ad7ec17}
+VERSION=${VERSION:-0.0.2+20200307_9089523}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,16 +80,6 @@ echo "=== GTK=$GTK BUILD_GTK=$BUILD_GTK GTKOPT=$GTKOPT"
# actually works fine with 14.2's 3.18. So:
sed -i 's,"3.20","3.18",' share/gtk-$PRGNAM.glade
-# 20200228 bkw: 14.2's perl package has List::Util 1.4.1, which lacks
-# the uniq() function. However, SBo's perl-List-MoreUtils provides it.
-# This means we can ignore the build warning:
-# ! List::Util (1.41) is installed, but we need version >= 1.43
-patch -p1 < $CWD/list-moreutils.diff
-
-# 20200306 bkw: upstream must not have ever run 'make test' in a clean
-# environment...
-sed -i 's,Youtube,Straw,g' t/*.t
-
perl Build.PL prefix=/usr installdirs=vendor --destdir="$PKG" $GTKOPT
./Build
./Build test