leptonica: add required image support

This commit is contained in:
Mateusz Sylwestrzak 2025-04-19 22:58:51 +02:00 committed by John Zimmermann
parent d55d95fa1c
commit 5a1e8c59e8

View File

@ -1,10 +1,11 @@
# Template file for 'leptonica'
pkgname=leptonica
version=1.85.0
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config automake libtool"
makedepends="libopenjpeg2-devel libwebp-devel"
makedepends="libopenjpeg2-devel libwebp-devel libjpeg-turbo-devel tiff-devel
libpng-devel zlib-devel giflib-devel"
checkdepends="which gnuplot"
short_desc="Image processing and analysis library"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -13,11 +14,7 @@ homepage="http://leptonica.org/"
changelog="http://leptonica.org/source/version-notes.html"
distfiles="https://github.com/DanBloomberg/leptonica/archive/${version}.tar.gz"
checksum=c01376bce0379d4ea4bc2ec5d5cbddaa49e2f06f88242619ab8c059e21adf233
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686) make_check=no # a good portion of tests fail on these archs
;;
esac
make_check=no # a good portion of tests fail
pre_check() {
# disable failing tests