diff options
| -rw-r--r-- | meta-oe/recipes-graphics/jasper/jasper_2.0.33.bb | 26 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb | 33 |
2 files changed, 33 insertions, 26 deletions
diff --git a/meta-oe/recipes-graphics/jasper/jasper_2.0.33.bb b/meta-oe/recipes-graphics/jasper/jasper_2.0.33.bb deleted file mode 100644 index 85da5bfb4d..0000000000 --- a/meta-oe/recipes-graphics/jasper/jasper_2.0.33.bb +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | SUMMARY = "Jpeg 2000 implementation" | ||
| 2 | HOMEPAGE = "https://jasper-software.github.io/jasper/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a80440d1d8f17d041c71c7271d6e06eb" | ||
| 5 | |||
| 6 | SRC_URI = "git://github.com/jasper-software/jasper.git;protocol=https;branch=master" | ||
| 7 | SRCREV = "fe00207dc10db1d7cc6f2757961c5c6bdfd10973" | ||
| 8 | |||
| 9 | CVE_STATUS[CVE-2015-8751] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | inherit cmake | ||
| 14 | |||
| 15 | PACKAGECONFIG ??= "" | ||
| 16 | PACKAGECONFIG[jpeg] = "-DJAS_ENABLE_LIBJPEG=true, -DJAS_ENABLE_LIBJPEG=false, jpeg" | ||
| 17 | PACKAGECONFIG[opengl] = "-DJAS_ENABLE_OPENGL=true, -DJAS_ENABLE_OPENGL=false, freeglut" | ||
| 18 | |||
| 19 | EXTRA_OECMAKE:append = " -DJAS_ENABLE_SHARED=true" | ||
| 20 | |||
| 21 | do_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 | } | ||
diff --git a/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb b/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb new file mode 100644 index 0000000000..9052855d1f --- /dev/null +++ b/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | SUMMARY = "Jpeg 2000 implementation" | ||
| 2 | HOMEPAGE = "https://jasper-software.github.io/jasper/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a80440d1d8f17d041c71c7271d6e06eb" | ||
| 5 | |||
| 6 | SRC_URI = "git://github.com/jasper-software/jasper.git;protocol=https;branch=master" | ||
| 7 | SRCREV = "917f7708b755d8434f70618108c1a76f1b6a0a82" | ||
| 8 | |||
| 9 | CVE_STATUS[CVE-2015-8751] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | inherit cmake | ||
| 14 | |||
| 15 | do_configure:prepend() { | ||
| 16 | JAS_STDC_VERSION="$(echo __STDC_VERSION__ | ${CPP} -E -P -)" | ||
| 17 | } | ||
| 18 | |||
| 19 | EXTRA_OECMAKE:append = " -DJAS_STDC_VERSION=${JAS_STDC_VERSION}" | ||
| 20 | |||
| 21 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)} \ | ||
| 22 | jpeg" | ||
| 23 | |||
| 24 | PACKAGECONFIG[jpeg] = "-DJAS_ENABLE_LIBJPEG=ON,-DJAS_ENABLE_LIBJPEG=OFF,jpeg," | ||
| 25 | PACKAGECONFIG[opengl] = "-DJAS_ENABLE_OPENGL=ON,-DJAS_ENABLE_OPENGL=OFF,freeglut," | ||
| 26 | |||
| 27 | do_install:append() { | ||
| 28 | chrpath -d ${D}${bindir}/jasper | ||
| 29 | chrpath -d ${D}${bindir}/imginfo | ||
| 30 | chrpath -d ${D}${bindir}/imgcmp | ||
| 31 | chrpath -d ${D}${libdir}/libjasper.so.* | ||
| 32 | } | ||
| 33 | |||
