project('GStreamer manuals and tutorials', 'c',
- version: '1.19.2.1',
- meson_version : '>= 0.54')
+ version: '1.20.0',
+ meson_version : '>= 0.59')
hotdoc_p = find_program('hotdoc')
if not hotdoc_p.found()
endif
hotdoc_req = '>= 0.12.2'
-hotdoc_version = run_command(hotdoc_p, '--version').stdout()
+hotdoc_version = run_command(hotdoc_p, '--version', check: false).stdout()
if not hotdoc_version.version_compare(hotdoc_req)
error('Hotdoc version @0@ not found, got @1@'.format(hotdoc_req, hotdoc_version))
endif
# gst-build will generate this file for us to consume so that subproject
# changes can still work
- fname = join_paths(meson.build_root(), 'GstDocumentedSubprojects')
+ fname = join_paths(meson.project_build_root(), '..', '..', 'GstDocumentedSubprojects')
cmdres = run_command(
python3,
'-c', read_file_contents,
fname,
+ check: false,
)
if cmdres.returncode() == 0
built_subprojects = cmdres.stdout().strip()