Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 1 | DESCRIPTION = "A pedagogically-oriented open source site containing software that is broadly useful for image processing and image analysis applications" |
| 2 | DEPENDS = "jpeg tiff libpng zlib" |
| 3 | LICENSE = "BSD-2-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://leptonica-license.txt;md5=809b282cea2df68975fbe0ffe02b560f" |
| 5 | |
| 6 | UPSTREAM_CHECK_URI = "https://github.com/DanBloomberg/leptonica/releases" |
| 7 | |
| 8 | SRC_URI = "http://www.leptonica.org/source/leptonica-${PV}.tar.gz" |
| 9 | SRC_URI[sha256sum] = "155302ee914668c27b6fe3ca9ff2da63b245f6d62f3061c8f27563774b8ae2d6" |
| 10 | |
| 11 | EXTRA_OECONF += " \ |
| 12 | --without-libwebp \ |
| 13 | " |
| 14 | |
| 15 | PACKAGECONFIG ??= "giflib" |
| 16 | PACKAGECONFIG[openjpeg] = "--with-libopenjpeg,--without-libopenjpeg,openjpeg" |
| 17 | PACKAGECONFIG[giflib] = "--with-giflib,--without-giflib,giflib" |
| 18 | |
| 19 | inherit autotools pkgconfig |