From: Jackie Huang <[email protected]>

spice auto detect Xinerama library to enable the feature,
but it causes error when using sstate between different
builds, e.g. previous build have xinerama but the later
one doesn't, then it fails on the later one with:

"Package 'xinerama', required by 'spice-server', not found"

Add PACKAGECONFIG for xinerama to ensure we have
deterministic builds.

Signed-off-by: Jackie Huang <[email protected]>
---
 recipes-support/spice/spice_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-support/spice/spice_git.bb 
b/recipes-support/spice/spice_git.bb
index 95f7156..0524c27 100644
--- a/recipes-support/spice/spice_git.bb
+++ b/recipes-support/spice/spice_git.bb
@@ -53,6 +53,7 @@ PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,"
 PACKAGECONFIG[client] = "--enable-client,--disable-client,,"
 PACKAGECONFIG[gui] = "--enable-gui,--disable-gui,,"
 PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,,"
+PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama,"
 
 PACKAGES =+ "${PN}-protocol"
 LICENSE_${PN}-protocol = "BSD"
-- 
2.8.1

-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to