Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 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 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 13 | LICENSE = "LGPL-2.1-or-later" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
| 15 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 16 | PV = "0.14.2+git${SRCPV}" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 17 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 18 | SRCREV_spice = "7cbd70b931db76c69c89c2d9d5d704f67381a81b" |
| 19 | SRCREV_spice-common = "4fc4c2db36c7f07b906e9a326a9d3dc0ae6a2671" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 20 | |
| 21 | SRCREV_FORMAT = "spice_spice-common" |
| 22 | |
| 23 | SRC_URI = " \ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 24 | git://anongit.freedesktop.org/spice/spice;name=spice;branch=master \ |
| 25 | git://anongit.freedesktop.org/spice/spice-common;destsuffix=git/subprojects/spice-common;name=spice-common;branch=master \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 26 | file://0001-Convert-pthread_t-to-be-numeric.patch \ |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 27 | file://0001-Fix-compile-errors-on-Linux-32bit-system.patch \ |
Andrew Geissler | ac970dd | 2021-02-12 15:32:45 -0600 | [diff] [blame] | 28 | file://0001-configure.ac-explicitly-link-to-jpeg-lib.patch \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 29 | " |
| 30 | |
| 31 | S = "${WORKDIR}/git" |
| 32 | |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 33 | CVE_CHECK_IGNORE += "\ |
| 34 | CVE-2016-0749 \ |
| 35 | CVE-2016-2150 \ |
| 36 | CVE-2018-10893 \ |
| 37 | " |
| 38 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 39 | inherit autotools gettext python3native python3-dir pkgconfig |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 40 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 41 | DEPENDS += "spice-protocol jpeg pixman alsa-lib glib-2.0 python3-pyparsing-native python3-six-native glib-2.0-native" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 42 | DEPENDS:append:class-nativesdk = " nativesdk-openssl" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 43 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 44 | export PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 45 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 46 | CFLAGS:append = " -Wno-error" |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 47 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 48 | PACKAGECONFIG:class-native = "" |
| 49 | PACKAGECONFIG:class-nativesdk = "" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 50 | PACKAGECONFIG ?= "sasl" |
| 51 | |
| 52 | PACKAGECONFIG[celt051] = "--enable-celt051,--disable-celt051,celt051" |
| 53 | PACKAGECONFIG[smartcard] = "--enable-smartcard,--disable-smartcard,libcacard," |
| 54 | PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl," |
| 55 | PACKAGECONFIG[client] = "--enable-client,--disable-client,," |
| 56 | PACKAGECONFIG[gui] = "--enable-gui,--disable-gui,," |
| 57 | PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus," |
| 58 | PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,," |
| 59 | PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama," |
| 60 | |
Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame] | 61 | COMPATIBLE_HOST = '(x86_64|i.86|aarch64).*-linux' |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 62 | |
Brad Bishop | 36a3e3e | 2019-10-02 13:29:27 -0400 | [diff] [blame] | 63 | BBCLASSEXTEND = "native nativesdk" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 64 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 65 | EXTRA_OECONF:append:toolchain-clang = " --disable-werror" |