summaryrefslogtreecommitdiff
path: root/libappstream-builder
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2017-12-17 17:25:01 +0000
committerRichard Hughes <richard@hughsie.com>2017-12-18 14:23:45 +0000
commitcb98df0b008a5a1ccb4cdfa5e1ed945dc6c24d03 (patch)
tree920f671e3d6e02dddd80a525c4b0e7ccc3ffbb26 /libappstream-builder
parent19ec1e9d6585eb647ff4ec65e0b938e4c18dea3b (diff)
downloadappstream-glib-cb98df0b008a5a1ccb4cdfa5e1ed945dc6c24d03.tar.gz
Do not use an 'enable' prefix for meson arguments
Diffstat (limited to 'libappstream-builder')
-rw-r--r--libappstream-builder/meson.build12
-rw-r--r--libappstream-builder/plugins/meson.build2
2 files changed, 7 insertions, 7 deletions
diff --git a/libappstream-builder/meson.build b/libappstream-builder/meson.build
index 55f0868..b59cc56 100644
--- a/libappstream-builder/meson.build
+++ b/libappstream-builder/meson.build
@@ -13,15 +13,15 @@ deps = [
soup,
]
-if get_option('enable-dep11')
+if get_option('dep11')
deps = deps + [yaml]
endif
-if get_option('enable-rpm')
+if get_option('rpm')
deps = deps + [rpm]
endif
-if get_option('enable-alpm')
+if get_option('alpm')
deps = deps + [alpm]
endif
@@ -44,11 +44,11 @@ sources = [
'asb-plugin-loader.c',
]
-if get_option('enable-rpm')
+if get_option('rpm')
sources = sources + ['asb-package-rpm.c']
endif
-if get_option('enable-alpm')
+if get_option('alpm')
sources = sources + ['asb-package-alpm.c']
endif
@@ -128,7 +128,7 @@ asbuilder_introspection_srcs = [
'asb-task.h',
]
-if get_option('enable-introspection')
+if get_option('introspection')
asglib_gir_dep = declare_dependency(sources: asglib_gir)
gnome.generate_gir(asbuilder,
diff --git a/libappstream-builder/plugins/meson.build b/libappstream-builder/plugins/meson.build
index b36729e..542f92f 100644
--- a/libappstream-builder/plugins/meson.build
+++ b/libappstream-builder/plugins/meson.build
@@ -86,7 +86,7 @@ shared_module(
install_dir : plugindir,
)
-if get_option('enable-fonts')
+if get_option('fonts')
shared_module(
'asb_plugin_font',
sources : 'asb-plugin-font.c',