ncmpc 0.29 - not yet released
* fix crash after losing MPD connection
* fix crash after DNS lookup error
+* add Meson option "lyrics_plugin_dir"
ncmpc 0.28 - (2017-09-21)
* fix crash on lyrics screen
if enable_lyrics_screen
sources += ['src/screen_lyrics.c', 'src/lyrics.c']
- lyrics_plugin_dir = join_paths(get_option('prefix'), get_option('libdir'), meson.project_name(), 'lyrics')
+ lyrics_plugin_dir = get_option('lyrics_plugin_dir')
+ if lyrics_plugin_dir == ''
+ lyrics_plugin_dir = join_paths(get_option('prefix'), get_option('libdir'), meson.project_name(), 'lyrics')
+ endif
+
conf.set_quoted('LYRICS_PLUGIN_DIR', lyrics_plugin_dir)
install_data(
'lyrics/10-hd.sh',
value: false,
description: 'Enable the lyrics screen')
+option('lyrics_plugin_dir', type: 'string',
+ value: '',
+ description: 'Directory where lyrics plugins are stored')
+
option('outputs_screen', type: 'boolean',
value: true,
description: 'Enable the outputs screen')