Commit 016449aa authored by Victor Toso's avatar Victor Toso Committed by Victor Toso
Browse files

Add option to disable bulding help

Help is meant to be a set of examples to application developers who
are interested in using grilo-plugins in their applications.

This patch addes a build option to not build and install those files
files (only one, using TMDB, but it installs it once per LINGUAS/* at
least. This is not needed in a sandboxed application like Flatpak

Closes: #13
parent 434125f9
Pipeline #270328 passed with stage
in 4 minutes and 49 seconds
......@@ -190,7 +190,9 @@ gnome = import('gnome')
rootdir = include_directories('.')
subdir('src')
subdir('help')
if get_option('help') != 'no'
subdir('help')
endif
subdir('po')
subdir('tests')
......
......@@ -21,3 +21,4 @@ option('enable-tmdb', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'a
option('enable-tracker', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable Tracker plugin (DEPRECATED)')
option('enable-tracker3', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable Tracker3 plugin')
option('enable-youtube', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable YouTube plugin')
option('help', type: 'combo', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Build examples developers')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment