Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 1 | DESCRIPTION = "OpenJPEG library is an open-source JPEG 2000 codec" |
| 2 | HOMEPAGE = "http://www.openjpeg.org" |
| 3 | LICENSE = "BSD-2-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c648878b4840d7babaade1303e7f108c" |
| 5 | |
| 6 | DEPENDS = "libpng tiff lcms zlib" |
| 7 | |
| 8 | SRC_URI = "git://github.com/uclouvain/openjpeg.git;branch=master;protocol=https \ |
| 9 | file://0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch \ |
| 10 | " |
| 11 | SRCREV = "a5891555eb49ed7cc26b2901ea680acda136d811" |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | inherit cmake |
| 15 | |
| 16 | # for multilib |
| 17 | EXTRA_OECMAKE += "-DOPENJPEG_INSTALL_LIB_DIR=${@d.getVar('baselib').replace('/', '')}" |
| 18 | |
| 19 | FILES:${PN} += "${libdir}/openjpeg*" |
| 20 | |
| 21 | BBCLASSEXTEND = "native nativesdk" |