flatpak: minor fixes in libde265 and libjxl modules

don't build unnecessary tools from libde265
libjxl uses existing BROTLI library instead of bundled one
This commit is contained in:
Daniel Novomeský 2022-09-29 13:43:01 +02:00
parent 4ab1102ae2
commit 403d11330c
1 changed files with 9 additions and 6 deletions

View File

@ -505,6 +505,8 @@
{
"name": "libde265",
"config-opts": [
"--disable-dec265",
"--disable-encoder",
"--disable-sherlock265"
],
"cleanup": [
@ -636,18 +638,19 @@
{
"name": "libjxl",
"config-opts": [
"-DJPEGXL_ENABLE_PLUGINS=OFF",
"-DBUILD_TESTING=OFF",
"-DJPEGXL_WARNINGS_AS_ERRORS=OFF",
"-DJPEGXL_ENABLE_SJPEG=OFF",
"-DJPEGXL_ENABLE_BENCHMARK=OFF",
"-DJPEGXL_ENABLE_DOXYGEN=OFF",
"-DJPEGXL_ENABLE_EXAMPLES=OFF",
"-DJPEGXL_ENABLE_MANPAGES=OFF",
"-DJPEGXL_ENABLE_SKCMS=ON",
"-DJPEGXL_ENABLE_JNI=OFF",
"-DJPEGXL_ENABLE_MANPAGES=OFF",
"-DJPEGXL_ENABLE_PLUGINS=OFF",
"-DJPEGXL_ENABLE_SJPEG=OFF",
"-DJPEGXL_ENABLE_SKCMS=ON",
"-DJPEGXL_ENABLE_TCMALLOC=OFF",
"-DJPEGXL_ENABLE_TOOLS=OFF"
"-DJPEGXL_ENABLE_TOOLS=OFF",
"-DJPEGXL_FORCE_SYSTEM_BROTLI=ON",
"-DJPEGXL_WARNINGS_AS_ERRORS=OFF"
],
"buildsystem": "cmake-ninja",
"builddir": true,