Files
RedBear-OS/local/recipes/libs/lcms2/source/testbed/meson.build
T
vasilito 1a9d77761e fix(qtdeclarative): properly generate qtquick-config.h features
The qtquick-config.h file was being generated empty by the cmake
build, causing 'division by zero in #if' errors in downstream
consumers (SDDM, KWin) because QT_CONFIG(quick_shadereffect) and
QT_CONFIG(quick_draganddrop) were undefined.

Two fixes:
1. Explicitly enable QT_FEATURE_quick_shadereffect and
   QT_FEATURE_quick_draganddrop in the cmake configuration.
2. Add a safety net that regenerates qtquick-config.h with the
   required feature definitions if cmake produces an empty file.
2026-06-21 15:12:40 +03:00

32 lines
675 B
Meson

testcms_srcs = files(
'testcms2.c',
'testplugin.c',
'zoo_icc.c',
)
# copy all iccs to the build dir and run the tests there
iccs = [
'bad.icc', 'crayons.icc', 'new.icc', 'test2.icc', 'test4.icc',
'bad_mpe.icc', 'ibm-t61.icc', 'test1.icc', 'test3.icc', 'test5.icc',
'toosmall.icc'
]
# fs=import('fs') - requires Meson >=0.53.0
foreach icc : iccs
# fs.copyfile(icc) # DOES NOT WORK ON FEDORA 40
configure_file(input : icc, output : icc, copy : true)
endforeach
testcms = executable(
'testcms',
testcms_srcs,
dependencies: [liblcms2_dep, m_dep],
c_args: cargs,
)
test(
'testcms',
testcms,
workdir: meson.current_build_dir(),
timeout: 600,
)