Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 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 | |
Patrick Williams | db4c27e | 2022-08-05 08:10:29 -0500 | [diff] [blame^] | 9 | CVE_CHECK_IGNORE += "\ |
| 10 | CVE-2015-8751 \ |
| 11 | " |
| 12 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | inherit cmake |
| 16 | |
| 17 | PACKAGECONFIG ??= "" |
| 18 | PACKAGECONFIG[jpeg] = "-DJAS_ENABLE_LIBJPEG=true, -DJAS_ENABLE_LIBJPEG=false, jpeg" |
| 19 | PACKAGECONFIG[opengl] = "-DJAS_ENABLE_OPENGL=true, -DJAS_ENABLE_OPENGL=false, freeglut" |
| 20 | |
| 21 | EXTRA_OECMAKE:append = " -DJAS_ENABLE_SHARED=true" |
| 22 | |
| 23 | do_install:append() { |
| 24 | chrpath -d ${D}${bindir}/jasper |
| 25 | chrpath -d ${D}${bindir}/imginfo |
| 26 | chrpath -d ${D}${bindir}/imgcmp |
| 27 | chrpath -d ${D}${libdir}/libjasper.so.* |
| 28 | } |