mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-19 14:33:16 -04:00
build(deps): add wrap files for 'scenefx' and 'wlroots'
Allows meson to fallback on fetching and building these projects in case they are not available/out-of-date on the system (can be avoided by passing '--wrap-mode=nofallback' to 'meson setup').
This commit is contained in:
parent
d81ca73ea1
commit
dde8ee131c
4 changed files with 16 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,6 +1,8 @@
|
|||
/.cache
|
||||
/.vscode
|
||||
/result
|
||||
/subprojects/*
|
||||
!/subprojects/*.wrap
|
||||
config.h
|
||||
mango
|
||||
mango.o
|
||||
|
|
|
|||
|
|
@ -29,12 +29,12 @@ libm = cc.find_library('m')
|
|||
xcb = dependency('xcb', required : get_option('xwayland'))
|
||||
xlibs = dependency('xcb-icccm', required : get_option('xwayland'))
|
||||
wayland_server_dep = dependency('wayland-server',version: '>=1.23.1')
|
||||
wlroots_dep = dependency('wlroots-0.19',version: '>=0.19.0')
|
||||
wlroots_dep = dependency('wlroots-0.19', version: '>=0.19.0', fallback: 'wlroots')
|
||||
xkbcommon_dep = dependency('xkbcommon')
|
||||
libinput_dep = dependency('libinput',version: '>=1.27.1')
|
||||
libwayland_client_dep = dependency('wayland-client')
|
||||
pcre2_dep = dependency('libpcre2-8')
|
||||
libscenefx_dep = dependency('scenefx-0.4',version: '>=0.4.1')
|
||||
libscenefx_dep = dependency('scenefx-0.4',version: '>=0.4.1', fallback: 'libscenefx')
|
||||
pixman_dep = dependency('pixman-1')
|
||||
cjson_dep = dependency('libcjson')
|
||||
|
||||
|
|
|
|||
6
subprojects/libscenefx.wrap
Normal file
6
subprojects/libscenefx.wrap
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[wrap-git]
|
||||
url = https://github.com/wlrfx/scenefx.git
|
||||
revision = 0.4.1
|
||||
|
||||
[provide]
|
||||
dependency_names = scenefx-0.4
|
||||
6
subprojects/wlroots.wrap
Normal file
6
subprojects/wlroots.wrap
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[wrap-git]
|
||||
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||
revision = 0.19.3
|
||||
|
||||
[provide]
|
||||
dependency_names = wlroots-0.19
|
||||
Loading…
Add table
Add a link
Reference in a new issue