[rygel/wip/meson: 38/44] meson: Add options to enable/disable plugins
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/meson: 38/44] meson: Add options to enable/disable plugins
- Date: Thu, 18 Oct 2018 19:34:08 +0000 (UTC)
commit 4e273c5fc6e8362881d54874a61070f8280f82b4
Author: Jens Georg <mail jensge org>
Date: Fri Oct 12 16:52:10 2018 +0200
meson: Add options to enable/disable plugins
meson_options.txt | 1 +
src/plugins/meson.build | 11 +++--------
2 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index e74eadd7..6a77bdfc 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,3 +1,4 @@
option('uninstalled', type: 'boolean', value: 'false', description: 'Run Rygel from build directory only')
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'])
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index 9c45aa9e..48516265 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -1,8 +1,3 @@
-subdir('external')
-subdir('gst-launch')
-subdir('lms')
-subdir('media-export')
-subdir('mpris')
-subdir('playbin')
-subdir('ruih')
-subdir('tracker')
+foreach plugin : get_option('plugins')
+ subdir(plugin)
+endforeach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]