summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAylur <[email protected]>2025-01-07 20:25:27 +0100
committerAylur <[email protected]>2025-01-07 20:25:27 +0100
commitf68d4ca85853c01046ac3d2357ca83bdbdb5f10d (patch)
treeb0d597c3d1faf3dbbc6a0ec3bd7ab8b453e632af
parent5c3399817fdc86150be531e42d7952e33943f0ad (diff)
chore(gjs): update meson.build
-rw-r--r--lang/gjs/meson.build8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/gjs/meson.build b/lang/gjs/meson.build
index 402bc55..48d13a2 100644
--- a/lang/gjs/meson.build
+++ b/lang/gjs/meson.build
@@ -3,7 +3,13 @@ project('astal-gjs')
dest = get_option('prefix') / get_option('datadir') / 'astal' / 'gjs'
dependency('astal-io-0.1')
-dependency('astal-3.0')
+
+gtk3 = dependency('astal-3.0', required: false)
+gtk4 = dependency('astal-4-4.0', required: false)
+
+if (not gtk3.found() and not gtk4.found())
+ error('Neither astal-3.0 nor astal-4.0 was found.')
+endif
install_data(
[