From 7d0ef322e7aedd5a82516c28939b9664e82335e3 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 17 Sep 2026 16:37:21 +0100 Subject: [PATCH] spice: clean up dependencies We can disable building the tests, and remove a few build dependencies. python3-six is no longer needed, remove that. openssl is always required, add to DEPENDS. Add lz4 PACKAGECONFIG as this is an option upstream, enabled by default to preserve behaviour. Signed-off-by: Ross Burton Signed-off-by: Khem Raj --- .../recipes-support/spice/spice_0.16.0.bb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meta-networking/recipes-support/spice/spice_0.16.0.bb b/meta-networking/recipes-support/spice/spice_0.16.0.bb index b437008430..4d4086c180 100644 --- a/meta-networking/recipes-support/spice/spice_0.16.0.bb +++ b/meta-networking/recipes-support/spice/spice_0.16.0.bb @@ -24,22 +24,22 @@ CVE_STATUS[CVE-2016-0749] = "fixed-version: patched since 0.13.2" CVE_STATUS[CVE-2016-2150] = "fixed-version: patched since 0.13.2" CVE_STATUS[CVE-2018-10893] = "fixed-version: patched already, caused by inaccurate CPE in the NVD database." -inherit meson gettext python3native python3-dir pkgconfig +inherit meson pkgconfig python3native -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" -DEPENDS:append:class-nativesdk = " nativesdk-openssl" - -export PYTHON = "${STAGING_BINDIR_NATIVE}/python3-native/python3" +DEPENDS = "spice-protocol glib-2.0 pixman openssl jpeg zlib python3-pyparsing-native" do_configure:prepend() { echo ${PV} > ${S}/.tarball-version } +EXTRA_OEMESON = "-Dtests=false" + PACKAGECONFIG:class-native = "" PACKAGECONFIG:class-nativesdk = "" -PACKAGECONFIG ?= "sasl opus smartcard gstreamer" +PACKAGECONFIG ?= "lz4 sasl opus smartcard gstreamer" PACKAGECONFIG[gstreamer] = "-Dgstreamer=1.0,-Dgstreamer=no,gstreamer1.0 gstreamer1.0-plugins-base" +PACKAGECONFIG[lz4] = "-Dlz4=true,-Dlz4=false,lz4" PACKAGECONFIG[smartcard] = "-Dsmartcard=enabled,-Dsmartcard=disabled,libcacard,libcacard" PACKAGECONFIG[sasl] = "-Dsasl=true,-Dsasl=false,cyrus-sasl," PACKAGECONFIG[opus] = "-Dopus=enabled,-Dopus=disabled,libopus,"