### this file is sourced not run
#build needs doxygen-1.8.7

PKGVER=3.7.2
TARBALL=feh-$PKGVER.tar.bz2
MD5SUM=654c39963f8fb3cd878d6ed60318ed82
SRC_URL=https://feh.finalrewind.org/$TARBALL
BUNDLE=

SLACKDESC="feh: feh $PKGVER (image viewer)
feh:
feh: fast and light Imlib2-based image viewer
feh:
feh: http://feh.finalrewind.org
feh: https://man.finalrewind.org/1/feh/
feh: https://github.com/derf/feh
feh:
feh:
feh:
feh:
"
# http://software.jaos.org/git/slapt-get/plain/FAQ.html#slgFAQ19
SLACKREQ='imlib2
curl
libpng
libX11
libXinerama
libexif >= 0.6.21-x86_64-1'

# http://software.jaos.org/git/slapt-get/plain/FAQ.html#slgFAQ44
SLACKSUG='imlib2-webp
libjpeg-turbo
ImageMagick'
# http://software.jaos.org/git/slapt-get/plain/FAQ.html#slgFAQ31
SLACKCON=

### default pkg_download
### default pkgـprepare
### default pkg_package
### build
pkg_build() {
 #Available flags:
 # * app      (default 0) - install icons to /usr/share, regardless of DESTDIR and PREFIX, and call gtk-update-icon-cache
 # * curl     (default 1) - use libcurl to view http:// and similar images
 # * debug    (default 0) - debug build, enables --debug
 # * exif     (default 0) - Builtin EXIF tag display support
 # * help     (default 0) - include help text (refers to the manpage otherwise)
 # * inotify  (default 0) - enable inotify, needed for --auto-reload
 # * stat64   (default 0) - Support CIFS shares from 64bit hosts on 32bit machines
 # * mkstemps (default 1) - If set to 0, feh will use an internal implementation of your libc strvercmp
 # * xinerama (default 1) - Support Xinerama/XRandR multiscreen setups

	cd /tmp/feh* &&
	sed -i -e 's/^Categories=.*/Categories=Graphics;/' share/applications/feh.pre &&
	PREFIX=/usr make curl=1 exif=1 inotify=1 help=1 xinerama=1 all install &&
	pkg_build_slackdesc
}

