Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -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" |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame^] | 4 | LIC_FILES_CHKSUM = "file://leptonica-license.txt;md5=809b282cea2df68975fbe0ffe02b560f" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 5 | |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 6 | UPSTREAM_CHECK_URI = "https://github.com/DanBloomberg/leptonica/releases" |
| 7 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 8 | SRC_URI = "http://www.leptonica.org/source/leptonica-${PV}.tar.gz" |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame^] | 9 | SRC_URI[md5sum] = "d640d684234442a84c9e8902f0b3ff36" |
| 10 | SRC_URI[sha256sum] = "ec9c46c2aefbb960fb6a6b7f800fe39de48343437b6ce08e30a8d9688ed14ba4" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 11 | |
| 12 | EXTRA_OECONF += " \ |
| 13 | --without-libwebp \ |
| 14 | " |
| 15 | |
| 16 | PACKAGECONFIG ??= "giflib" |
| 17 | PACKAGECONFIG[openjpeg] = "--with-libopenjpeg,--without-libopenjpeg,openjpeg" |
| 18 | PACKAGECONFIG[giflib] = "--with-giflib,--without-giflib,giflib" |
| 19 | |
| 20 | inherit autotools pkgconfig |