aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2026-10-04 22:02:19 +0200
committerMarvin W <git@larma.de>2026-10-23 17:01:43 +0200
commit3e136fc57a2e509e5a4dd265a798b196205b0a80 (patch)
treec8f9fc5d82bc458c27cf378bf1bf3f0fda51497b /plugins
parent630b1368331ef0034b343bd2f00b116c8cd90391 (diff)
Fix more warnings
Diffstat (limited to 'plugins')
-rw-r--r--plugins/omemo/meson.build51
1 files changed, 0 insertions, 51 deletions
diff --git a/plugins/omemo/meson.build b/plugins/omemo/meson.build
deleted file mode 100644
index 70279946..00000000
--- a/plugins/omemo/meson.build
+++ /dev/null
@@ -1,51 +0,0 @@
-subdir('po')
-dependencies = [
- dep_libadwaita,
- dep_dino,
- dep_gee,
- dep_glib,
- dep_gmodule,
- dep_gtk4,
- dep_libomemo_c,
- dep_m,
- dep_xmpp_vala,
-]
-sources = files(
-)
-sources += gnome.compile_resources(
- 'resources',
- 'data/gresource.xml',
- source_dir: 'data',
-)
-c_args = vala_c_args + [
- '-DG_LOG_DOMAIN="OMEMO"',
- '-DGETTEXT_PACKAGE="dino-omemo"',
- '-DLOCALE_INSTALL_DIR="@0@"'.format(get_option('prefix') / get_option('localedir')),
-]
-vala_args = [
- '--vapidir', meson.current_source_dir() / 'vapi',
- # This is to build internal vapi for tests
- '--header', meson.current_build_dir() / 'omemo.h',
- '--internal-vapi', meson.current_build_dir() / 'omemo-internal.vapi',
- '--internal-header', meson.current_build_dir() / 'omemo-internal.h',
-]
-lib_omemo = shared_library('omemo', 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') / get_option('plugindir'), install_rpath: default_install_rpath)
-dep_omemo = declare_dependency(link_with: lib_omemo, include_directories: include_directories('.'))
-# This is to use the internal vapi instead of the regular
-vapi_omemo_internal = custom_target('omemo-internal-vapi', command: [find_program('touch'), meson.current_build_dir() / 'omemo-internal.vapi'], output: ['omemo-internal.vapi'], depends: lib_omemo)
-dep_omemo_internal = declare_dependency(link_args: [lib_omemo.full_path()], include_directories: include_directories('.', 'src'), sources: [vapi_omemo_internal])
-
-test_sources = [
- 'tests/native/common.vala',
- 'tests/native/testcase.vala',
-
- 'tests/native/curve25519.vala',
- 'tests/native/hkdf.vala',
- 'tests/native/session_builder.vala',
-]
-test_vala_args = [
- '--vapidir', meson.current_source_dir() / 'vapi',
-]
-
-exe_omemo_test = executable('omemo-test', test_sources, c_args: c_args, vala_args: test_vala_args, dependencies: dependencies + dep_omemo_internal, build_rpath: '$ORIGIN', install: false)
-test('Tests for omemo', exe_omemo_test)