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 /meson.build | |
| 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 'meson.build')
| -rw-r--r-- | meson.build | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meson.build b/meson.build new file mode 100644 index 00000000..444335e1 --- /dev/null +++ b/meson.build @@ -0,0 +1,29 @@ +project('dino', 'vala', 'c') + +fs = import('fs') +python = import('python') + +dep_gcrypt = dependency('libgcrypt') +dep_gdk_pixbuf = dependency('gdk-pixbuf-2.0') +dep_gee = dependency('gee-0.8') +dep_gio = dependency('gio-2.0') +dep_glib = dependency('glib-2.0') +dep_gmodule = dependency('gmodule-2.0') +dep_gspell = dependency('gspell-1') +dep_gtk3 = dependency('gtk+-3.0') +dep_icu_uc = dependency('icu-uc') +dep_libhandy = dependency('libhandy-1') +dep_m = meson.get_compiler('c').find_library('m', required: false) +dep_sqlite3 = dependency('sqlite3', version: '>=3.24') +dep_soup2 = dependency('libsoup-2.4') +dep_soup3 = dependency('libsoup-3.0') +dep_libsignal_protocol_c = dependency('libsignal-protocol-c', version: '>=2.3.2') + +prog_git = find_program('git', required: false) +prog_python = python.find_installation() + +subdir('qlite') +subdir('xmpp-vala') +subdir('libdino') +subdir('main') +subdir('plugins') |
