aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2017-03-08 18:21:28 +0100
committerAndreas Oberritter <obi@opendreambox.org>2017-06-26 22:59:20 +0200
commit7e9c8c2045fd0327dd0fef53b54000ea1f0ba4bb (patch)
tree24d5e642e6d9fdc7c55f3d1e9cb39dae5a4a70c8
parent94aacb08575ebdfbca4609fee492194081c52aea (diff)
downloadmeta-openembedded-contrib-7e9c8c2045fd0327dd0fef53b54000ea1f0ba4bb.tar.gz
meta-openembedded-contrib-7e9c8c2045fd0327dd0fef53b54000ea1f0ba4bb.tar.bz2
meta-openembedded-contrib-7e9c8c2045fd0327dd0fef53b54000ea1f0ba4bb.zip
kodi: Don't append to PACKAGECONFIG, fix disabling opengl
It's hard to override from a distro config and the defaults are unsuitable for EGL platforms. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-rw-r--r--meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb b/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb
index 46a316b40a..3925dda903 100644
--- a/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb
+++ b/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb
@@ -93,12 +93,12 @@ ACCEL ?= ""
ACCEL_x86 = "vaapi vdpau"
ACCEL_x86-64 = "vaapi vdpau"
-PACKAGECONFIG ??= "${ACCEL}"
-PACKAGECONFIG_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', '', d)}"
-PACKAGECONFIG_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', ' opengl', ' openglesv2', d)}"
+PACKAGECONFIG ??= "${ACCEL} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', 'openglesv2', d)}"
-PACKAGECONFIG[opengl] = "--enable-gl,--enable-gles,"
-PACKAGECONFIG[openglesv2] = "--enable-gles,--enable-gl,virtual/egl"
+PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,"
+PACKAGECONFIG[openglesv2] = "--enable-gles,--disable-gles,virtual/egl"
PACKAGECONFIG[vaapi] = "--enable-vaapi,--disable-vaapi,libva"
PACKAGECONFIG[vdpau] = "--enable-vdpau,--disable-vdpau,libvdpau"
PACKAGECONFIG[mysql] = "--enable-mysql,--disable-mysql,mysql5"