[fractal/fractal-next] meson: Get libadwaita & gtksourceview as fallback
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/fractal-next] meson: Get libadwaita & gtksourceview as fallback
- Date: Wed, 5 May 2021 09:54:17 +0000 (UTC)
commit f0b7e64eabbbf8298c8d7ab484e273d2040d3287
Author: Veli Tasali <veli tasali gmail com>
Date: Tue May 4 15:49:07 2021 +0300
meson: Get libadwaita & gtksourceview as fallback
meson.build | 12 ++++++++++--
subprojects/gtksourceview.wrap | 3 +++
subprojects/libadwaita.wrap | 3 +++
3 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 88cc5c95..9a5bd944 100644
--- a/meson.build
+++ b/meson.build
@@ -12,8 +12,16 @@ base_id = 'org.gnome.FractalNext'
dependency('glib-2.0', version: '>= 2.66')
dependency('gio-2.0', version: '>= 2.66')
dependency('gtk4', version: '>= 4.0.0')
-dependency('libadwaita-1', version: '>= 1.1.0' )
-dependency('gtksourceview-5', version: '>= 5.0.0' )
+dependency(
+ 'libadwaita-1', version: '>= 1.1.0',
+ fallback: ['libadwaita', 'libadwaita_dep'],
+ default_options: ['tests=false', 'examples=false', 'vapi=false']
+)
+dependency(
+ 'gtksourceview-5', version: '>= 5.0.0',
+ fallback: ['gtksourceview', 'gtksource_dep'],
+ default_options: ['gtk_doc=false', 'sysprof=false', 'gir=false', 'vapi=false', 'install_tests=false']
+)
glib_compile_resources = find_program('glib-compile-resources', required: true)
glib_compile_schemas = find_program('glib-compile-schemas', required: true)
diff --git a/subprojects/gtksourceview.wrap b/subprojects/gtksourceview.wrap
new file mode 100644
index 00000000..e3fcad37
--- /dev/null
+++ b/subprojects/gtksourceview.wrap
@@ -0,0 +1,3 @@
+[wrap-git]
+url = https://gitlab.gnome.org/GNOME/gtksourceview.git
+revision = head
diff --git a/subprojects/libadwaita.wrap b/subprojects/libadwaita.wrap
new file mode 100644
index 00000000..0585199d
--- /dev/null
+++ b/subprojects/libadwaita.wrap
@@ -0,0 +1,3 @@
+[wrap-git]
+url = https://gitlab.gnome.org/GNOME/libadwaita.git
+revision = head
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]