diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-09-11 23:03:51 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-09 14:08:59 +0200 |
| commit | be7e0c2d5689d962fd2424e60ed21062d0674e95 (patch) | |
| tree | f3b5fc213f7cb832e31f4877db0abf9e2c908930 /plugins/http-files | |
| parent | 1cc99a640fe694c1545eb2ecc01311f7bad26aed (diff) | |
| download | dino-be7e0c2d5689d962fd2424e60ed21062d0674e95.tar.gz | |
Backport Meson build support
Meson builds have better integration with Vala. For example, Meson
handles incremental compilation of Vala source files better than
CMake.
Limitations:
As done with CMake builds, gresource.xml should be compiled. Now, it has
been generated from a CMake build and manually copied into the source
tree.
Diffstat (limited to 'plugins/http-files')
| -rw-r--r-- | plugins/http-files/meson.build | 22 |
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..6f490880 --- /dev/null +++ b/plugins/http-files/meson.build @@ -0,0 +1,22 @@ +dependencies = [ + dep_gee, + dep_glib, + dep_gtk3, + dep_gmodule, + dep_soup2, + dep_dino, + dep_soup2, +] + +sources = files( + 'src/file_provider.vala', + 'src/file_sender.vala', + 'src/plugin.vala', + 'src/register_plugin.vala', +) + +lib_http_files = library('http-files', + sources, + c_args: c_args, + include_directories: include_directories('src'), + dependencies: dependencies) |
