blob: e6338548876eda041dcec8199a8f72ad0326b348 [file] [log] [blame]
Brad Bishop0a921262019-09-24 07:40:45 -04001SUMMARY = "Jpeg 2000 implementation"
Andrew Geisslera2681d92020-10-16 10:17:07 -05002HOMEPAGE = "https://jasper-software.github.io/jasper/"
Brad Bishop0a921262019-09-24 07:40:45 -04003LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a80440d1d8f17d041c71c7271d6e06eb"
5
Andrew Geisslerd688a012020-09-18 13:36:00 -05006SRC_URI = "git://github.com/jasper-software/jasper.git;protocol=https"
Andrew Geissler32b11992021-03-31 13:37:05 -05007SRCREV = "5083b949f0caa5bc6257cd81162a33c15bf8a1d1"
Brad Bishop0a921262019-09-24 07:40:45 -04008
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
Patrick Williams213cb262021-08-07 19:21:33 -050017EXTRA_OECMAKE:append = " -DJAS_ENABLE_SHARED=true"
Brad Bishop0a921262019-09-24 07:40:45 -040018
Patrick Williams213cb262021-08-07 19:21:33 -050019do_install:append() {
Brad Bishop0a921262019-09-24 07:40:45 -040020 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}