anotherim-desktop/plugins/http-files/meson.build

25 lines
685 B
Meson
Raw Normal View History

2023-06-21 22:04:59 +00:00
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',
)
2024-04-02 07:30:59 +00:00
vala_args = []
if dep_libsoup.version().version_compare('>=3.0')
vala_args += ['--define=SOUP_3_0']
endif
2023-06-21 22:04:59 +00:00
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('.'))