mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-28 05:40:18 -04:00
Make compilable with wlroots 0.19.0-dev
This commit is contained in:
parent
2643966144
commit
0f9461c4c0
2 changed files with 8 additions and 1 deletions
|
|
@ -26,12 +26,18 @@ cc = meson.get_compiler('c')
|
||||||
# Adding include directory
|
# Adding include directory
|
||||||
inc_dir = include_directories('include')
|
inc_dir = include_directories('include')
|
||||||
|
|
||||||
|
if get_option('wlroots-version') != ''
|
||||||
|
wlroots_version = get_option('wlroots-version')
|
||||||
|
else
|
||||||
|
wlroots_version = ['wlroots-0.19', 'wlroots-0.18', 'wlroots']
|
||||||
|
endif
|
||||||
|
|
||||||
libevdev = dependency('libevdev')
|
libevdev = dependency('libevdev')
|
||||||
libinput = dependency('libinput', version: '>=1.21.0')
|
libinput = dependency('libinput', version: '>=1.21.0')
|
||||||
libxml2 = dependency('libxml-2.0')
|
libxml2 = dependency('libxml-2.0')
|
||||||
wayland_protos = dependency('wayland-protocols', version: '>=1.27')
|
wayland_protos = dependency('wayland-protocols', version: '>=1.27')
|
||||||
wayland_server = dependency('wayland-server', version: '>=1.15')
|
wayland_server = dependency('wayland-server', version: '>=1.15')
|
||||||
wlroots = dependency(['wlroots-0.18', 'wlroots'], version: '>=0.17.0')
|
wlroots = dependency(wlroots_version, version: '>=0.17.0')
|
||||||
xkbcommon = dependency('xkbcommon')
|
xkbcommon = dependency('xkbcommon')
|
||||||
|
|
||||||
msgfmt = find_program('msgfmt', required: false)
|
msgfmt = find_program('msgfmt', required: false)
|
||||||
|
|
|
||||||
1
meson_options.txt
Normal file
1
meson_options.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
option('wlroots-version', type: 'string', value: '', description: 'The version of wlroots with which to compile the compositor')
|
||||||
Loading…
Add table
Add a link
Reference in a new issue