aboutsummaryrefslogtreecommitdiff
path: root/plugins/rtp/meson.build
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2023-06-20 19:46:41 +0200
committerfiaxh <fiaxh@users.noreply.github.com>2023-10-06 15:25:12 +0200
commite6938c29653743974eb4f03d2a988cef50d0adbc (patch)
tree510560a0e0144578a250bc54b47115cde6f56311 /plugins/rtp/meson.build
parent715fabb5bb793f35926180363bd6f9236d904f42 (diff)
downloaddino-e6938c29653743974eb4f03d2a988cef50d0adbc.tar.gz
dino-e6938c29653743974eb4f03d2a988cef50d0adbc.zip
meson: Add rtp plugin
Diffstat (limited to 'plugins/rtp/meson.build')
-rw-r--r--plugins/rtp/meson.build41
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/rtp/meson.build b/plugins/rtp/meson.build
new file mode 100644
index 00000000..d4d37e36
--- /dev/null
+++ b/plugins/rtp/meson.build
@@ -0,0 +1,41 @@
+dependencies = [
+ dep_gee,
+ dep_glib,
+ dep_gmodule,
+ dep_gnutls,
+ dep_gtk4,
+ dep_gstreamer,
+ dep_gstreamer_app,
+ dep_gstreamer_audio,
+ dep_gstreamer_rtp,
+ dep_gstreamer_video,
+ dep_crypto_vala,
+ dep_dino,
+ dep_qlite,
+ dep_webrtc_audio_processing,
+ dep_xmpp_vala,
+]
+sources = files(
+ 'src/codec_util.vala',
+ 'src/device.vala',
+ 'src/gst_fixes.c',
+ 'src/module.vala',
+ 'src/plugin.vala',
+ 'src/register_plugin.vala',
+ 'src/stream.vala',
+ 'src/video_widget.vala',
+ 'src/voice_processor.vala',
+ 'src/voice_processor_native.cpp',
+)
+c_args = [
+ '-DGST_1_16',
+ '-DGST_1_18',
+ '-DGST_1_20',
+ '-DWITH_VOICE_PROCESSOR',
+ '-DG_LOG_DOMAIN="rtp"',
+]
+vala_args = [
+ '--vapidir', meson.current_source_dir() / 'vapi',
+]
+lib_rtp = shared_library('rtp', sources, name_prefix: '', c_args: c_args, vala_args: vala_args, include_directories: include_directories('src'), dependencies: dependencies, install: true, install_dir: get_option('libdir') / 'dino/plugins')
+dep_rtp = declare_dependency(link_with: lib_rtp, include_directories: include_directories('.'))