aboutsummaryrefslogtreecommitdiff
path: root/plugins/http-files
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2023-06-22 00:04:59 +0200
committerfiaxh <fiaxh@users.noreply.github.com>2023-10-06 15:25:12 +0200
commit6d838c1c317164fb7e54442312f63d4cb4beaddd (patch)
tree42b27f4b28456a03ecbd2f8a4f5f387d117d9bfc /plugins/http-files
parent62ed82a49535a891acb85a2e7b9d861433db1670 (diff)
downloaddino-6d838c1c317164fb7e54442312f63d4cb4beaddd.tar.gz
dino-6d838c1c317164fb7e54442312f63d4cb4beaddd.zip
meson: Add http-files plugin
Diffstat (limited to 'plugins/http-files')
-rw-r--r--plugins/http-files/meson.build22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/http-files/meson.build b/plugins/http-files/meson.build
new file mode 100644
index 00000000..6b0f3820
--- /dev/null
+++ b/plugins/http-files/meson.build
@@ -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('.'))