aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2018-03-01 10:35:15 +0000
committerArmin Kuster <akuster808@gmail.com>2018-03-16 19:14:46 -0700
commit0b43a6edc2c352a69cdfcbf79958b117227ff1ab (patch)
tree026bed8170ab1265881b5dddd779d4503b5cc016 /meta-multimedia
parenta060d55f869535c37aa64b4f62d233519b871f0a (diff)
downloadmeta-openembedded-contrib-0b43a6edc2c352a69cdfcbf79958b117227ff1ab.tar.gz
kodi: add PACKAGECONFIG for samba and enable only with pam in DISTRO_FEATURES
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r--meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb b/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb
index 5158f05b66d..656aefeff89 100644
--- a/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb
+++ b/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb
@@ -50,7 +50,6 @@ DEPENDS = " \
lzo \
mpeg2dec \
python \
- samba \
sqlite3 \
taglib \
virtual/egl \
@@ -102,8 +101,10 @@ ACCEL ?= ""
ACCEL_x86 = "vaapi vdpau"
ACCEL_x86-64 = "vaapi vdpau"
-PACKAGECONFIG ??= "${ACCEL} opengl"
-PACKAGECONFIG_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', ' openglesv2', d)}"
+PACKAGECONFIG ??= "${ACCEL} opengl \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'openglesv2', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'samba', '', d)} \
+"
PACKAGECONFIG[opengl] = "--enable-gl,--enable-gles,"
PACKAGECONFIG[openglesv2] = "--enable-gles,--enable-gl,virtual/egl"
@@ -113,6 +114,7 @@ PACKAGECONFIG[mysql] = "--enable-mysql,--disable-mysql,mysql5"
PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,libxinerama libxmu libxrandr libxtst"
PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"
PACKAGECONFIG[lcms] = "--enable-lcms2,--disable-lcms2,lcms"
+PACKAGECONFIG[samba] = "--enable-samba,--disable-samba,samba"
EXTRA_OECONF = " \
--disable-debug \