mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-24 06:10:03 +01:00
meson: add dependency on lua 5.3
This commit is contained in:
parent
a2181fc3f4
commit
404d016852
3 changed files with 25 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,3 +1,5 @@
|
||||||
build/
|
build/
|
||||||
subprojects/cpptoml/
|
subprojects/cpptoml/
|
||||||
|
subprojects/lua-*
|
||||||
|
subprojects/packagecache/
|
||||||
src/config/*testsrc.node
|
src/config/*testsrc.node
|
||||||
|
|
|
||||||
12
meson.build
12
meson.build
|
|
@ -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())
|
giounix_dep = dependency('gio-unix-2.0', version : '== ' + gobject_dep.version())
|
||||||
pipewire_dep = dependency('libpipewire-0.3')
|
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')
|
gnome = import('gnome')
|
||||||
pkgconfig = import('pkgconfig')
|
pkgconfig = import('pkgconfig')
|
||||||
gir = find_program('g-ir-scanner', required : get_option('introspection'))
|
gir = find_program('g-ir-scanner', required : get_option('introspection'))
|
||||||
|
|
|
||||||
11
subprojects/lua.wrap
Normal file
11
subprojects/lua.wrap
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
[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
|
||||||
Loading…
Add table
Reference in a new issue