gjdwebserver-overlay/x11-misc/phosh-mobile-settings/files/0001-Make-gmobile-not-dep-on-the-subproject.patch

40 lines
1.2 KiB
Diff
Raw Normal View History

2024-05-23 23:51:41 +02:00
From e277e6324f39ae804f522c962e9ea12010a17414 Mon Sep 17 00:00:00 2001
2024-05-23 23:34:44 +02:00
From: Gerben Jan Dijkman <gjdijkman@gjdwebserver.nl>
2024-05-23 23:51:41 +02:00
Date: Thu, 23 May 2024 23:50:57 +0200
2024-05-23 23:47:16 +02:00
Subject: [PATCH] Gmobile subproject fix
2024-05-23 23:34:44 +02:00
---
2024-05-23 23:51:41 +02:00
meson.build | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
2024-05-23 23:34:44 +02:00
diff --git a/meson.build b/meson.build
2024-05-23 23:51:41 +02:00
index 23959bb..f964fd7 100644
2024-05-23 23:34:44 +02:00
--- a/meson.build
+++ b/meson.build
2024-05-23 23:51:41 +02:00
@@ -29,13 +29,15 @@ glib_dep = dependency('glib-2.0', version: glib_ver_cmp)
2024-05-23 23:34:44 +02:00
gio_dep = dependency('gio-2.0', version: glib_ver_cmp)
gio_unix_dep = dependency('gio-unix-2.0', version: glib_ver_cmp)
gmodule_dep = dependency('gmodule-2.0', version: glib_ver_cmp)
-gmobile = subproject('gmobile',
- default_options: [
- 'examples=false',
- 'gtk_doc=false',
- 'tests=false',
- ])
2024-05-23 23:51:41 +02:00
-gmobile_dep = gmobile.get_variable('gmobile_dep')
2024-05-23 23:47:16 +02:00
+gmobile_dep = dependency('gmobile',
+ version: '>= 0.1.0',
+ fallback: ['gmobile', 'gmobile_dep'],
+ default_options:
+ [ 'examples=false',
+ 'introspection=false',
+ 'gtk_doc=false',
+ 'tests=false'
+ ])
2024-05-23 23:34:44 +02:00
gsound_dep = dependency('gsound')
gtk_dep = dependency('gtk4', version: gtk_ver_cmp)
2024-05-23 23:51:41 +02:00
gtk_wayland_dep = dependency('gtk4-wayland', version: gtk_ver_cmp)
2024-05-23 23:34:44 +02:00
--
2.44.1