void-packages/srcpkgs/fim/template

28 lines
926 B
Bash
Raw Normal View History

2024-04-21 15:06:51 +02:00
# Template file for 'fim'
pkgname=fim
2024-05-22 16:37:10 +02:00
version=0.7.1
2024-04-21 15:06:51 +02:00
revision=1
build_style=gnu-configure
configure_args="--enable-poppler"
hostmakedepends="flex autoconf pkg-config"
2024-05-22 16:37:10 +02:00
makedepends="SDL2-devel djvulibre-devel giflib-devel gtk+3-devel jasper-devel
jpeg-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"
2024-04-21 15:06:51 +02:00
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"
2024-05-22 16:37:10 +02:00
checksum=3425648cd53e02849da44c20b061c038838dd489a59bcd67e6b0a706ec06779a
2024-04-21 15:06:51 +02:00
pre_build() {
make -C src CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" LDFLAGS="$BUILD_LDFLAGS" default_font_byte_array.h
}
2024-05-22 16:37:10 +02:00
pre_check() {
export TERM=dumb
}