summaryrefslogtreecommitdiff
path: root/multimedia/straw-viewer/straw-viewer.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-03-10 19:23:05 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-14 08:46:21 +0700
commit0de06789f5418ee85047a3705ac9421a353d911d (patch)
treefca421a2ffbb5188f955545f16c4c8bf04095879 /multimedia/straw-viewer/straw-viewer.SlackBuild
parent1745a7eadd8bba5dad9ae37f99daae47790e26d6 (diff)
downloadslackbuilds-0de06789f5418ee85047a3705ac9421a353d911d.tar.gz
multimedia/straw-viewer: Updated for version 0.0.2+20200307_9089523.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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