From a74f2d0c82a87eea23e1ed65db9b349c07057c8d Mon Sep 17 00:00:00 2001 From: Igor Sharonov Date: Fri, 5 Apr 2024 14:52:55 +0300 Subject: [PATCH] meson: Add phone-ringer plugin --- plugins/meson.build | 2 ++ plugins/phone-ringer/meson.build | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 plugins/phone-ringer/meson.build diff --git a/plugins/meson.build b/plugins/meson.build index 6ae68201..80bdd837 100644 --- a/plugins/meson.build +++ b/plugins/meson.build @@ -9,4 +9,6 @@ subdir('rtp') if host_machine.system() == 'windows' subdir('win32-fonts') subdir('windows-notification') +else + subdir('phone-ringer') endif diff --git a/plugins/phone-ringer/meson.build b/plugins/phone-ringer/meson.build new file mode 100644 index 00000000..efd62005 --- /dev/null +++ b/plugins/phone-ringer/meson.build @@ -0,0 +1,19 @@ +dependencies = [ + dep_dino, + dep_libcanberra, + dep_gee, + dep_glib, + dep_gmodule, + dep_gdk_pixbuf, + dep_qlite, + dep_xmpp_vala, + dep_gtk4, +] + +sources = files( + 'src/plugin.vala', + 'src/register_plugin.vala', +) + +lib_phone_ringer = shared_library('phone-ringer', sources, name_prefix: '', dependencies: dependencies, kwargs: install_options) +dep_phone_ringer = declare_dependency(link_with: lib_phone_ringer, include_directories: include_directories('.'))