Files
qdl/meson_options.txt
Igor Opaniuk 6e7fe73d3c meson: lower the required meson version to 0.56
qdl cannot be packaged for EPEL 9, because RHEL 9 ships meson 0.63.3
and the build stops at the version check:

  meson.build:1:0: ERROR: Meson version is 0.63.3 but project
  requires >=1.1.0

The only thing in the build actually requiring meson 1.1 is the
meson.options file name. The build rules themselves need nothing newer
than project_source_root() and project_build_root() from 0.56. Rename
the options file to the older meson_options.txt spelling, which every
meson version understands, and lower the floor to what the rules
require.

Verified by building with meson 0.56.2 (the new floor), 0.63.3 (EL9)
and 1.10.1, each with the zip container both enabled and disabled.

Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
2026-09-30 12:03:36 +02:00

5 lines
411 B
Meson

option('VERSION', type: 'string', value: '', description: 'Project version')
option('tests', type: 'feature', value: 'auto', description: 'Build unit tests (requires cmocka)')
option('nbdkit', type: 'feature', value: 'auto', description: 'Build the nbdkit plugin (requires nbdkit)')
option('zip-container', type: 'feature', value: 'enabled', description: 'Flash from and create zip archives (requires libzip)')