### this file is sourced not run

PKGVER=3.9
TARBALL=feh-$PKGVER.tar.bz2
MD5SUM=c15bd096e831183ca1f536da1a9c4cbe
SRC_URL=https://feh.finalrewind.org/$TARBALL
BUNDLE=

SLACKDESC="feh-minimal: feh-minimal $PKGVER (X11 image viewer)
feh-minimal:
feh-minimal: This is a minimal build of feh with most features stripped out. Used
feh-minimal: for boot time splash. If you want the full-featured one, look for
feh-minimal: 'feh' package instead.
feh-minimal:
feh-minimal: http://feh.finalrewind.org
feh-minimal: https://man.finalrewind.org/1/feh/
feh-minimal: https://github.com/derf/feh
feh-minimal:
feh-minimal:
"
SLACKREQ='imlib2
libpng
libX11
libXinerama
libexif >= 0.6.21-x86_64-1
file' # file since feh 3.9 and until imlib2 <= 1.7
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
 # * magic    (default 0) - use libmagic to determine whether a file is an image
 # * 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* &&
	PREFIX=/usr make curl=0 help=1 magic=1 xinerama=1 build-src install-bin &&
	pkg_build_slackdesc
}

