summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/spice/spice_git.bb
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2018-05-11 19:21:37 +0000
committerArmin Kuster <akuster808@gmail.com>2018-05-17 08:32:26 -0700
commit63a5e273b7d653d4a239d23cd447a36b685b839e (patch)
tree2bb19b42a8cf601787b5407c1d9ec502ffa2f855 /meta-networking/recipes-support/spice/spice_git.bb
parente7b6b648da153b60f2310744b01140e892bb8dbc (diff)
downloadmeta-openembedded-63a5e273b7d653d4a239d23cd447a36b685b839e.tar.gz
spice: import from meta-cloud-services
* http://git.yoctoproject.org/cgit/cgit.cgi/meta-cloud-services/commit/recipes-support/spice/spice_git.bb?id=19f0c979abbc72a300c0b1cb92f9328f96728f5a * will be used by qemu-native to provide a way for headless servers to export accelerated (virglrenderer) graphics to remove clients Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/spice/spice_git.bb')
-rw-r--r--meta-networking/recipes-support/spice/spice_git.bb76
1 files changed, 76 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb
new file mode 100644
index 0000000000..04e7a25d70
--- /dev/null
+++ b/meta-networking/recipes-support/spice/spice_git.bb
@@ -0,0 +1,76 @@
1#
2# Copyright (C) 2013 Wind River Systems, Inc.
3#
4
5SUMMARY = "Simple Protocol for Independent Computing Environments"
6DESCRIPTION = "SPICE (the Simple Protocol for Independent Computing \
7Environments) is a remote-display system built for virtual \
8environments which allows users to view a computing 'desktop' \
9environment - not only on its computer-server machine, but also from \
10anywhere on the Internet and using a wide variety of machine \
11architectures."
12
13LICENSE = "BSD & LGPLv2.1+"
14LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
15
16PR = "r0"
17PV = "0.12.4"
18
19# Actual versions based on the checkouts below
20# spice = "0.12.4"
21# common = "0.12.6"
22# protocol = "0.12.6"
23SRCREV_spice = "b270fb010a3ddb432dfe6b15e4bdffa6ac086cd0"
24SRCREV_spice-common = "fe93908238196bd632287fc9875e6f2e11105d04"
25SRCREV_spice-protocol = "784407f248e7f99d2bfcc9368f9acd1efb2b9617"
26
27SRCREV_FORMAT = "spice_spice-common_spice-protocol"
28
29SRC_URI = "git://anongit.freedesktop.org/spice/spice;name=spice \
30 git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/spice-common;name=spice-common \
31 git://anongit.freedesktop.org/spice/spice-protocol;destsuffix=git/spice-common/spice-protocol;name=spice-protocol \
32 "
33
34SRC_URI += " \
35 file://spice-fix-CVE-2013-4282.patch \
36 file://configure.ac-add-subdir-objects-to-AM_INIT_AUTOMAKE.patch \
37 file://build-allow-separated-src-and-build-dirs.patch \
38 file://0001-red_parse_qxl-Fix-BITMAP_FMT_IS_RGB-defined-but-not-.patch \
39 file://0001-Use-PRI-macros-in-printf-to-keep-compatibility-betwe.patch \
40 file://Fix-build-issues-with-gcc-7.patch \
41 "
42
43S = "${WORKDIR}/git"
44
45inherit autotools gettext pythonnative python-dir pkgconfig
46
47DEPENDS += "python-native celt051 python-pyparsing jpeg pixman alsa-lib glib-2.0"
48
49export PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
50export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python2.7/site-packages"
51
52PACKAGECONFIG ?= "sasl"
53
54PACKAGECONFIG[smartcard] = "--enable-smartcard,--disable-smartcard,libcacard,"
55PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,"
56PACKAGECONFIG[client] = "--enable-client,--disable-client,,"
57PACKAGECONFIG[gui] = "--enable-gui,--disable-gui,,"
58PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,,"
59PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama,"
60
61PACKAGES =+ "${PN}-protocol"
62LICENSE_${PN}-protocol = "BSD"
63FILES_${PN}-protocol += "${includedir}/spice-1"
64FILES_${PN}-protocol += "${datadir}/pkgconfig"
65
66do_configure_prepend() {
67 mkdir -p ${S}/spice-common/spice-protocol/m4
68}
69
70do_install_append() {
71 cd ${B}/spice-common/spice-protocol
72 oe_runmake DESTDIR="${D}" install
73 cd -
74}
75
76COMPATIBLE_HOST = '(x86_64|i.86).*-linux'