spice_git.bb 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #
  2. # Copyright (C) 2013 Wind River Systems, Inc.
  3. #
  4. SUMMARY = "Simple Protocol for Independent Computing Environments"
  5. DESCRIPTION = "SPICE (the Simple Protocol for Independent Computing \
  6. Environments) is a remote-display system built for virtual \
  7. environments which allows users to view a computing 'desktop' \
  8. environment - not only on its computer-server machine, but also from \
  9. anywhere on the Internet and using a wide variety of machine \
  10. architectures."
  11. LICENSE = "LGPL-2.1-or-later"
  12. LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
  13. PV = "0.15.2"
  14. SRCREV = "0c2c1413a8b387ea597a95b6c867470a7c56c8ab"
  15. SRC_URI = "gitsm://gitlab.freedesktop.org/spice/spice;branch=master;protocol=https"
  16. S = "${WORKDIR}/git"
  17. CVE_STATUS[CVE-2016-0749] = "fixed-version: patched since 0.13.2"
  18. CVE_STATUS[CVE-2016-2150] = "fixed-version: patched since 0.13.2"
  19. CVE_STATUS[CVE-2018-10893] = "fixed-version: patched already, caused by inaccurate CPE in the NVD database."
  20. inherit meson gettext python3native python3-dir pkgconfig
  21. DEPENDS = "spice-protocol jpeg pixman alsa-lib glib-2.0 gdk-pixbuf lz4 orc python3-pyparsing-native python3-six-native glib-2.0-native zlib"
  22. DEPENDS:append:class-nativesdk = " nativesdk-openssl"
  23. export PYTHON = "${STAGING_BINDIR_NATIVE}/python3-native/python3"
  24. do_configure:prepend() {
  25. echo ${PV} > ${S}/.tarball-version
  26. }
  27. PACKAGECONFIG:class-native = ""
  28. PACKAGECONFIG:class-nativesdk = ""
  29. PACKAGECONFIG ?= "sasl opus smartcard gstreamer"
  30. PACKAGECONFIG[gstreamer] = "-Dgstreamer=1.0,-Dgstreamer=no,gstreamer1.0 gstreamer1.0-plugins-base"
  31. PACKAGECONFIG[smartcard] = "-Dsmartcard=enabled,-Dsmartcard=disabled,libcacard,libcacard"
  32. PACKAGECONFIG[sasl] = "-Dsasl=true,-Dsasl=false,cyrus-sasl,"
  33. PACKAGECONFIG[opus] = "-Dopus=enabled,-Dopus=disabled,libopus,"
  34. COMPATIBLE_HOST = '(x86_64|i.86|aarch64).*-linux'
  35. BBCLASSEXTEND = "native nativesdk"