Skip to contentSkip to conversation

kodi: allow mysql to be used

PATCH New Ryan Coe 2 participants 2 messages Mar 4, 2015

lore
Share & tools
lore

Ryan Coe

author
#0 lore raw

PATCH 1/1 kodi: allow mysql to be used

---
 package/kodi/kodi.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
package/kodi/kodi.mk +8 -1
index 01c7e80..0a6fe7c 100644
@@ -37,7 +37,6 @@ KODI_CONF_OPTS +=  \
 	--disable-dvdcss \
 	--disable-hal \
 	--disable-joystick \
-	--disable-mysql \
 	--disable-openmax \
 	--disable-projectm \
 	--disable-pulse \
@@ -46,6 +45,14 @@ KODI_CONF_OPTS +=  \
 	--disable-vtbdecoder \
 	--enable-optimizations
 
+ifeq ($(BR2_PACKAGE_MYSQL),y)
+KODI_CONF_OPTS += --enable-mysql
+KODI_CONF_ENV += ac_cv_path_MYSQL_CONFIG="$(STAGING_DIR)/usr/bin/mysql_config"
+KODI_DEPENDENCIES += mysql
+else
+KODI_CONF_OPTS += --disable-mysql
+endif
+
 ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
 KODI_DEPENDENCIES += rpi-userland
 KODI_CONF_OPTS += --with-platform=raspberry-pi --enable-player=omxplayer
Signature · 1 line
2.3.1
#1 lore raw

PATCH 1/1 kodi: allow mysql to be used

Dear Ryan Coe,

Quoted 4 lines · Ryan Coe
---
 package/kodi/kodi.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com