music player daemon (fork)
Go to file
Jörg Krause 7f87de783f src/lib/gcrypt/meson.build: use dependency() for quering linker flags
Since version 0.49.0 the Meson build system has native support for
finding and using the gcrypt library using the `dependency()` function.

`dependency()` has the advantage over `find_library()` as it queries the
required linker flags for proper linking with external libraries, e.g.
libgpg-error.

As the latest released version 1.8.4 of libgcrypt does not
provide a .pc file, using `libgcrypt-config` is the only way to query
the required linker flags.

Unfortunately, there is an issue when cross compiling mpd and the user does not
define `libgcrypt-config` in the cross file. If the user sets the qobuz feature
to `auto` and the target does not have libgcrypt installed, the Meson
build system will falsly assume libgcrypt is available for the target as
it uses the native `libgcrypt-config` on the host and pretend is has
found the library.

Therefore, we still rely on `find_library()` to workaround this buggy
behavior. This way, if qobuz feature detection is set to `auto`, the
feature is disabled in case there is no target libgcrypt available.

Fixes building mpd statically with the qobuz feature enabled. Otherwise
the build fails with undefined references because of the missing libgpg-error
dependency:

```
/sysroot/usr/lib/libgcrypt.a(libgcrypt_la-visibility.o): In function `gcry_strerror':
visibility.c:(.text+0x14): undefined reference to `gpg_strerror'
```
2019-03-18 09:12:19 +01:00
android increment version number to 0.21.6 2019-02-22 15:28:03 +01:00
build build/pkg-config.sh: add comment 2019-02-22 12:39:59 +01:00
doc meson.build: require Meson 0.49.0 2019-03-18 09:11:46 +01:00
python/build python/build/libs.py: upgrade CURL to 7.64.0 2019-02-22 12:10:06 +01:00
src src/lib/gcrypt/meson.build: use dependency() for quering linker flags 2019-03-18 09:12:19 +01:00
systemd build with Meson instead of autotools 2018-10-14 23:41:38 +02:00
test test/TestSongFilter: unit test for song filters 2019-03-16 13:23:02 +01:00
win32 win32/build.py: link libstdc++ and libcc statically 2018-11-04 11:10:00 +01:00
.gitignore remove some autotools remains 2018-11-02 18:55:49 +01:00
.travis.yml test: use GTest instead of cppunit 2018-10-16 21:26:04 +02:00
AUTHORS AUTHORS: add 0.21 contributors 2018-10-31 17:59:54 +01:00
COPYING Update the text of the GPLv2, this fixes the address and a few other oddities. 2008-12-20 19:02:09 -08:00
NEWS meson.build: require Meson 0.49.0 2019-03-18 09:11:46 +01:00
README.md release v0.20.7 2017-05-15 23:01:49 +02:00
meson.build meson.build: require Meson 0.49.0 2019-03-18 09:11:46 +01:00
meson_options.txt meson: add fixed-point Vorbis (Tremor) decoder support 2019-01-21 08:35:17 +01:00
mpd.svg import MPD SVG icon 2014-07-14 19:04:46 +02:00
valgrind.suppressions valgrind.suppressions: add GObject/libgcrypt/libsmbclient suppressions 2019-02-05 22:53:02 +01:00

README.md

Music Player Daemon

http://www.musicpd.org

A daemon for playing music of various formats. Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely.

For basic installation instructions read the manual.

Users

Developers

Legal

MPD is released under the GNU General Public License version 2, which is distributed in the COPYING file.