diff options
Diffstat (limited to 'recipes-support/spice/spice_git.bb')
| -rw-r--r-- | recipes-support/spice/spice_git.bb | 79 |
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 | |||
| 5 | SUMMARY = "Simple Protocol for Independent Computing Environments" | ||
| 6 | DESCRIPTION = "SPICE (the Simple Protocol for Independent Computing \ | ||
| 7 | Environments) is a remote-display system built for virtual \ | ||
| 8 | environments which allows users to view a computing 'desktop' \ | ||
| 9 | environment - not only on its computer-server machine, but also from \ | ||
| 10 | anywhere on the Internet and using a wide variety of machine \ | ||
| 11 | architectures." | ||
| 12 | |||
| 13 | LICENSE = "BSD & LGPL-2.1-or-later" | ||
| 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
| 15 | |||
| 16 | PR = "r0" | ||
| 17 | PV = "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" | ||
| 23 | SRCREV_spice = "b270fb010a3ddb432dfe6b15e4bdffa6ac086cd0" | ||
| 24 | SRCREV_spice-common = "fe93908238196bd632287fc9875e6f2e11105d04" | ||
| 25 | SRCREV_spice-protocol = "784407f248e7f99d2bfcc9368f9acd1efb2b9617" | ||
| 26 | |||
| 27 | SRCREV_FORMAT = "spice_spice-common_spice-protocol" | ||
| 28 | |||
| 29 | SRC_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 | |||
| 34 | SRC_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 | |||
| 46 | S = "${WORKDIR}/git" | ||
| 47 | |||
| 48 | inherit autotools gettext python3native python3-dir pkgconfig | ||
| 49 | |||
| 50 | DEPENDS += "python3-native celt051 python3-pyparsing jpeg pixman alsa-lib glib-2.0" | ||
| 51 | |||
| 52 | export PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" | ||
| 53 | export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python${PYTHON_BASEVERSION}/site-packages" | ||
| 54 | |||
| 55 | PACKAGECONFIG ?= "sasl" | ||
| 56 | |||
| 57 | PACKAGECONFIG[smartcard] = "--enable-smartcard,--disable-smartcard,libcacard," | ||
| 58 | PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl," | ||
| 59 | PACKAGECONFIG[client] = "--enable-client,--disable-client,," | ||
| 60 | PACKAGECONFIG[gui] = "--enable-gui,--disable-gui,," | ||
| 61 | PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,," | ||
| 62 | PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama," | ||
| 63 | |||
| 64 | PACKAGES =+ "${PN}-protocol" | ||
| 65 | LICENSE:${PN}-protocol = "BSD" | ||
| 66 | FILES:${PN}-protocol += "${includedir}/spice-1" | ||
| 67 | FILES:${PN}-protocol += "${datadir}/pkgconfig" | ||
| 68 | |||
| 69 | do_configure:prepend() { | ||
| 70 | mkdir -p ${S}/spice-common/spice-protocol/m4 | ||
| 71 | } | ||
| 72 | |||
| 73 | do_install:append() { | ||
| 74 | cd ${B}/spice-common/spice-protocol | ||
| 75 | oe_runmake DESTDIR="${D}" install | ||
| 76 | cd - | ||
| 77 | } | ||
| 78 | |||
| 79 | COMPATIBLE_HOST = '(x86_64|i.86).*-linux' | ||
