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" |
| 4 | LIC_FILES_CHKSUM = "file://leptonica-license.txt;md5=34aa579294e8284b7b848c8d5d361e8f" |
| 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 | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame^] | 9 | SRC_URI[md5sum] = "a545654b1dae7d29e2ea346b29095f84" |
| 10 | SRC_URI[sha256sum] = "045966c9c5d60ebded314a9931007a56d9d2f7a6ac39cb5cc077c816f62300d8" |
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 |