summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorEduardo Lima (Etrunko) <etrunko@redhat.com>2018-07-20 15:40:22 -0300
committerFrediano Ziglio <fziglio@redhat.com>2018-07-23 18:43:42 +0100
commite2fad781ec439f3ef9a3590efb5b44f159a05132 (patch)
tree9b6e29f853d3622b4e745b9db25a0767c9bc051d /meson_options.txt
parent9b2c989dd918fe902c189ddfb2dcebc8085b5c14 (diff)
meson: Make options accessible through parent project
When building either spice-server or spice-gtk, spice-common should inherit the command line options from the parent project. This is done by adding the 'yield' keyword for the opus and celt051 options. It is also required to add a smartcard option so that we can bypass the checks if the user wants to. Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 915a9df..b88f209 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -14,13 +14,21 @@ option('celt051',
type : 'combo',
choices : ['true', 'false', 'auto'],
value : 'auto',
+ yield : true,
description: 'Enable celt051 audio codec')
option('opus',
type : 'combo',
choices : ['true', 'false', 'auto'],
+ yield : true,
description: 'Enable Opus audio codec')
+option('smartcard',
+ type : 'boolean',
+ value : true,
+ yield : true,
+ description : 'Enable smartcard support')
+
option('python-checks',
type : 'boolean',
value : true,