aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2023-07-29 11:36:15 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-05 10:08:44 +0700
commit9c5d8ce17d4c4651531a687af48c147a21c54c03 (patch)
tree20529a9f17af7844be13ace9221f296fbe8c110e /graphics
parent5ba77fe0813dd45e751650f1d19d166dc58ec52f (diff)
graphics/vuescan: Updated for version 9.8.13.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/vuescan/vuescan.SlackBuild57
-rw-r--r--graphics/vuescan/vuescan.info14
2 files changed, 46 insertions, 25 deletions
diff --git a/graphics/vuescan/vuescan.SlackBuild b/graphics/vuescan/vuescan.SlackBuild
index 0c2db2292ec3..fff97f514e39 100644
--- a/graphics/vuescan/vuescan.SlackBuild
+++ b/graphics/vuescan/vuescan.SlackBuild
@@ -27,30 +27,19 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vuescan
-VERSION=${VERSION:-9.8.12}
+VERSION=${VERSION:-9.8.13}
SRCVER=${SRCVER:-$(echo "$VERSION" | cut -d. -f-2 | sed 's/\.//g')}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-ARCH=${ARCH:-$(uname -m)}
-case $ARCH in
- i?86)
- SOURCEFILE=vuex32$SRCVER.tgz
- if [ ! -e "$CWD/$SOURCEFILE" ] ; then
- SOURCEFILE=vuex32-$VERSION.tgz
- fi
-
- ;;
- x86_64)
- SOURCEFILE=vuex64$SRCVER.tgz
- if [ ! -e "$CWD/$SOURCEFILE" ] ; then
- SOURCEFILE=vuex64-$VERSION.tgz
- fi
- ;;
- *)
- echo "ARCH $ARCH is unsupported."; exit 1 ;;
-esac
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
@@ -61,6 +50,30 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] ; then
+ SOURCEFILE=vuex32$SRCVER.tgz
+ if [ ! -e "$CWD/$SOURCEFILE" ] ; then
+ SOURCEFILE=vuex32-$VERSION.tgz
+ fi
+elif [ "$ARCH" = "x86_64" ]; then
+ SOURCEFILE=vuex64$SRCVER.tgz
+ if [ ! -e "$CWD/$SOURCEFILE" ] ; then
+ SOURCEFILE=vuex64-$VERSION.tgz
+ fi
+elif [ "$ARCH" = "aarch64" ]; then
+ SOURCEFILE=vuea64$SRCVER.tgz
+ if [ ! -e "$CWD/$SOURCEFILE" ] ; then
+ SOURCEFILE=vuea64-$VERSION.tgz
+ fi
+elif [ "$ARCH" = "arm" ]; then
+ SOURCEFILE=vuea32$SRCVER.tgz
+ if [ ! -e "$CWD/$SOURCEFILE" ] ; then
+ SOURCEFILE=vuea32-$VERSION.tgz
+ fi
+else
+ echo "ARCH $ARCH is unsupported."; exit 1
+fi
+
set -e
rm -rf $PKG
@@ -90,6 +103,10 @@ echo "cd /opt/$PRGNAM" >> $PKG/usr/bin/$PRGNAM
echo "./$PRGNAM" >> $PKG/usr/bin/$PRGNAM
chmod +x $PKG/usr/bin/$PRGNAM
+if [ "$ARCH" = "aarch64" ]; then
+ patchelf --set-interpreter /lib64/ld-linux-aarch64.so.1 $PKG/opt/$PRGNAM/$PRGNAM
+fi
+
# Include the SlackBuild script in the documentation directory
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/vuescan/vuescan.info b/graphics/vuescan/vuescan.info
index 2be1964dd520..2c5a4078e4d6 100644
--- a/graphics/vuescan/vuescan.info
+++ b/graphics/vuescan/vuescan.info
@@ -1,10 +1,14 @@
PRGNAM="vuescan"
-VERSION="9.8.12"
+VERSION="9.8.13"
HOMEPAGE="https://www.hamrick.com"
-DOWNLOAD="https://d2bwyyzfw77fhf.cloudfront.net/vuex3298.tgz"
-MD5SUM="3a18f66b048c91d39741c7ae2d616c54"
-DOWNLOAD_x86_64="https://d2bwyyzfw77fhf.cloudfront.net/vuex6498.tgz"
-MD5SUM_x86_64="97d6015bedb74425cdbb4078b18af90d"
+DOWNLOAD="https://d2bwyyzfw77fhf.cloudfront.net/vuex3298.tgz \
+ https://d2bwyyzfw77fhf.cloudfront.net/vuea3298.tgz"
+MD5SUM="8476202f6ac3c4508ac0725444ac515b \
+ f4637a62f6656fa13068429a6ffc0bd0"
+DOWNLOAD_x86_64="https://d2bwyyzfw77fhf.cloudfront.net/vuex6498.tgz \
+ https://d2bwyyzfw77fhf.cloudfront.net/vuea6498.tgz"
+MD5SUM_x86_64="e206c9b7fd03d23fc00c888368fe9020 \
+ 3d8a5ec5f291ff30b44742568468e7ed"
REQUIRES=""
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"