meson: Add notification-sound plugin
This commit is contained in:
parent
7326ca4d1b
commit
7dd12e7dec
|
@ -14,6 +14,7 @@ dep_gpgme = dependency('gpgme')
|
||||||
dep_gtk4 = dependency('gtk4')
|
dep_gtk4 = dependency('gtk4')
|
||||||
dep_icu_uc = dependency('icu-uc')
|
dep_icu_uc = dependency('icu-uc')
|
||||||
dep_libadwaita = dependency('libadwaita-1')
|
dep_libadwaita = dependency('libadwaita-1')
|
||||||
|
dep_libcanberra = dependency('libcanberra')
|
||||||
dep_libsoup = dependency('libsoup-3.0')
|
dep_libsoup = dependency('libsoup-3.0')
|
||||||
dep_m = meson.get_compiler('c').find_library('m', required: false)
|
dep_m = meson.get_compiler('c').find_library('m', required: false)
|
||||||
dep_sqlite3 = dependency('sqlite3', version: '>=3.24')
|
dep_sqlite3 = dependency('sqlite3', version: '>=3.24')
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
subdir('http-files')
|
subdir('http-files')
|
||||||
|
subdir('notification-sound')
|
||||||
subdir('openpgp')
|
subdir('openpgp')
|
||||||
|
|
19
plugins/notification-sound/meson.build
Normal file
19
plugins/notification-sound/meson.build
Normal 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('.'))
|
Loading…
Reference in a new issue