parent
fbbe6d5dfb
commit
d6ed82a783
|
@ -6,4 +6,4 @@ build*
|
||||||
.lite-debug.log
|
.lite-debug.log
|
||||||
subprojects/lua
|
subprojects/lua
|
||||||
subprojects/libagg
|
subprojects/libagg
|
||||||
sybprojects/lua
|
subprojects/reproc
|
||||||
|
|
|
@ -10,14 +10,15 @@ libdl = cc.find_library('dl', required : false)
|
||||||
libx11 = dependency('x11', required : false)
|
libx11 = dependency('x11', required : false)
|
||||||
lua_dep = dependency('lua5.2', required : false)
|
lua_dep = dependency('lua5.2', required : false)
|
||||||
pcre2_dep = dependency('libpcre2-8')
|
pcre2_dep = dependency('libpcre2-8')
|
||||||
|
sdl_dep = dependency('sdl2', method: 'config-tool')
|
||||||
|
|
||||||
if not lua_dep.found()
|
if not lua_dep.found()
|
||||||
lua_subproject = subproject('lua', default_options: ['shared=false', 'use_readline=false', 'app=false'])
|
lua_subproject = subproject('lua', default_options: ['shared=false', 'use_readline=false', 'app=false'])
|
||||||
lua_dep = lua_subproject.get_variable('lua_dep')
|
lua_dep = lua_subproject.get_variable('lua_dep')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
sdl_dep = dependency('sdl2', method: 'config-tool')
|
reproc_subproject = subproject('reproc', default_options: ['default_library=static', 'multithreaded=false', 'reproc-cpp=false', 'examples=false'])
|
||||||
reproc_dep = dependency('reproc')
|
reproc_dep = reproc_subproject.get_variable('reproc_dep')
|
||||||
|
|
||||||
lite_deps = [lua_dep, sdl_dep, reproc_dep, pcre2_dep, libm, libdl, libx11]
|
lite_deps = [lua_dep, sdl_dep, reproc_dep, pcre2_dep, libm, libdl, libx11]
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[wrap-git]
|
||||||
|
directory = reproc
|
||||||
|
url = https://github.com/franko/reproc
|
||||||
|
revision = v14.2.2-meson-1
|
Loading…
Reference in New Issue