gimp: add support for jpeg-xl

This commit is contained in:
MarkusVolk 2021-10-21 12:05:23 +02:00
parent 5df277c84c
commit 47cd5b7b97
4 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1,18 @@
SUMMARY = "Brotli is a generic-purpose lossless compression algorithm."
HOMEPAGE = "https://github.com/google/brotli/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=941ee9cd1609382f946352712a319b4b"
inherit cmake pkgconfig
SRC_URI = " \
git://github.com/google/brotli.git;protocol=https \
"
PV = "1.0.9"
SRCREV = "v${PV}"
S = "${WORKDIR}/git"
EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"

View File

@ -0,0 +1,18 @@
SUMMARY = "Highway is a C++ library for SIMD (Single Instruction, Multiple Data)"
HOMEPAGE = "https://github.com/google/highway/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2b42edef8fa55315f34f2370b4715ca9"
inherit cmake pkgconfig
SRC_URI = " \
git://github.com/google/highway.git;protocol=https \
"
PV = "0.14.2"
SRCREV = "${PV}"
S = "${WORKDIR}/git"
EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release"

View File

@ -0,0 +1,36 @@
SUMMARY = "Reference implementation of JPEG XL (encoder and decoder)"
HOMEPAGE = "https://github.com/libjxl/libjxl/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6a905a337cc228a1f68f0b5416f52a7f"
inherit cmake pkgconfig
DEPENDS = "highway brotli"
SRC_URI = " \
gitsm://github.com/libjxl/libjxl.git;protocol=https;branch=v0.6.x \
"
PV = "0.6"
SRCREV = "v${PV}"
S = "${WORKDIR}/git"
EXTRA_OECMAKE = " \
-DCMAKE_BUILD_TYPE=Release \
-DJPEGXL_ENABLE_PLUGINS=OFF \
-DBUILD_TESTING=OFF \
-DJPEGXL_WARNINGS_AS_ERRORS=OFF \
-DJPEGXL_ENABLE_SJPEG=OFF \
-DJPEGXL_ENABLE_BENCHMARK=OFF \
-DJPEGXL_ENABLE_EXAMPLES=OFF \
-DJPEGXL_ENABLE_MANPAGES=OFF \
-DJPEGXL_ENABLE_SKCMS=ON \
-DJPEGXL_FORCE_SYSTEM_BROTLI=ON \
-DJPEGXL_FORCE_SYSTEM_HWY=ON \
-DJPEGXL_ENABLE_JNI=OFF \
-DJPEGXL_ENABLE_TCMALLOC=OFF \
-DJPEGXL_ENABLE_TOOLS=OFF \
"

View File

@ -62,6 +62,7 @@ PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev"
PACKAGECONFIG[javascript] = "-Djavascript=true,-Djavascript=false,,openjre-8" PACKAGECONFIG[javascript] = "-Djavascript=true,-Djavascript=false,,openjre-8"
PACKAGECONFIG[jpeg2000] = "-Djpeg2000=enabled,-Djpeg2000=disabled,jasper" PACKAGECONFIG[jpeg2000] = "-Djpeg2000=enabled,-Djpeg2000=disabled,jasper"
PACKAGECONFIG[jpeg] = ",,jpeg" PACKAGECONFIG[jpeg] = ",,jpeg"
PACKAGECONFIG[jpeg-xl] = ",,libjxl"
PACKAGECONFIG[libunwind] = ",,libunwind" PACKAGECONFIG[libunwind] = ",,libunwind"
PACKAGECONFIG[libbacktrace] = ",,libbacktrace" PACKAGECONFIG[libbacktrace] = ",,libbacktrace"
PACKAGECONFIG[lua] = "-Dlua=true,-Dlua=false,,luajit lgi" PACKAGECONFIG[lua] = "-Dlua=true,-Dlua=false,,luajit lgi"
@ -89,6 +90,7 @@ PACKAGECONFIG ?= " \
gudev \ gudev \
jpeg \ jpeg \
jpeg2000 \ jpeg2000 \
jpeg-xl \
lua \ lua \
lzma \ lzma \
mng \ mng \