After I had a closer look at the spice configure log it turned out, that the dependencies and the autotools configure options were quite outdated and partly wrong. For that reason i did a rework for the spice recipe, upgradet to 0.15.1 and switched the buildsystem over to meson. I've sent a v2 for the spice.bb

Am Sa, 29. Okt 2022 um 17:50:54 +0200 schrieb Markus Volk <[email protected]>:
These recipes are needed to compile virt-viewer, for which I have also created a recipe. I would send it as a proposal to meta-virtualization, but I'm not sure which mailing list would be the right one?

I have done compilation tests for x86_64, aarch64 and mipsqemu with gcc. Fingers crossed for clang.

Runtime tested with proxmox on x86_64

Am Sa, 29. Okt 2022 um 17:41:16 +0200 schrieb Markus Volk <[email protected]>:
- remove COMPATIBLE_HOSTS whitelist because I was able to compile this for qemumips also

Signed-off-by: Markus Volk <[email protected] <mailto:[email protected]>>
---
 meta-networking/recipes-support/spice/spice_git.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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 <mailto:${@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"
--
2.34.1





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#99349): 
https://lists.openembedded.org/g/openembedded-devel/message/99349
Mute This Topic: https://lists.openembedded.org/mt/94660290/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to