summaryrefslogtreecommitdiff
path: root/graphics/feh
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-07-16 04:43:14 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-20 16:20:31 +0700
commitb1ee4d5bc5401ee6de8ba88cfdde9c909c488043 (patch)
treeffd1c8c5252f41fbf332944a608fa847e9ed28fe /graphics/feh
parent6e8bcda2e62dff7c34b6e8d7e34900335fe38535 (diff)
downloadslackbuilds-b1ee4d5bc5401ee6de8ba88cfdde9c909c488043.tar.gz
graphics/feh: Updated for version 3.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/feh')
-rw-r--r--graphics/feh/README16
-rw-r--r--graphics/feh/feh.SlackBuild14
-rw-r--r--graphics/feh/feh.info6
3 files changed, 31 insertions, 5 deletions
diff --git a/graphics/feh/README b/graphics/feh/README
index c467cb8a63..640ffaed62 100644
--- a/graphics/feh/README
+++ b/graphics/feh/README
@@ -4,3 +4,19 @@ feh features include simple image viewing, multiple image viewing
in fullscreen, image list mode, loadable/unloadable listing,
recursive file opening, saving/loading filelists, loading images
via http, reloading after delay, montage creation, and more.
+
+To enable builtin EXIF tag display support use:
+
+ EXIF=yes ./feh.SlackBuild
+
+To include help text use:
+
+ HELP=yes ./feh.SlackBuild
+
+To enable enable inotify support use:
+
+ INOTIFY=yes ./feh.SlackBuild
+
+To support CIFS shares from 64bit hosts on 32bit machines use:
+
+ STAT64=yes ./feh.SlackBuild
diff --git a/graphics/feh/feh.SlackBuild b/graphics/feh/feh.SlackBuild
index d23b06a77e..82887c810b 100644
--- a/graphics/feh/feh.SlackBuild
+++ b/graphics/feh/feh.SlackBuild
@@ -24,7 +24,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=feh
-VERSION=${VERSION:-3.1.3}
+VERSION=${VERSION:-3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,6 +62,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+chmod 0755 $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,9 +71,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+[ "${EXIF:=0}" != 0 ] && EXIF=1
+[ "${HELP:=0}" != 0 ] && HELP=1
+[ "${INOTIFY:=0}" != 0 ] && INOTIFY=1
+[ "${STAT64:=0}" != 0 ] && STAT64=1
+
CFLAGS="$SLKCFLAGS" \
make \
- PREFIX=/usr
+ PREFIX=/usr \
+ exif=$EXIF \
+ help=$HELP \
+ inotify=$INOTIFY \
+ stat64=$STAT64
make install \
DESTDIR=$PKG \
diff --git a/graphics/feh/feh.info b/graphics/feh/feh.info
index 472ca1f645..fe4282f84d 100644
--- a/graphics/feh/feh.info
+++ b/graphics/feh/feh.info
@@ -1,8 +1,8 @@
PRGNAM="feh"
-VERSION="3.1.3"
+VERSION="3.2"
HOMEPAGE="https://feh.finalrewind.org"
-DOWNLOAD="https://feh.finalrewind.org/feh-3.1.3.tar.bz2"
-MD5SUM="8aad58758fb9e0a0a4b10d58aa8853d7"
+DOWNLOAD="https://feh.finalrewind.org/feh-3.2.tar.bz2"
+MD5SUM="db51079569dad598f26810f6a5144535"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="imlib2"