2023-11-24 19:53:50 +00:00
|
|
|
if crypto_backend == 'openssl'
|
|
|
|
if get_option('plugin-ice').enabled()
|
|
|
|
error('plugin-ice does not work with openssl backend yet')
|
|
|
|
else
|
2024-03-29 12:58:31 +00:00
|
|
|
warning('plugin-ice is not enabled!')
|
2023-11-24 19:53:50 +00:00
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
endif
|
2023-06-12 21:50:16 +00:00
|
|
|
dependencies = [
|
|
|
|
dep_crypto_vala,
|
|
|
|
dep_dino,
|
|
|
|
dep_gdk_pixbuf,
|
|
|
|
dep_gee,
|
|
|
|
dep_glib,
|
|
|
|
dep_gmodule,
|
2023-11-24 19:53:50 +00:00
|
|
|
dep_gnutls_or_openssl,
|
2023-06-12 21:50:16 +00:00
|
|
|
dep_nice,
|
|
|
|
dep_qlite,
|
|
|
|
dep_xmpp_vala,
|
|
|
|
]
|
|
|
|
sources = files(
|
|
|
|
'src/dtls_srtp.vala',
|
|
|
|
'src/module.vala',
|
|
|
|
'src/plugin.vala',
|
|
|
|
'src/transport_parameters.vala',
|
|
|
|
'src/util.vala',
|
|
|
|
'src/register_plugin.vala',
|
|
|
|
)
|
|
|
|
c_args = [
|
|
|
|
'-DG_LOG_DOMAIN="ice"',
|
|
|
|
]
|
|
|
|
vala_args = [
|
|
|
|
'--vapidir', meson.current_source_dir() / 'vapi',
|
|
|
|
]
|
2024-04-04 14:15:11 +00:00
|
|
|
lib_ice = shared_library('ice', sources, name_prefix: '', c_args: c_args, vala_args: vala_args, dependencies: dependencies, kwargs: install_options)
|
2023-06-12 21:50:16 +00:00
|
|
|
dep_ice = declare_dependency(link_with: lib_ice, include_directories: include_directories('.'))
|