aboutsummaryrefslogtreecommitdiff
path: root/plugins/ice
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2023-06-12 23:50:16 +0200
committerfiaxh <fiaxh@users.noreply.github.com>2023-10-06 15:25:12 +0200
commit3edda368f33c1ffbdcb76c41a32953f50b6ef6bc (patch)
tree92ab323cc9a7598b9749b92d7726d6614d259420 /plugins/ice
parent7dd0e0aa4a4dffa9efa0fdf7c8929ac0e1611530 (diff)
downloaddino-3edda368f33c1ffbdcb76c41a32953f50b6ef6bc.tar.gz
dino-3edda368f33c1ffbdcb76c41a32953f50b6ef6bc.zip
meson: Add ice plugin
Diffstat (limited to 'plugins/ice')
-rw-r--r--plugins/ice/meson.build28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/ice/meson.build b/plugins/ice/meson.build
new file mode 100644
index 00000000..40e54ce3
--- /dev/null
+++ b/plugins/ice/meson.build
@@ -0,0 +1,28 @@
+dependencies = [
+ dep_crypto_vala,
+ dep_dino,
+ dep_gdk_pixbuf,
+ dep_gee,
+ dep_glib,
+ dep_gmodule,
+ dep_gnutls,
+ 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',
+]
+lib_ice = shared_library('ice', sources, name_prefix: '', c_args: c_args, vala_args: vala_args, dependencies: dependencies, install: true, install_dir: get_option('libdir') / 'dino/plugins')
+dep_ice = declare_dependency(link_with: lib_ice, include_directories: include_directories('.'))