2019-04-26 12:39:35 +03:00
|
|
|
common_c_args = [
|
|
|
|
|
'-D_GNU_SOURCE',
|
|
|
|
|
'-DG_LOG_USE_STRUCTURED',
|
|
|
|
|
]
|
|
|
|
|
|
2020-07-29 19:27:40 +05:30
|
|
|
shared_library(
|
2020-07-31 16:34:01 +03:00
|
|
|
'wireplumber-module-metadata',
|
2020-07-29 19:27:40 +05:30
|
|
|
[
|
2020-07-31 16:34:01 +03:00
|
|
|
'module-metadata.c',
|
2020-07-29 19:27:40 +05:30
|
|
|
],
|
|
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-metadata"'],
|
|
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
|
|
|
|
dependencies : [wp_dep, pipewire_dep],
|
|
|
|
|
)
|
|
|
|
|
|
2020-10-19 11:51:42 -04:00
|
|
|
shared_library(
|
|
|
|
|
'wireplumber-module-default-profile',
|
|
|
|
|
[
|
|
|
|
|
'module-default-profile.c',
|
|
|
|
|
],
|
|
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-default-profile"'],
|
|
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
2020-10-13 10:15:58 -04:00
|
|
|
dependencies : [wp_dep, pipewire_dep],
|
2020-03-03 09:06:17 -05:00
|
|
|
)
|
|
|
|
|
|
2021-01-05 11:00:02 -05:00
|
|
|
shared_library(
|
2021-03-30 20:01:06 +03:00
|
|
|
'wireplumber-module-default-nodes',
|
2021-01-05 11:00:02 -05:00
|
|
|
[
|
2021-03-30 20:01:06 +03:00
|
|
|
'module-default-nodes.c',
|
2021-01-05 11:00:02 -05:00
|
|
|
],
|
2021-03-30 20:01:06 +03:00
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-default-nodes"'],
|
2021-01-05 11:00:02 -05:00
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
2021-01-15 11:11:07 -05:00
|
|
|
dependencies : [wp_dep, pipewire_dep],
|
2021-01-05 11:00:02 -05:00
|
|
|
)
|
2020-05-15 15:30:22 +03:00
|
|
|
|
2021-03-31 11:46:32 +03:00
|
|
|
shared_library(
|
|
|
|
|
'wireplumber-module-default-nodes-api',
|
|
|
|
|
[
|
|
|
|
|
'module-default-nodes-api.c',
|
|
|
|
|
],
|
|
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-default-nodes-api"'],
|
|
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
|
|
|
|
dependencies : [wp_dep, pipewire_dep],
|
|
|
|
|
)
|
|
|
|
|
|
2021-01-26 13:38:09 +02:00
|
|
|
subdir('module-reserve-device')
|
|
|
|
|
shared_library(
|
|
|
|
|
'wireplumber-module-reserve-device',
|
|
|
|
|
[
|
|
|
|
|
'module-reserve-device/plugin.c',
|
|
|
|
|
'module-reserve-device/reserve-device.c',
|
|
|
|
|
'module-reserve-device/transitions.c',
|
|
|
|
|
reserve_device_interface_src,
|
|
|
|
|
reserve_device_enums,
|
|
|
|
|
],
|
|
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-reserve-device"'],
|
|
|
|
|
include_directories: reserve_device_includes,
|
|
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
|
|
|
|
dependencies : [wp_dep, giounix_dep],
|
|
|
|
|
)
|
|
|
|
|
|
2021-02-03 15:16:22 -05:00
|
|
|
subdir('module-portal-permissionstore')
|
|
|
|
|
shared_library(
|
|
|
|
|
'wireplumber-module-portal-permissionstore',
|
|
|
|
|
[
|
|
|
|
|
'module-portal-permissionstore/plugin.c',
|
|
|
|
|
portal_permissionstore_enums,
|
|
|
|
|
],
|
|
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-portal-permissionstore"'],
|
|
|
|
|
include_directories: portal_permissionstore_includes,
|
|
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
|
|
|
|
dependencies : [wp_dep, giounix_dep],
|
|
|
|
|
)
|
|
|
|
|
|
2020-03-17 23:03:10 +02:00
|
|
|
shared_library(
|
2021-03-18 14:47:22 -04:00
|
|
|
'wireplumber-module-si-audio-adapter',
|
2020-03-17 23:03:10 +02:00
|
|
|
[
|
2021-03-18 14:47:22 -04:00
|
|
|
'module-si-audio-adapter.c',
|
2020-03-17 23:03:10 +02:00
|
|
|
],
|
2021-03-18 14:47:22 -04:00
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-si-audio-adapter"'],
|
2020-03-17 23:03:10 +02:00
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
|
|
|
|
dependencies : [wp_dep, pipewire_dep],
|
|
|
|
|
)
|
2020-04-10 16:17:25 +03:00
|
|
|
|
2021-03-19 14:35:48 -04:00
|
|
|
shared_library(
|
|
|
|
|
'wireplumber-module-si-audio-endpoint',
|
|
|
|
|
[
|
|
|
|
|
'module-si-audio-endpoint.c',
|
|
|
|
|
],
|
|
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-si-audio-endpoint"'],
|
|
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
|
|
|
|
dependencies : [wp_dep, pipewire_dep],
|
|
|
|
|
)
|
|
|
|
|
|
2020-04-22 13:53:14 +03:00
|
|
|
shared_library(
|
2021-03-10 13:20:35 -05:00
|
|
|
'wireplumber-module-si-node',
|
2020-04-22 13:53:14 +03:00
|
|
|
[
|
2021-03-10 13:20:35 -05:00
|
|
|
'module-si-node.c',
|
2020-04-22 13:53:14 +03:00
|
|
|
],
|
2021-03-10 13:20:35 -05:00
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-si-node"'],
|
2020-04-22 13:53:14 +03:00
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
|
|
|
|
dependencies : [wp_dep, pipewire_dep],
|
|
|
|
|
)
|
|
|
|
|
|
2020-04-10 16:17:25 +03:00
|
|
|
shared_library(
|
|
|
|
|
'wireplumber-module-si-standard-link',
|
|
|
|
|
[
|
|
|
|
|
'module-si-standard-link.c',
|
|
|
|
|
],
|
|
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-si-standard-link"'],
|
|
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
|
|
|
|
dependencies : [wp_dep, pipewire_dep],
|
|
|
|
|
)
|
2020-12-20 18:10:22 +02:00
|
|
|
|
2022-02-21 10:30:56 +02:00
|
|
|
subdir('module-lua-scripting')
|
2020-12-20 18:10:22 +02:00
|
|
|
shared_library(
|
|
|
|
|
'wireplumber-module-lua-scripting',
|
|
|
|
|
[
|
2022-02-21 10:30:56 +02:00
|
|
|
'module-lua-scripting/module.c',
|
|
|
|
|
'module-lua-scripting/api/pod.c',
|
|
|
|
|
'module-lua-scripting/api/json.c',
|
|
|
|
|
'module-lua-scripting/api/api.c',
|
|
|
|
|
'module-lua-scripting/api/config.c',
|
2020-12-20 18:10:22 +02:00
|
|
|
m_lua_scripting_resources,
|
|
|
|
|
],
|
|
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-lua-scripting"'],
|
|
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
|
|
|
|
dependencies : [wp_dep, pipewire_dep, wplua_dep],
|
|
|
|
|
)
|
2021-04-08 11:49:36 +03:00
|
|
|
|
|
|
|
|
shared_library(
|
|
|
|
|
'wireplumber-module-mixer-api',
|
|
|
|
|
[
|
|
|
|
|
'module-mixer-api.c',
|
|
|
|
|
],
|
|
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-mixer-api"'],
|
|
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
2021-04-09 15:50:17 +03:00
|
|
|
dependencies : [wp_dep, pipewire_dep, mathlib],
|
2021-04-08 11:49:36 +03:00
|
|
|
)
|
2021-04-27 11:53:35 -04:00
|
|
|
|
2021-08-02 13:32:16 -04:00
|
|
|
shared_library(
|
|
|
|
|
'wireplumber-module-file-monitor-api',
|
|
|
|
|
[
|
|
|
|
|
'module-file-monitor-api.c',
|
|
|
|
|
],
|
|
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-file-monitor-api"'],
|
|
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
|
|
|
|
dependencies : [wp_dep, pipewire_dep],
|
|
|
|
|
)
|
2021-09-27 18:01:11 +03:00
|
|
|
|
2021-10-15 13:36:30 +00:00
|
|
|
if libsystemd_dep.found() or libelogind_dep.found()
|
2021-09-27 18:01:11 +03:00
|
|
|
shared_library(
|
|
|
|
|
'wireplumber-module-logind',
|
|
|
|
|
[
|
|
|
|
|
'module-logind.c',
|
|
|
|
|
],
|
|
|
|
|
c_args : [common_c_args, '-DG_LOG_DOMAIN="m-logind"'],
|
|
|
|
|
install : true,
|
|
|
|
|
install_dir : wireplumber_module_dir,
|
2021-10-15 13:36:30 +00:00
|
|
|
dependencies : [wp_dep, pipewire_dep, libsystemd_dep, libelogind_dep],
|
2021-09-27 18:01:11 +03:00
|
|
|
)
|
|
|
|
|
endif
|