[gnome-bluetooth/wip/cdavis/adw-header-suffixes] meson: Add libadwaita as a subproject
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/cdavis/adw-header-suffixes] meson: Add libadwaita as a subproject
- Date: Mon, 31 Jan 2022 20:23:13 +0000 (UTC)
commit 175427e25f651c923e04fd8d829fa4e002d0422e
Author: Christopher Davis <christopherdavis gnome org>
Date: Mon Jan 31 12:22:01 2022 -0800
meson: Add libadwaita as a subproject
.gitignore | 1 +
meson.build | 7 ++++++-
subprojects/libadwaita.wrap | 3 +++
3 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..538a4526
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+subprojects/libadwaita/
diff --git a/meson.build b/meson.build
index d43822d5..63a04caa 100644
--- a/meson.build
+++ b/meson.build
@@ -99,7 +99,12 @@ gio_dep = dependency('gio-2.0', version: '>= 2.44')
gio_unix_dep = dependency('gio-unix-2.0')
gtk_dep = dependency('gtk4', version: '>= 4.4')
gsound_dep = dependency('gsound')
-libadwaita_dep = dependency('libadwaita-1', version: '>= 1.1')
+libadwaita_dep = dependency(
+ 'libadwaita-1',
+ version: '>= 1.1',
+ fallback: ['libadwaita', 'libadwaita_dep'],
+ default_options: ['examples=false', 'introspection=disabled', 'tests=false', 'vapi=false'],
+)
libnotify_dep = dependency('libnotify', version: '>= 0.7.0')
libudev_dep = dependency('libudev')
diff --git a/subprojects/libadwaita.wrap b/subprojects/libadwaita.wrap
new file mode 100644
index 00000000..a0c06093
--- /dev/null
+++ b/subprojects/libadwaita.wrap
@@ -0,0 +1,3 @@
+[wrap-git]
+url = https://gitlab.gnome.org/GNOME/libadwaita.git
+revision = main
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]