GitLab will be down for maintenance this Sunday 13th June, from approx 7-11am UTC. This is for a PostgreSQL migration. See the tracker issue for more informations.

Commit 4b37c278 authored by Thibault Saunier's avatar Thibault Saunier 🌵
Browse files

Require hotdoc >= 0.12.2

Part-of: <gstreamer/gst-docs!97>
parent 0f90758e
......@@ -2,6 +2,23 @@ project('GStreamer manuals and tutorials', 'c',
version: '1.17.1.1',
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_subprojects = []
......
......@@ -62072,5 +62072,6 @@
"zbar:message",
"GstZBar!sink",
"GstZBar!src",
"plugin-gstomx",
"plugin-gstzbar"
]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment