fim: revbump for libpoppler, use c++20

This commit is contained in:
Mateusz Sylwestrzak 2024-08-22 17:07:57 +02:00 committed by Đoàn Trần Công Danh
parent b676978e17
commit 4b3b94fe00
1 changed files with 3 additions and 2 deletions

View File

@ -1,22 +1,23 @@
# Template file for 'fim'
pkgname=fim
version=0.7.1
revision=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"
make_check_args="-j1"
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