diff mbox series

[meta-openembedded,3/3] spice: build with opus and opengl

Message ID 20221029154116.3128371-3-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-openembedded,1/3] gtk-vnc: add recipe | expand

Commit Message

Markus Volk Oct. 29, 2022, 3:41 p.m. UTC
- remove COMPATIBLE_HOSTS whitelist because I was able to compile this for qemumips also

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-networking/recipes-support/spice/spice_git.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb
index b3e687476..69e220050 100644
--- a/meta-networking/recipes-support/spice/spice_git.bb
+++ b/meta-networking/recipes-support/spice/spice_git.bb
@@ -47,7 +47,7 @@  CFLAGS:append = " -Wno-error"
 
 PACKAGECONFIG:class-native = ""
 PACKAGECONFIG:class-nativesdk = ""
-PACKAGECONFIG ?= "sasl"
+PACKAGECONFIG ?= "sasl ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} opus"
 
 PACKAGECONFIG[celt051] = "--enable-celt051,--disable-celt051,celt051"
 PACKAGECONFIG[smartcard] = "--enable-smartcard,--disable-smartcard,libcacard,"
@@ -58,8 +58,6 @@  PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus,"
 PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,,"
 PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama,"
 
-COMPATIBLE_HOST = '(x86_64|i.86|aarch64).*-linux'
-
 BBCLASSEXTEND = "native nativesdk"
 
 EXTRA_OECONF:append:toolchain-clang = " --disable-werror"