diff options
Diffstat (limited to 'meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb')
-rw-r--r-- | meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb b/meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb new file mode 100644 index 000000000..4ef1c408f --- /dev/null +++ b/meta-oe/recipes-graphics/openjpeg/openjpeg_2.2.0.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | DESCRIPTION = "OpenJPEG library is an open-source JPEG 2000 codec" | ||
2 | HOMEPAGE = "http://www.openjpeg.org" | ||
3 | |||
4 | LICENSE = "BSD" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c648878b4840d7babaade1303e7f108c" | ||
6 | |||
7 | SRC_URI = "https://github.com/uclouvain/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz \ | ||
8 | file://0001-bmp_read_info_header-reject-bmp-files-with-biBitCoun.patch \ | ||
9 | " | ||
10 | SRC_URI[md5sum] = "269bb0b175476f3addcc0d03bd9a97b6" | ||
11 | SRC_URI[sha256sum] = "6fddbce5a618e910e03ad00d66e7fcd09cc6ee307ce69932666d54c73b7c6e7b" | ||
12 | |||
13 | inherit cmake | ||
14 | |||
15 | DEPENDS = "libpng tiff lcms zlib" | ||
16 | |||
17 | # standard path for *.cmake | ||
18 | EXTRA_OECMAKE += "-DOPENJPEG_INSTALL_PACKAGE_DIR=${baselib}/cmake \ | ||
19 | -DOPENJPEG_INSTALL_LIB_DIR:PATH=${libdir}" | ||
20 | |||
21 | FILES_${PN}-dev += "${libdir}/cmake/*.cmake" | ||