meson: Add phone-ringer plugin

This commit is contained in:
Igor Sharonov 2024-04-05 14:52:55 +03:00 committed by Maxim Logaev
parent b6bb5b3dda
commit a74f2d0c82
2 changed files with 21 additions and 0 deletions

View file

@ -9,4 +9,6 @@ subdir('rtp')
if host_machine.system() == 'windows' if host_machine.system() == 'windows'
subdir('win32-fonts') subdir('win32-fonts')
subdir('windows-notification') subdir('windows-notification')
else
subdir('phone-ringer')
endif endif

View file

@ -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('.'))