Skip to contentSkip to conversation

mpd: add optional libmpdclient dependency

PATCH New Fabrice Fontaine 2 participants 2 messages Apr 3, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mpd: add optional libmpdclient dependency

---
Changes v1 -> v2 (after review of Peter Korsgaard):
- Add BR2_PACKAGE_MPD_LIBMPDCLIENT option

 package/mpd/Config.in | 6 ++++++
 package/mpd/mpd.mk    | 7 +++++++
 2 files changed, 13 insertions(+)
package/mpd/Config.in +6 -0
index bad32f8440..6c7468e173 100644
@@ -285,6 +285,12 @@ config BR2_PACKAGE_MPD_AVAHI_SUPPORT
 comment "avahi support needs a toolchain w/ dynamic library"
 	depends on BR2_STATIC_LIBS
 
+config BR2_PACKAGE_MPD_LIBMPDCLIENT
+	bool "libmpdclient"
+	select BR2_PACKAGE_LIBMPDCLIENT
+	help
+	  Enable libmpdclient support.
+
 config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT
 	bool "neighbor discovery support"
 	depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP
package/mpd/mpd.mk +7 -0
index f50e3d90c7..639c8c1981 100644
@@ -113,6 +113,13 @@ else
 MPD_CONF_OPTS += --disable-lame-encoder
 endif
 
+ifeq ($(BR2_PACKAGE_MPD_LIBMPDCLIENT),y)
+MPD_DEPENDENCIES += libmpdclient
+MPD_CONF_OPTS += --enable-libmpdclient
+else
+MPD_CONF_OPTS += --disable-libmpdclient
+endif
+
 ifeq ($(BR2_PACKAGE_MPD_LIBNFS),y)
 MPD_DEPENDENCIES += libnfs
 MPD_CONF_OPTS += --enable-nfs
Signature · 1 line
2.14.1
#1 lore raw

PATCH v2 1/1 mpd: add optional libmpdclient dependency

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

---
Changes v1 -> v2 (after review of Peter Korsgaard):
- Add BR2_PACKAGE_MPD_LIBMPDCLIENT option

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard