meson: Add http-files plugin
This commit is contained in:
parent
62ed82a495
commit
6d838c1c31
|
@ -13,6 +13,7 @@ dep_gmodule = dependency('gmodule-2.0')
|
||||||
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_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')
|
||||||
|
|
||||||
|
@ -23,3 +24,4 @@ subdir('qlite')
|
||||||
subdir('xmpp-vala')
|
subdir('xmpp-vala')
|
||||||
subdir('libdino')
|
subdir('libdino')
|
||||||
subdir('main')
|
subdir('main')
|
||||||
|
subdir('plugins')
|
||||||
|
|
22
plugins/http-files/meson.build
Normal file
22
plugins/http-files/meson.build
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
dependencies = [
|
||||||
|
dep_dino,
|
||||||
|
dep_gee,
|
||||||
|
dep_glib,
|
||||||
|
dep_gmodule,
|
||||||
|
dep_gtk4,
|
||||||
|
dep_libsoup,
|
||||||
|
dep_qlite,
|
||||||
|
dep_xmpp_vala,
|
||||||
|
]
|
||||||
|
sources = files(
|
||||||
|
'src/file_provider.vala',
|
||||||
|
'src/file_sender.vala',
|
||||||
|
'src/plugin.vala',
|
||||||
|
'src/register_plugin.vala',
|
||||||
|
)
|
||||||
|
|
||||||
|
vala_args = [
|
||||||
|
'--define=SOUP_3_0',
|
||||||
|
]
|
||||||
|
lib_http_files = shared_library('http-files', sources, name_prefix: '', vala_args: vala_args, dependencies: dependencies, install: true, install_dir: get_option('libdir') / 'dino/plugins')
|
||||||
|
dep_http_files = declare_dependency(link_with: lib_http_files, include_directories: include_directories('.'))
|
1
plugins/meson.build
Normal file
1
plugins/meson.build
Normal file
|
@ -0,0 +1 @@
|
||||||
|
subdir('http-files')
|
Loading…
Reference in a new issue