meson: Add notification-sound plugin

This commit is contained in:
hrxi 2023-06-12 23:11:50 +02:00 committed by fiaxh
parent 7326ca4d1b
commit 7dd12e7dec
3 changed files with 21 additions and 0 deletions

View file

@ -14,6 +14,7 @@ dep_gpgme = dependency('gpgme')
dep_gtk4 = dependency('gtk4')
dep_icu_uc = dependency('icu-uc')
dep_libadwaita = dependency('libadwaita-1')
dep_libcanberra = dependency('libcanberra')
dep_libsoup = dependency('libsoup-3.0')
dep_m = meson.get_compiler('c').find_library('m', required: false)
dep_sqlite3 = dependency('sqlite3', version: '>=3.24')

View file

@ -1,2 +1,3 @@
subdir('http-files')
subdir('notification-sound')
subdir('openpgp')

View file

@ -0,0 +1,19 @@
dependencies = [
dep_dino,
dep_gdk_pixbuf,
dep_gee,
dep_glib,
dep_gmodule,
dep_libcanberra,
dep_qlite,
dep_xmpp_vala,
]
sources = files(
'src/plugin.vala',
'src/register_plugin.vala',
)
vala_args = [
'--vapidir', meson.current_source_dir() / 'vapi',
]
lib_notification_sound = shared_library('notification-sound', sources, name_prefix: '', vala_args: vala_args, dependencies: dependencies, install: true, install_dir: get_option('libdir') / 'dino/plugins')
dep_notification_sound = declare_dependency(link_with: lib_notification_sound, include_directories: include_directories('.'))