libmpdclient: make TCP support optional

Allows more tinfication.  Without TCP, libmpdclient can only use local
sockets, which is a good choice anyway if MPD runs on the same
machine.

Signed-off-by: Max Kellermann <max.kellermann@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Max Kellermann
2018-10-09 10:55:21 +02:00
committed by Khem Raj
parent e0c6a3369d
commit ccfe7aca8e

View File

@@ -11,6 +11,9 @@ SRC_URI = " \
SRCREV = "4e8d990eb5239566ee948f1cd79b7248e008620a"
S = "${WORKDIR}/git"
PACKAGECONFIG ??= "tcp"
PACKAGECONFIG[tcp] = "-Dtcp=true,-Dtcp=false"
do_install_append() {
# libmpdclient's Vala bindings are outdated and unmaintained; it
# is likely that nobody will ever use them, so let's not install