summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Tiram <[email protected]>2025-04-01 21:22:46 +0200
committerLuke from DC <[email protected]>2025-04-04 22:19:13 +0000
commitd5e0375a33990bad8ad32fc64ad27a55850fc90a (patch)
treec8aa0592cc825ee6ff08f47b4d0027b601364fe3
parent49b4a18ba6eff48066e9035f11751f5f6e8048c6 (diff)
downloadatril-d5e0375a33990bad8ad32fc64ad27a55850fc90a.tar.bz2
atril-d5e0375a33990bad8ad32fc64ad27a55850fc90a.tar.xz
fix: use mate-submodules correctly
Signed-off-by: Oz Tiram <[email protected]>
-rw-r--r--meson.build4
-rw-r--r--shell/meson.build2
2 files changed, 4 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 2b186c1c..45efe17a 100644
--- a/meson.build
+++ b/meson.build
@@ -181,6 +181,9 @@ elif get_option('epub')
error('"mathjax-directory" is undefined and could not be autodetected')
endif
+mate_submodules_dep = dependency('mate-submodules', version: '1.24.0',
+fallback: ['mate-submodules', 'mate_submodules_dep'])
+
# Generate config.h
config_h_file = configure_file(
output: 'config.h',
@@ -283,7 +286,6 @@ if get_option('previewer')
subdir('previewer')
endif
-subdir('cut-n-paste/smclient')
subdir('cut-n-paste/toolbar-editor')
subdir('cut-n-paste/zoom-control')
diff --git a/shell/meson.build b/shell/meson.build
index b3afb75c..ade4936c 100644
--- a/shell/meson.build
+++ b/shell/meson.build
@@ -121,7 +121,7 @@ libshell_deps = [
atril_deps,
libview_dep,
libmisc_dep,
- libsmclient_dep,
+ mate_submodules_dep,
libephyzoom_dep,
]