blob: f248619ec8e2155e8209386ea40bc454f78bd6af [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001DESCRIPTION = "OpenJPEG library is an open-source JPEG 2000 codec"
2HOMEPAGE = "http://www.openjpeg.org"
Brad Bishop6a62e0e2019-10-21 08:11:42 -04003LICENSE = "BSD-2-Clause"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08004LIC_FILES_CHKSUM = "file://LICENSE;md5=c648878b4840d7babaade1303e7f108c"
5
6DEPENDS = "libpng tiff lcms zlib"
7
8SRC_URI = " \
Andrew Geissler595f6302022-01-24 19:11:47 +00009 git://github.com/uclouvain/openjpeg.git;branch=master;protocol=https \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080010 file://0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch \
Andrew Geissler72956ed2021-01-08 16:11:14 -060011 file://0001-This-patch-fixed-include-dir-to-usr-include-.-Obviou.patch \
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000012 file://CVE-2021-29338.patch \
Patrick Williams03907ee2022-05-01 06:28:52 -050013 file://CVE-2022-1122.patch \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014"
Andrew Geissler72956ed2021-01-08 16:11:14 -060015SRCREV = "37ac30ceff6640bbab502388c5e0fa0bff23f505"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016S = "${WORKDIR}/git"
17
18inherit cmake
Brad Bishopcdf48592019-02-04 08:30:59 -050019
20# for multilib
21EXTRA_OECMAKE += "-DOPENJPEG_INSTALL_LIB_DIR=${@d.getVar('baselib').replace('/', '')}"
Brad Bishopb809eb92019-09-18 06:27:43 -040022
Patrick Williams213cb262021-08-07 19:21:33 -050023FILES:${PN} += "${libdir}/openjpeg*"
Andrew Geissler32b11992021-03-31 13:37:05 -050024
25BBCLASSEXTEND = "native nativesdk"