[tracker-miners/sam/meson-writeback-extract-options: 1/2] meson: Implement the 'extract' and 'writeback' options
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/meson-writeback-extract-options: 1/2] meson: Implement the 'extract' and 'writeback' options
- Date: Sat, 15 Sep 2018 15:26:03 +0000 (UTC)
commit 193f559f5b47a91d8f0d3174496a54e0639aebda
Author: Sam Thursfield <sam afuera me uk>
Date: Sat Sep 15 17:04:22 2018 +0200
meson: Implement the 'extract' and 'writeback' options
The options to disable the tracker-extract and tracker-writeback
services were not actually doing anything.
Fixes https://gitlab.gnome.org/GNOME/tracker-miners/issues/29 and
https://gitlab.gnome.org/GNOME/tracker-miners/issues/27
The test suite will fail if either of these options are enabled as
it expects to be able to test the extractor and writeback functionality.
src/meson.build | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 6fdc0fb73..5a32eed59 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -5,13 +5,17 @@ subdir('libtracker-miners-common')
subdir('libtracker-extract')
# Public data extract tool & modules
-subdir('tracker-extract')
+if get_option('extract')
+ subdir('tracker-extract')
+endif
# Public miners
subdir('miners')
# Public metadata writeback tool & modiles
-subdir('tracker-writeback')
+if get_option('writeback')
+ subdir('tracker-writeback')
+endif
custom_target('tracker-miners-settings-enums',
input: 'libtracker-miners-common/tracker-enums.h',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]