blob: 419316a26e2fd46bb01f3b4343d7895d1f520d84 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001#
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
Andrew Geissler9aee5002022-03-30 16:27:02 +000013LICENSE = "LGPL-2.1-or-later"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
15
Andrew Geissler5082cc72023-09-11 08:41:39 -040016PV = "0.15.2"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080017
Andrew Geissler5082cc72023-09-11 08:41:39 -040018SRCREV = "0c2c1413a8b387ea597a95b6c867470a7c56c8ab"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019
Andrew Geissler5082cc72023-09-11 08:41:39 -040020SRC_URI = "gitsm://gitlab.freedesktop.org/spice/spice;branch=master;protocol=https"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080021
22S = "${WORKDIR}/git"
23
Patrick Williams2a254922023-08-11 09:48:11 -050024CVE_STATUS[CVE-2018-10893] = "fixed-version: patched already, caused by inaccurate CPE in the NVD database."
Andrew Geissler615f2f12022-07-15 14:00:58 -050025
Andrew Geissler5082cc72023-09-11 08:41:39 -040026inherit meson gettext python3native python3-dir pkgconfig
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027
Andrew Geissler5082cc72023-09-11 08:41:39 -040028DEPENDS = "spice-protocol jpeg pixman alsa-lib glib-2.0 gdk-pixbuf lz4 orc python3-pyparsing-native python3-six-native glib-2.0-native zlib"
Patrick Williams213cb262021-08-07 19:21:33 -050029DEPENDS:append:class-nativesdk = " nativesdk-openssl"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080030
Andrew Geissler82c905d2020-04-13 13:39:40 -050031export PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080032
Patrick Williamsda295312023-12-05 16:48:56 -060033do_configure:prepend() {
34 echo ${PV} > ${S}/.tarball-version
35}
36
Patrick Williams213cb262021-08-07 19:21:33 -050037PACKAGECONFIG:class-native = ""
38PACKAGECONFIG:class-nativesdk = ""
Andrew Geissler5082cc72023-09-11 08:41:39 -040039PACKAGECONFIG ?= "sasl opus smartcard gstreamer"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080040
Andrew Geissler5082cc72023-09-11 08:41:39 -040041PACKAGECONFIG[gstreamer] = "-Dgstreamer=1.0,-Dgstreamer=no,gstreamer1.0 gstreamer1.0-plugins-base"
42PACKAGECONFIG[smartcard] = "-Dsmartcard=enabled,-Dsmartcard=disabled,libcacard,libcacard"
43PACKAGECONFIG[sasl] = "-Dsasl=true,-Dsasl=false,cyrus-sasl,"
44PACKAGECONFIG[opus] = "-Dopus=enabled,-Dopus=disabled,libopus,"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080045
Patrick Williams2194f502022-10-16 14:26:09 -050046COMPATIBLE_HOST = '(x86_64|i.86|aarch64).*-linux'
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080047
Brad Bishop36a3e3e2019-10-02 13:29:27 -040048BBCLASSEXTEND = "native nativesdk"