[rygel/wip/meson: 44/52] meson: Add option for selecting engines
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/meson: 44/52] meson: Add option for selecting engines
- Date: Mon, 12 Nov 2018 23:09:18 +0000 (UTC)
commit 85dbfb05b041e7bb6a4efd45a99b364828c725d1
Author: Jens Georg <mail jensge org>
Date: Fri Oct 12 16:59:51 2018 +0200
meson: Add option for selecting engines
meson_options.txt | 1 +
src/media-engines/meson.build | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index fb05bc9d..250c24fe 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -2,4 +2,5 @@ option('uninstalled', type: 'boolean', value: 'false', description: 'Run Rygel f
option('api-docs', type: 'boolean', value: 'false', description: 'Build the API documentation')
option('systemd-user-units-dir', type : 'string', value : 'auto', description : 'Where to install the
systemd user unit (use special values "auto" or "none", or pass a path')
option('plugins', type : 'array', choices : ['external', 'gst-launch', 'lms', 'media-export', 'mpris',
'playbin', 'ruih', 'tracker'])
+option('engines', type : 'array', choices : ['simple', 'gstreamer'])
option('examples', type : 'boolean', value : 'true')
diff --git a/src/media-engines/meson.build b/src/media-engines/meson.build
index 051ae517..12e49176 100644
--- a/src/media-engines/meson.build
+++ b/src/media-engines/meson.build
@@ -1,2 +1,3 @@
-subdir('gstreamer')
-subdir('simple')
+foreach engine : get_option('engines')
+ subdir(engine)
+endforeach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]