aboutsummaryrefslogtreecommitdiff
path: root/multimedia/pipe-viewer/pipe-viewer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/pipe-viewer/pipe-viewer.SlackBuild')
-rw-r--r--multimedia/pipe-viewer/pipe-viewer.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/multimedia/pipe-viewer/pipe-viewer.SlackBuild b/multimedia/pipe-viewer/pipe-viewer.SlackBuild
index 1e87517d1b..1b4c00a094 100644
--- a/multimedia/pipe-viewer/pipe-viewer.SlackBuild
+++ b/multimedia/pipe-viewer/pipe-viewer.SlackBuild
@@ -6,6 +6,9 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20250430 bkw: update for v0.5.6.
+# 20250326 bkw, BUILD=2: add 9e2b980.diff from upstream to fix "Bad Request".
+# 20250205 bkw: update for v0.5.4, add perl-io-uncompress-brotli dep.
# 20240910 bkw: update for v0.5.3.
# 20240814 bkw: update for v0.5.2.
# 20240803 bkw: update for v0.5.1.
@@ -23,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pipe-viewer
-VERSION=${VERSION:-0.5.3}
+VERSION=${VERSION:-0.5.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -50,8 +53,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
# perl-Gtk3 is a runtime dep, we can build with GTK=yes even if it's not
# installed... but don't do that by default.
@@ -69,6 +72,10 @@ esac
echo "=== GTK=$GTK BUILD_GTK=$BUILD_GTK GTKOPT=$GTKOPT"
+# 20250326 bkw: this commit fixes the recent issue that causes:
+# Request error: 400 Bad Request
+[ "$VERSION" = "0.5.4" ] && patch -p1 < $CWD/9e2b980.diff
+
# Upstream used to support mplayer (in the original youtube-viewer,
# before the straw-viewer and pipe-viewer forks), then dropped it.
# That's as may be, but mplayer is included in core Slackware and the