wplua: move under modules/module-lua-scripting
It's unlikely that wplua will ever be useful outside the context of module-lua-scripting, so let's move it to keep all the code in one place
This commit is contained in:
33
modules/module-lua-scripting/wplua/meson.build
Normal file
33
modules/module-lua-scripting/wplua/meson.build
Normal file
@@ -0,0 +1,33 @@
|
||||
wplua_lib_sources = [
|
||||
'boxed.c',
|
||||
'closure.c',
|
||||
'object.c',
|
||||
'userdata.c',
|
||||
'value.c',
|
||||
'wplua.c',
|
||||
]
|
||||
|
||||
wplua_resources = gnome.compile_resources(
|
||||
'wplua-resources',
|
||||
'gresource.xml',
|
||||
c_name: '_wplua',
|
||||
extra_args: '--manual-register',
|
||||
source_dir: meson.current_source_dir())
|
||||
|
||||
wplua_lib = static_library('wplua-' + wireplumber_api_version,
|
||||
[ wplua_lib_sources, wplua_resources ],
|
||||
c_args : [
|
||||
'-D_GNU_SOURCE',
|
||||
'-DG_LOG_USE_STRUCTURED',
|
||||
'-DG_LOG_DOMAIN="wplua"',
|
||||
],
|
||||
install: false,
|
||||
include_directories: wplua_include_dir,
|
||||
dependencies : [wp_dep, lua_dep],
|
||||
)
|
||||
|
||||
wplua_dep = declare_dependency(
|
||||
link_with: wplua_lib,
|
||||
include_directories: wplua_include_dir,
|
||||
dependencies: [wp_dep, lua_dep],
|
||||
)
|
Reference in New Issue
Block a user