summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/jasper/jasper_2.0.26.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/jasper/jasper_2.0.26.bb')
-rw-r--r--meta-oe/recipes-graphics/jasper/jasper_2.0.26.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/jasper/jasper_2.0.26.bb b/meta-oe/recipes-graphics/jasper/jasper_2.0.26.bb
new file mode 100644
index 0000000000..de28af8baf
--- /dev/null
+++ b/meta-oe/recipes-graphics/jasper/jasper_2.0.26.bb
@@ -0,0 +1,24 @@
1SUMMARY = "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"
7SRCREV = "5083b949f0caa5bc6257cd81162a33c15bf8a1d1"
8
9S = "${WORKDIR}/git"
10
11inherit cmake
12
13PACKAGECONFIG ??= ""
14PACKAGECONFIG[jpeg] = "-DJAS_ENABLE_LIBJPEG=true, -DJAS_ENABLE_LIBJPEG=false, jpeg"
15PACKAGECONFIG[opengl] = "-DJAS_ENABLE_OPENGL=true, -DJAS_ENABLE_OPENGL=false, freeglut"
16
17EXTRA_OECMAKE_append = " -DJAS_ENABLE_SHARED=true"
18
19do_install_append() {
20 chrpath -d ${D}${bindir}/jasper
21 chrpath -d ${D}${bindir}/imginfo
22 chrpath -d ${D}${bindir}/imgcmp
23 chrpath -d ${D}${libdir}/libjasper.so.*
24}