meson: Require specific versions of aml and neatvnc

srht-ci
Andri Yngvason 2023-01-22 13:11:08 +00:00
parent 267a4e55e3
commit 1e9b531ad9
1 changed files with 4 additions and 3 deletions

View File

@ -53,7 +53,8 @@ xkbcommon = dependency('xkbcommon', version: '>=1.0.0')
wayland_client = dependency('wayland-client') wayland_client = dependency('wayland-client')
jansson = dependency('jansson') jansson = dependency('jansson')
neatvnc_version = '>=0.5.0' aml_version = ['>=0.3.0', '<0.4.0']
neatvnc_version = ['>=0.6.0', '<0.7.0']
neatvnc_project = subproject( neatvnc_project = subproject(
'neatvnc', 'neatvnc',
@ -61,11 +62,11 @@ neatvnc_project = subproject(
version: neatvnc_version, version: neatvnc_version,
) )
aml_project = subproject('aml', required: false) aml_project = subproject('aml', required: false, version: aml_version)
if aml_project.found() if aml_project.found()
aml = aml_project.get_variable('aml_dep') aml = aml_project.get_variable('aml_dep')
else else
aml = dependency('aml') aml = dependency('aml', version: aml_version)
endif endif
if neatvnc_project.found() if neatvnc_project.found()