meta-wayland/recipes-graphics/libjxl/libjxl_git.bb

38 lines
942 B
BlitzBasic
Raw Normal View History

2021-10-21 12:05:23 +02:00
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 = " \
2022-01-08 08:53:12 +01:00
gitsm://github.com/libjxl/libjxl.git;protocol=https;nobranch=1 \
2021-10-21 12:05:23 +02:00
"
2021-12-25 23:09:17 +01:00
PV = "0.6.1"
2022-07-06 08:00:11 +02:00
SRCREV = "ae95f451e0d23a209fa22efac4771969a23dac99"
2021-10-21 12:05:23 +02:00
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 \
2021-12-25 22:34:29 +01:00
"
CXXFLAGS:append:arm = " -mfp16-format=ieee"