Skip to content
Snippets Groups Projects
Commit 404d0168 authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

meson: add dependency on lua 5.3

parent a2181fc3
No related branches found
No related tags found
No related merge requests found
build/
subprojects/cpptoml/
subprojects/lua-*
subprojects/packagecache/
src/config/*testsrc.node
......@@ -40,6 +40,18 @@ gio_dep = dependency('gio-2.0', version : '== ' + gobject_dep.version())
giounix_dep = dependency('gio-unix-2.0', version : '== ' + gobject_dep.version())
pipewire_dep = dependency('libpipewire-0.3')
lua_dep = dependency('lua', version: '>= 5.3.0', required: false)
if not lua_dep.found()
lua_dep = dependency('lua5.3', version: '>= 5.3.0', required: false)
if not lua_dep.found()
lua_dep = dependency('lua-5.3', version: '>= 5.3.0', required: false)
if not lua_dep.found()
lua_proj = subproject('lua')
lua_dep = lua_proj.get_variable('lua_dep')
endif
endif
endif
gnome = import('gnome')
pkgconfig = import('pkgconfig')
gir = find_program('g-ir-scanner', required : get_option('introspection'))
......
[wrap-file]
directory = lua-5.3.6
source_url = https://www.lua.org/ftp/lua-5.3.6.tar.gz
source_filename = lua-5.3.6.tar.gz
source_hash = fc5fd69bb8736323f026672b1b7235da613d7177e72558893a0bdcd320466d60
patch_url = https://wrapdb.mesonbuild.com/v1/projects/lua/5.3.6/1/get_zip
patch_filename = lua-5.3.6-1-wrap.zip
patch_hash = dd045301a56c7c1fb8d4545cadb93981fe95c44c9526cb58cc75a1b74a2c5116
[provides]
lua-5.3 = lua_dep
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment