blob: 85da5bfb4dd4b2a4aefd687852cb164fd6e460e0 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "Jpeg 2000 implementation"
2HOMEPAGE = "https://jasper-software.github.io/jasper/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a80440d1d8f17d041c71c7271d6e06eb"
5
6SRC_URI = "git://github.com/jasper-software/jasper.git;protocol=https;branch=master"
7SRCREV = "fe00207dc10db1d7cc6f2757961c5c6bdfd10973"
8
Patrick Williams2a254922023-08-11 09:48:11 -05009CVE_STATUS[CVE-2015-8751] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
Patrick Williamsdb4c27e2022-08-05 08:10:29 -050010
Andrew Geissler595f6302022-01-24 19:11:47 +000011S = "${WORKDIR}/git"
12
13inherit cmake
14
15PACKAGECONFIG ??= ""
16PACKAGECONFIG[jpeg] = "-DJAS_ENABLE_LIBJPEG=true, -DJAS_ENABLE_LIBJPEG=false, jpeg"
17PACKAGECONFIG[opengl] = "-DJAS_ENABLE_OPENGL=true, -DJAS_ENABLE_OPENGL=false, freeglut"
18
19EXTRA_OECMAKE:append = " -DJAS_ENABLE_SHARED=true"
20
21do_install:append() {
22 chrpath -d ${D}${bindir}/jasper
23 chrpath -d ${D}${bindir}/imginfo
24 chrpath -d ${D}${bindir}/imgcmp
25 chrpath -d ${D}${libdir}/libjasper.so.*
26}