summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-05-05 19:27:24 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-05-05 20:31:01 +0530
commit65536f25dd0e5b359faef63e143ed36ac076264d (patch)
treef06827ca18237a9451e8938c0afaaa576aa76507 /meson_options.txt
parent36e49fd6f872f0b3f33083107a55fb7f671a47d0 (diff)
meson: Update option names to omit disable_ and with- prefixes
Also yield common options to the outer project (gst-build in our case) so that they don't have to be set manually.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/meson_options.txt b/meson_options.txt
index dccf42ef1..af0f53ed2 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,10 +1,12 @@
# Enable V4L2 plugin to probe devices at plugin load
-option('v4l2-probe', type : 'boolean', value : true)
-# Use libv4l2 for some obscure format conversions
-option('with-libv4l2', type : 'boolean', value : true)
-# Whether to use orc or not (auto will autodetect, yes will error out if not found)
-option('use_orc', type : 'combo', choices : ['yes', 'no', 'auto'], value : 'auto')
-option('with-package-name', type : 'string',
+option('v4l2-probe', type : 'boolean', value : true,
+ description : 'Probe v4l2 devices when the v4l2 plugin is loaded')
+option('libv4l2', type : 'boolean', value : true,
+ description : 'Use libv4l2 for some obscure format conversions')
+
+# Common options
+option('orc', type : 'combo', choices : ['yes', 'no', 'auto'], value : 'auto')
+option('package-name', type : 'string', yield : true,
description : 'package name to use in plugins')
-option('with-package-origin', type : 'string', value : 'Unknown package origin',
+option('package-origin', type : 'string', value : 'Unknown package origin', yield : true,
description : 'package origin URL to use in plugins')