void-packages/srcpkgs/fim/template

29 lines
964 B
Bash

# Template file for 'fim'
pkgname=fim
version=0.7.1
revision=2
build_style=gnu-configure
configure_args="--enable-poppler"
make_check_args="-j1"
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"
short_desc="Fbi IMproved - image viewer"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://www.nongnu.org/fbi-improved/"
distfiles="${NONGNU_SITE}/fbi-improved/fim-${version}.tar.gz"
checksum=3425648cd53e02849da44c20b061c038838dd489a59bcd67e6b0a706ec06779a
export CXXFLAGS="-std=c++20"
pre_build() {
make -C src CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" LDFLAGS="$BUILD_LDFLAGS" default_font_byte_array.h
}
pre_check() {
export TERM=dumb
}