summaryrefslogtreecommitdiffstats
path: root/graphics/imv
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/imv')
-rw-r--r--graphics/imv/README8
-rw-r--r--graphics/imv/imv.SlackBuild16
-rw-r--r--graphics/imv/imv.info2
3 files changed, 17 insertions, 9 deletions
diff --git a/graphics/imv/README b/graphics/imv/README
index 30357235ef..22ee94f1bc 100644
--- a/graphics/imv/README
+++ b/graphics/imv/README
@@ -17,7 +17,6 @@ managers. Features:
Optional dependencies (autodetected):
-- wayland
- FreeImage (support for GIF, RAW, PSD formats)
- libnsgif (support for GIF)
@@ -27,8 +26,7 @@ support GIF images at all.
Notes:
[1] - uses a library from core Slackware, so always enabled.
-[2] - requires wayland.
-[3] - requires either FreeImage or libnsgif.
-[4] - imv supports SVG images, but the librsvg in Slackware 14.2 is too
+[2] - requires either FreeImage or libnsgif.
+[3] - imv supports SVG images, but the librsvg in Slackware 14.2 is too
old for imv to use, so SVG support is disabled. Sorry.
-[5] - requires FreeImage.
+[4] - requires FreeImage.
diff --git a/graphics/imv/imv.SlackBuild b/graphics/imv/imv.SlackBuild
index a453bf317f..1dc8d3fac3 100644
--- a/graphics/imv/imv.SlackBuild
+++ b/graphics/imv/imv.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for imv
@@ -6,10 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=imv
VERSION=${VERSION:-4.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -136,4 +146,4 @@ sed -e "s,@F@,$F," \
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/graphics/imv/imv.info b/graphics/imv/imv.info
index 88d3b72278..25b7f16fc4 100644
--- a/graphics/imv/imv.info
+++ b/graphics/imv/imv.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/eXeC64/imv/archive/v4.1.0/imv-4.1.0.tar.gz"
MD5SUM="325bac66149dfa3f6e7688b1f4ab5f67"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libxkbcommon"
+REQUIRES=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"