mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
Require hotdoc >= 0.12.2
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/97>
This commit is contained in:
parent
0f90758ead
commit
4b37c27858
2 changed files with 18 additions and 0 deletions
17
meson.build
17
meson.build
|
@ -2,6 +2,23 @@ project('GStreamer manuals and tutorials', 'c',
|
||||||
version: '1.17.1.1',
|
version: '1.17.1.1',
|
||||||
meson_version: '>=0.48.0')
|
meson_version: '>=0.48.0')
|
||||||
|
|
||||||
|
hotdoc_p = find_program('hotdoc')
|
||||||
|
if not hotdoc_p.found()
|
||||||
|
message('Hotdoc not found, not building the documentation')
|
||||||
|
subdir_done()
|
||||||
|
endif
|
||||||
|
|
||||||
|
hotdoc_req = '>= 0.12.2'
|
||||||
|
hotdoc_version = run_command(hotdoc_p, '--version').stdout()
|
||||||
|
if not hotdoc_version.version_compare(hotdoc_req)
|
||||||
|
if get_option('doc').enabled()
|
||||||
|
error('Hotdoc version @0@ not found, got @1@'.format(hotdoc_req, hotdoc_version))
|
||||||
|
else
|
||||||
|
message('Hotdoc version @0@ not found, got @1@'.format(hotdoc_req, hotdoc_version))
|
||||||
|
subdir_done()
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
hotdoc = import('hotdoc')
|
hotdoc = import('hotdoc')
|
||||||
hotdoc_subprojects = []
|
hotdoc_subprojects = []
|
||||||
|
|
||||||
|
|
|
@ -62072,5 +62072,6 @@
|
||||||
"zbar:message",
|
"zbar:message",
|
||||||
"GstZBar!sink",
|
"GstZBar!sink",
|
||||||
"GstZBar!src",
|
"GstZBar!src",
|
||||||
|
"plugin-gstomx",
|
||||||
"plugin-gstzbar"
|
"plugin-gstzbar"
|
||||||
]
|
]
|
Loading…
Reference in a new issue