Merge branch 'v0.21.x'
This commit is contained in:
commit
4722175049
3
NEWS
3
NEWS
@ -2,6 +2,9 @@ ver 0.22 (not yet released)
|
|||||||
* input
|
* input
|
||||||
- ffmpeg: allow partial reads
|
- ffmpeg: allow partial reads
|
||||||
|
|
||||||
|
ver 0.21.7 (not yet released)
|
||||||
|
* require Meson 0.49.0 for native libgcrypt-config support
|
||||||
|
|
||||||
ver 0.21.6 (2019/03/17)
|
ver 0.21.6 (2019/03/17)
|
||||||
* protocol
|
* protocol
|
||||||
- allow loading playlists specified as absolute filesystem paths
|
- allow loading playlists specified as absolute filesystem paths
|
||||||
|
@ -54,7 +54,7 @@ Download the source tarball from the `MPD home page <https://musicpd.org>`_ and
|
|||||||
In any case, you need:
|
In any case, you need:
|
||||||
|
|
||||||
* a C++14 compiler (e.g. gcc 6.0 or clang 3.9)
|
* a C++14 compiler (e.g. gcc 6.0 or clang 3.9)
|
||||||
* `Meson 0.47.2 <http://mesonbuild.com/>`__ and `Ninja
|
* `Meson 0.49.0 <http://mesonbuild.com/>`__ and `Ninja
|
||||||
<https://ninja-build.org/>`__
|
<https://ninja-build.org/>`__
|
||||||
* Boost 1.58
|
* Boost 1.58
|
||||||
* pkg-config
|
* pkg-config
|
||||||
|
@ -2,7 +2,7 @@ project(
|
|||||||
'mpd',
|
'mpd',
|
||||||
['c', 'cpp'],
|
['c', 'cpp'],
|
||||||
version: '0.22~git',
|
version: '0.22~git',
|
||||||
meson_version: '>= 0.47.2',
|
meson_version: '>= 0.49.0',
|
||||||
default_options: [
|
default_options: [
|
||||||
'c_std=c99',
|
'c_std=c99',
|
||||||
'cpp_std=c++14'
|
'cpp_std=c++14'
|
||||||
|
@ -1,4 +1,17 @@
|
|||||||
|
# Since version 0.49.0 Meson has native libgcrypt dependency support, which has
|
||||||
|
# the advantage over find_library() as it uses libgcrypt-config to query the
|
||||||
|
# required linker flags.
|
||||||
|
# However, we still need to use find_library() first, to prevent Meson
|
||||||
|
# falsly assuming a target libgcrypt is available in case there is no
|
||||||
|
# libgcrypt-config entry in the cross file and libgcrypt is installed on the
|
||||||
|
# host. In this case, Meson will falsly use the native libgcrypt-config and
|
||||||
|
# will falsly assume it has found the gcrypt library for the target.
|
||||||
|
#
|
||||||
|
# See: https://github.com/MusicPlayerDaemon/MPD/pull/495
|
||||||
gcrypt_dep = c_compiler.find_library('gcrypt', required: get_option('qobuz'))
|
gcrypt_dep = c_compiler.find_library('gcrypt', required: get_option('qobuz'))
|
||||||
|
if gcrypt_dep.found()
|
||||||
|
gcrypt_dep = dependency('libgcrypt')
|
||||||
|
endif
|
||||||
if not gcrypt_dep.found()
|
if not gcrypt_dep.found()
|
||||||
subdir_done()
|
subdir_done()
|
||||||
endif
|
endif
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
windows_conf = configuration_data()
|
windows_conf = configuration_data()
|
||||||
windows_conf.set('VERSION', meson.project_version())
|
windows_conf.set('VERSION', meson.project_version())
|
||||||
|
|
||||||
splitted_version = meson.project_version().split('.')
|
splitted_version = meson.project_version().split('~')[0].split('.')
|
||||||
windows_conf.set('VERSION_MAJOR', splitted_version[0])
|
windows_conf.set('VERSION_MAJOR', splitted_version[0])
|
||||||
windows_conf.set('VERSION_MINOR', splitted_version.get(1, '0'))
|
windows_conf.set('VERSION_MINOR', splitted_version.get(1, '0'))
|
||||||
windows_conf.set('VERSION_REVISION', splitted_version.get(2, '0'))
|
windows_conf.set('VERSION_REVISION', splitted_version.get(2, '0'))
|
||||||
|
Loading…
Reference in New Issue
Block a user