|
@@ -29,6 +29,13 @@ else
|
|
|
MPD_CONF_OPTS += -Dzeroconf=disabled
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_EXPAT),y)
|
|
|
+MPD_DEPENDENCIES += expat
|
|
|
+MPD_CONF_OPTS += -Dexpat=enabled
|
|
|
+else
|
|
|
+MPD_CONF_OPTS += -Dexpat=disabled
|
|
|
+endif
|
|
|
+
|
|
|
# MPD prefers libicu for utf8 collation instead of libglib2.
|
|
|
ifeq ($(BR2_PACKAGE_ICU),y)
|
|
|
MPD_DEPENDENCIES += icu
|
|
@@ -37,6 +44,13 @@ else
|
|
|
MPD_CONF_OPTS += -Dicu=disabled
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_YAJL),y)
|
|
|
+MPD_DEPENDENCIES += yajl
|
|
|
+MPD_CONF_OPTS += -Dyajl=enabled
|
|
|
+else
|
|
|
+MPD_CONF_OPTS += -Dyajl=disabled
|
|
|
+endif
|
|
|
+
|
|
|
ifeq ($(BR2_PACKAGE_MPD_ALSA),y)
|
|
|
MPD_DEPENDENCIES += alsa-lib
|
|
|
MPD_CONF_OPTS += -Dalsa=enabled
|
|
@@ -251,7 +265,7 @@ MPD_CONF_OPTS += -Dpulse=disabled
|
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_MPD_QOBUZ),y)
|
|
|
-MPD_DEPENDENCIES += libgcrypt yajl
|
|
|
+MPD_DEPENDENCIES += libgcrypt
|
|
|
MPD_CONF_OPTS += -Dqobuz=enabled
|
|
|
else
|
|
|
MPD_CONF_OPTS += -Dqobuz=disabled
|
|
@@ -272,7 +286,6 @@ MPD_CONF_OPTS += -Dsidplay=disabled
|
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_MPD_SOUNDCLOUD),y)
|
|
|
-MPD_DEPENDENCIES += yajl
|
|
|
MPD_CONF_OPTS += -Dsoundcloud=enabled
|
|
|
else
|
|
|
MPD_CONF_OPTS += -Dsoundcloud=disabled
|
|
@@ -307,12 +320,10 @@ endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_MPD_UPNP_PUPNP),y)
|
|
|
MPD_DEPENDENCIES += \
|
|
|
- expat \
|
|
|
libupnp
|
|
|
MPD_CONF_OPTS += -Dupnp=pupnp
|
|
|
else ifeq ($(BR2_PACKAGE_MPD_UPNP_NPUPNP),y)
|
|
|
MPD_DEPENDENCIES += \
|
|
|
- expat \
|
|
|
libnpupnp
|
|
|
MPD_CONF_OPTS += -Dupnp=npupnp
|
|
|
else ifeq ($(BR2_PACKAGE_MPD_UPNP_DISABLED),y)
|