[gnome-software/wip/mak/libas] build: Disable building libmalcontent-ui in subprojects




commit 7ed75ab9485f7d1045bb83ac9d52ddce91acc17e
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Feb 10 14:56:38 2021 +0000

    build: Disable building libmalcontent-ui in subprojects
    
    When building malcontent as a subproject, there’s no need to build
    libmalcontent-ui, so don’t. This prunes the dependencies needed for it.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index bfac7a2e0..7de3149d6 100644
--- a/meson.build
+++ b/meson.build
@@ -191,7 +191,7 @@ if get_option('flatpak')
 endif
 
 if get_option('malcontent')
-  malcontent = dependency('malcontent-0', version: '>= 0.3.0', fallback: ['malcontent', 
'libmalcontent_dep'],)
+  malcontent = dependency('malcontent-0', version: '>= 0.3.0', fallback: ['malcontent', 
'libmalcontent_dep'], default_options: ['ui=disabled'])
 endif
 
 if get_option('rpm_ostree')


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