blob: a861bba5b85379267b36dd577e6514b0d8ac2981 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001DESCRIPTION = "A pedagogically-oriented open source site containing software that is broadly useful for image processing and image analysis applications"
2DEPENDS = "jpeg tiff libpng zlib"
3LICENSE = "BSD-2-Clause"
Andrew Geisslerd688a012020-09-18 13:36:00 -05004LIC_FILES_CHKSUM = "file://leptonica-license.txt;md5=809b282cea2df68975fbe0ffe02b560f"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -05006UPSTREAM_CHECK_URI = "https://github.com/DanBloomberg/leptonica/releases"
7
Brad Bishop15ae2502019-06-18 21:44:24 -04008SRC_URI = "http://www.leptonica.org/source/leptonica-${PV}.tar.gz"
Andrew Geisslerd688a012020-09-18 13:36:00 -05009SRC_URI[md5sum] = "d640d684234442a84c9e8902f0b3ff36"
10SRC_URI[sha256sum] = "ec9c46c2aefbb960fb6a6b7f800fe39de48343437b6ce08e30a8d9688ed14ba4"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011
12EXTRA_OECONF += " \
13 --without-libwebp \
14"
15
16PACKAGECONFIG ??= "giflib"
17PACKAGECONFIG[openjpeg] = "--with-libopenjpeg,--without-libopenjpeg,openjpeg"
18PACKAGECONFIG[giflib] = "--with-giflib,--without-giflib,giflib"
19
20inherit autotools pkgconfig