[oe] [PATCH 2/2] libmpdclient: make TCP support optional

Max Kellermann max+openembedded at blarg.de
Tue Oct 9 08:55:21 UTC 2018


From: Max Kellermann <max.kellermann at gmail.com>

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 at gmail.com>
---
 .../recipes-multimedia/musicpd/libmpdclient_2.16.bb            | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-multimedia/recipes-multimedia/musicpd/libmpdclient_2.16.bb b/meta-multimedia/recipes-multimedia/musicpd/libmpdclient_2.16.bb
index a51dc865b..455e76fcb 100644
--- a/meta-multimedia/recipes-multimedia/musicpd/libmpdclient_2.16.bb
+++ b/meta-multimedia/recipes-multimedia/musicpd/libmpdclient_2.16.bb
@@ -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
-- 
2.19.1




More information about the Openembedded-devel mailing list