summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2025-03-28 16:43:19 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2025-03-29 08:15:35 +0700
commit01c015d4aa8c142224d218c94636eb1c3a1ff4c8 (patch)
treeedc46e20bd750033e3c6f50d04c0e2900d811e08 /graphics
parent701477c212a84f34c59004265b4029bdaee41b8d (diff)
downloadslackbuilds-01c015d4aa8c142224d218c94636eb1c3a1ff4c8.tar.gz
slackbuilds-01c015d4aa8c142224d218c94636eb1c3a1ff4c8.tar.xz
graphics/qiv: Updated for version 2.3.4.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/qiv/qiv.SlackBuild20
-rw-r--r--graphics/qiv/qiv.info6
2 files changed, 16 insertions, 10 deletions
diff --git a/graphics/qiv/qiv.SlackBuild b/graphics/qiv/qiv.SlackBuild
index 34217d62e4..6c1ffd6b26 100644
--- a/graphics/qiv/qiv.SlackBuild
+++ b/graphics/qiv/qiv.SlackBuild
@@ -8,6 +8,12 @@
# version had no license, modified version released under the WTFPL. See
# http://www.wtfpl.net/txt/copying/ for details.
+# 20250328 bkw:
+# - Update for v2.3.4. This is a release on upstream's codeberg page,
+# but the homepage hasn't been updated yet. codeberg's URLs are
+# "unstable" due to content-disposition, so the script has to
+# handle 2 possible filenames.
+
# 20241228 bkw: BUILD=2
# - support AVIF images. libheif handles them, just have to add the
# filename extension and magic to main.h (in new_formats.diff).
@@ -46,8 +52,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qiv
-VERSION=${VERSION:-2.3.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.3.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,12 +89,12 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM
+tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
+cd $PRGNAM
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 {} +
# Patch to add potential support for various image formats. This patch
# doesn't actually contain any code for decoding/displaying new image
diff --git a/graphics/qiv/qiv.info b/graphics/qiv/qiv.info
index 4061bbd4d7..06407646e6 100644
--- a/graphics/qiv/qiv.info
+++ b/graphics/qiv/qiv.info
@@ -1,8 +1,8 @@
PRGNAM="qiv"
-VERSION="2.3.3"
+VERSION="2.3.4"
HOMEPAGE="https://spiegl.de/qiv/"
-DOWNLOAD="https://spiegl.de/qiv/download/qiv-2.3.3.tgz"
-MD5SUM="62f7a3adf62b85cdc6244913abf56bac"
+DOWNLOAD="https://codeberg.org/ciberandy/qiv/archive/v2.3.4.tar.gz"
+MD5SUM="4e09d3f2e1c091615e70cf22423c362c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib2"