From adf590f2283097b64976936e530084986c203b2b Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 25 Mar 2014 15:38:22 -0400 Subject: meta-cloud-services: introduce spice A common requirement for many cloud systems is remote console access. Adding spice to the common layer allows a rich console environment to be provided. Signed-off-by: Bruce Ashfield --- recipes-support/spice/spice_git.bb | 63 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 recipes-support/spice/spice_git.bb (limited to 'recipes-support/spice/spice_git.bb') diff --git a/recipes-support/spice/spice_git.bb b/recipes-support/spice/spice_git.bb new file mode 100644 index 0000000..900259a --- /dev/null +++ b/recipes-support/spice/spice_git.bb @@ -0,0 +1,63 @@ +# +# Copyright (C) 2013 Wind River Systems, Inc. +# + +SUMMARY = "Simple Protocol for Independent Computing Environments" +DESCRIPTION = "SPICE (the Simple Protocol for Independent Computing \ +Environments) is a remote-display system built for virtual \ +environments which allows users to view a computing 'desktop' \ +environment - not only on its computer-server machine, but also from \ +anywhere on the Internet and using a wide variety of machine \ +architectures." + +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" + +PR = "r0" +PV = "0.12.4" + +# Actual versions based on the checkouts below +# spice = "0.12.4" +# common = "0.12.6" +# protocol = "0.12.6" +SRCREV_spice = "b270fb010a3ddb432dfe6b15e4bdffa6ac086cd0" +SRCREV_spice-common = "fe93908238196bd632287fc9875e6f2e11105d04" +SRCREV_spice-protocol = "784407f248e7f99d2bfcc9368f9acd1efb2b9617" + +SRC_URI = "git://anongit.freedesktop.org/spice/spice;name=spice \ + git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/spice-common;name=spice-common \ + git://anongit.freedesktop.org/spice/spice-protocol;destsuffix=git/spice-common/spice-protocol;name=spice-protocol \ + " + +SRC_URI += "file://spice-fix-CVE-2013-4282.patch" + +S = "${WORKDIR}/git" + +inherit autotools gettext pythonnative python-dir pkgconfig + +DEPENDS += "python-native celt051 python-pyparsing jpeg pixman alsa-lib glib-2.0" + +EXTRA_OECONF_append = " -Wnone" +EXTRA_AUTORECONF_append = " -Wnone" + +export PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" +export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python2.7/site-packages" + +PACKAGECONFIG ?= "sasl" + +PACKAGECONFIG[smartcard] = "--enable-smartcard,--disable-smartcard,libcacard," +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,," + +PACKAGES =+ "${PN}-protocol" +LICENSE_${PN}-protocol = "BSD" +FILES_${PN}-protocol += "${includedir}/spice-1" +FILES_${PN}-protocol += "${datadir}/pkgconfig" + +do_install_append() { + cd ${S}/spice-common/spice-protocol + oe_runmake DESTDIR="${D}" install + cd - +} -- cgit v1.2.3-54-g00ecf