[gnome-initial-setup/wip/port-to-gtk4] fixup! parental-controls: Port to GTK4



commit 14f5407e664bd8ef283f5cb22477372a783ac809
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Jul 25 12:34:17 2022 -0300

    fixup! parental-controls: Port to GTK4

 meson.build                    | 4 +++-
 subprojects/malcontent-ui.wrap | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 67a8aba6..17df0edf 100644
--- a/meson.build
+++ b/meson.build
@@ -59,7 +59,9 @@ libmalcontent_dep = dependency ('malcontent-0',
                                 required: get_option('parental_controls'))
 libmalcontent_ui_dep = dependency ('malcontent-ui-0',
                                    version: '>= 0.11.0',
-                                   required: get_option('parental_controls'))
+                                   required: get_option('parental_controls'),
+                                   fallback: ['malcontent-ui', 'libmalcontent_ui_dep'],
+                                   default_options: ['use_system_libmalcontent=true'])
 have_parental_controls = libmalcontent_dep.found() and libmalcontent_ui_dep.found()
 conf.set('HAVE_PARENTAL_CONTROLS', have_parental_controls)
 
diff --git a/subprojects/malcontent-ui.wrap b/subprojects/malcontent-ui.wrap
new file mode 100644
index 00000000..072642ad
--- /dev/null
+++ b/subprojects/malcontent-ui.wrap
@@ -0,0 +1,3 @@
+[wrap-git]
+url = https://gitlab.freedesktop.org/pwithnall/malcontent.git
+revision = 2f64f3865eef635626e7afeae6a532b29e0fe574
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]