# Template file for 'fim' pkgname=fim version=0.7.1 revision=1 build_style=gnu-configure configure_args="--enable-poppler" hostmakedepends="flex autoconf pkg-config" makedepends="SDL2-devel djvulibre-devel giflib-devel gtk+3-devel jasper-devel libjpeg-turbo-devel libavif-devel libcaca-devel libexif-devel libpng-devel libspectre-devel libwebp-devel poppler-cpp-devel poppler-glib-devel readline-devel tiff-devel" checkdepends="dejagnu ghostscript tar which" make_check_args="-j1" short_desc="Fbi IMproved - image viewer" maintainer="Leah Neukirchen " license="GPL-2.0-or-later" homepage="https://www.nongnu.org/fbi-improved/" distfiles="${NONGNU_SITE}/fbi-improved/fim-${version}.tar.gz" checksum=3425648cd53e02849da44c20b061c038838dd489a59bcd67e6b0a706ec06779a pre_build() { make -C src CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" LDFLAGS="$BUILD_LDFLAGS" default_font_byte_array.h } pre_check() { export TERM=dumb }