summaryrefslogtreecommitdiffstats
path: root/recipes-support/spice/spice_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/spice/spice_git.bb')
-rw-r--r--recipes-support/spice/spice_git.bb79
1 files changed, 0 insertions, 79 deletions
diff --git a/recipes-support/spice/spice_git.bb b/recipes-support/spice/spice_git.bb
deleted file mode 100644
index 44e7ce1..0000000
--- a/recipes-support/spice/spice_git.bb
+++ /dev/null
@@ -1,79 +0,0 @@
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 & LGPL-2.1-or-later"
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;branch=master \
30 git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/spice-common;name=spice-common;branch=master \
31 git://anongit.freedesktop.org/spice/spice-protocol;destsuffix=git/spice-common/spice-protocol;name=spice-protocol;branch=master \
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 file://CVE-2017-7506-1.patch \
42 file://CVE-2017-7506-2.patch \
43 file://CVE-2017-7506-3.patch \
44 "
45
46S = "${WORKDIR}/git"
47
48inherit autotools gettext python3native python3-dir pkgconfig
49
50DEPENDS += "python3-native celt051 python3-pyparsing jpeg pixman alsa-lib glib-2.0"
51
52export PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
53export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python${PYTHON_BASEVERSION}/site-packages"
54
55PACKAGECONFIG ?= "sasl"
56
57PACKAGECONFIG[smartcard] = "--enable-smartcard,--disable-smartcard,libcacard,"
58PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,"
59PACKAGECONFIG[client] = "--enable-client,--disable-client,,"
60PACKAGECONFIG[gui] = "--enable-gui,--disable-gui,,"
61PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,,"
62PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama,"
63
64PACKAGES =+ "${PN}-protocol"
65LICENSE:${PN}-protocol = "BSD"
66FILES:${PN}-protocol += "${includedir}/spice-1"
67FILES:${PN}-protocol += "${datadir}/pkgconfig"
68
69do_configure:prepend() {
70 mkdir -p ${S}/spice-common/spice-protocol/m4
71}
72
73do_install:append() {
74 cd ${B}/spice-common/spice-protocol
75 oe_runmake DESTDIR="${D}" install
76 cd -
77}
78
79COMPATIBLE_HOST = '(x86_64|i.86).*-linux'