Commit c5b7de2c authored by Emmanuele Bassi's avatar Emmanuele Bassi

Allow forcing autotools for components with mixed builds

If a component has a mixed Autotools and Meson builds, allow selecting
the Autotools build, in case the Meson one is still experimental.
parent 0514fc44
......@@ -429,8 +429,9 @@
"patches": ["xorg-xcb-util-keysyms-autogen.patch"]},
{"src": "fd:xorg/xserver",
"config-opts": ["-Dxwayland=true",
"-Dglamor=true"]},
"force-autotools": true,
"config-opts": ["--enable-xwayland",
"--enable-glamor"]},
{"src": "fd:xcb/util"},
......
......@@ -150,11 +150,13 @@ def main(args):
if os.path.exists(configure_path):
os.unlink(configure_path)
force_autotools = metadata.get('force-autotools', False):
builddir = '_build'
use_builddir = True
meson_build = False
if os.path.exists('meson.build'):
if os.path.exists('meson.build') and not force_autotools:
meson_build = True
else:
autogen_script = None
......
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