NOT FOR MERGE: use 0.16-backports branch of wlroots

This commit is contained in:
John Lindgren 2023-10-15 15:39:08 -04:00
parent 7b644b3b94
commit 9eccaf4379
2 changed files with 5 additions and 7 deletions

View file

@ -48,11 +48,8 @@ if git.found()
endif endif
add_project_arguments('-DLABWC_VERSION=@0@'.format(version), language: 'c') add_project_arguments('-DLABWC_VERSION=@0@'.format(version), language: 'c')
wlroots = dependency( # jlindgren: force use of wlroots subproject
'wlroots', wlroots = subproject('wlroots').get_variable('wlroots')
default_options: ['default_library=static', 'examples=false'],
version: ['>=0.16.0', '<0.17.0'],
)
wlroots_has_xwayland = wlroots.get_variable('have_xwayland') == 'true' wlroots_has_xwayland = wlroots.get_variable('have_xwayland') == 'true'

View file

@ -1,6 +1,7 @@
[wrap-git] [wrap-git]
url = https://gitlab.freedesktop.org/wlroots/wlroots.git # jlindgren: use 0.16-backports branch of wlroots
revision = 0.16 url = https://github.com/jlindgren90/wlroots.git
revision = 0.16-backports
[provide] [provide]
dependency_names = wlroots dependency_names = wlroots