aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/meson.build b/main/meson.build
index f6d212f8..ccebf67d 100644
--- a/main/meson.build
+++ b/main/meson.build
@@ -106,6 +106,15 @@ c_args = [
vala_args = [
'--vapidir', meson.current_source_dir() / 'vapi',
]
+if dep_libadwaita.version() == 'unknown' or dep_libadwaita.version().version_compare('>=1.2')
+ vala_args += ['-D', 'Adw_1_2']
+endif
+if dep_gtk4.version() == 'unknown' or dep_gtk4.version().version_compare('>=4.6')
+ vala_args += ['-D', 'GTK_4_6']
+endif
+if dep_gtk4.version() == 'unknown' or dep_gtk4.version().version_compare('>=4.8')
+ vala_args += ['-D', 'GTK_4_8']
+endif
exe_dino = executable('dino', sources, c_args: c_args, vala_args: vala_args, dependencies: dependencies, install: true)
install_data('data/icons/scalable/apps/im.dino.Dino-symbolic.svg', install_dir: get_option('datadir') / 'hicolor/symbolic/apps')