blob: c71e535649879248a99686a626b31300df9b668e [file] [log] [blame]
Andrew Geisslerd5838332022-05-27 11:33:10 -05001DESCRIPTION = "OpenJPEG library is an open-source JPEG 2000 codec"
2HOMEPAGE = "http://www.openjpeg.org"
3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c648878b4840d7babaade1303e7f108c"
5
6DEPENDS = "libpng tiff lcms zlib"
7
8SRC_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 "
11SRCREV = "a5891555eb49ed7cc26b2901ea680acda136d811"
12S = "${WORKDIR}/git"
13
14inherit cmake
15
16# for multilib
17EXTRA_OECMAKE += "-DOPENJPEG_INSTALL_LIB_DIR=${@d.getVar('baselib').replace('/', '')}"
18
19FILES:${PN} += "${libdir}/openjpeg*"
20
21BBCLASSEXTEND = "native nativesdk"