[gtk/issue-2: 4/7] build: Rename the 'enable-colord' option
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/issue-2: 4/7] build: Rename the 'enable-colord' option
- Date: Wed, 14 Feb 2018 14:10:08 +0000 (UTC)
commit 8dc68887628b4195700b58ddc7aa2cddece4376c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Feb 14 13:45:48 2018 +0000
build: Rename the 'enable-colord' option
Drop the 'enable-' prefix, to follow the naming best practices for Meson
configuration options.
meson_options.txt | 2 +-
modules/printbackends/cups/meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index 2f9dd80285..dd0046dd10 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,4 +1,4 @@
-option('enable-colord', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto',
+option('colord', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto',
description : 'Build colord support code')
option('enable-x11-backend', type: 'boolean', value: 'true',
description : 'Enable the X11 gdk backend')
diff --git a/modules/printbackends/cups/meson.build b/modules/printbackends/cups/meson.build
index a6f83d51e7..ef7a30ee9a 100644
--- a/modules/printbackends/cups/meson.build
+++ b/modules/printbackends/cups/meson.build
@@ -1,4 +1,4 @@
-enable_colord = get_option('enable-colord')
+enable_colord = get_option('colord')
if enable_colord != 'no'
want_colord = enable_colord == 'yes'
colord_dep = dependency('colord', version: '>= 0.1.9', required: want_colord)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]