blob: a0740a274085651cfa2a08317ae2e2fc2176735d [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 = " \
9 git://github.com/uclouvain/openjpeg.git \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080010 file://0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050011 file://CVE-2020-6851.patch \
12 file://CVE-2020-8112.patch \
Andrew Geisslerd688a012020-09-18 13:36:00 -050013 file://CVE-2020-15389.patch \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014"
Brad Bishopb809eb92019-09-18 06:27:43 -040015SRCREV = "57096325457f96d8cd07bd3af04fe81d7a2ba788"
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
23FILES_${PN} += "${libdir}/openjpeg*"