[gnome-software: 1/2] build: Disable docs when building appstream as a subproject
- From: Phaedrus Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] build: Disable docs when building appstream as a subproject
- Date: Thu, 11 Feb 2021 23:06:27 +0000 (UTC)
commit f36395807c5287835b50de0fd7a6a9b9346a2bff
Author: Philip Withnall <pwithnall endlessos org>
Date: Thu Feb 11 16:01:45 2021 +0000
build: Disable docs when building appstream as a subproject
We don’t need them.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
meson.build | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 612764070..25aa81103 100644
--- a/meson.build
+++ b/meson.build
@@ -98,7 +98,15 @@ add_project_arguments('-D_GNU_SOURCE', language : 'c')
conf.set('HAVE_LINUX_UNISTD_H', cc.has_header('linux/unistd.h'))
-appstream = dependency('appstream', version : '>= 0.14.0', fallback : ['appstream', 'appstream_dep'])
+appstream = dependency('appstream',
+ version : '>= 0.14.0',
+ fallback : ['appstream', 'appstream_dep'],
+ default_options : [
+ 'docs=false',
+ 'apidocs=false',
+ 'install-docs=false'
+ ]
+)
gdk_pixbuf = dependency('gdk-pixbuf-2.0', version : '>= 2.32.0')
libxmlb = dependency('xmlb', version : '>= 0.1.7', fallback : ['libxmlb', 'libxmlb_dep'])
gio_unix = dependency('gio-unix-2.0', version : '>= 2.56.0')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]