From 9728eb6b4e92aff33cc3bfeabae75c4f1ff5b75a Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Thu, 30 Nov 2023 07:57:22 +0100 Subject: [PATCH] spice-gtk: Set meson version based on PV This fixes build for gnome-boxes Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- meta-networking/recipes-support/spice/spice-gtk_0.42.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-networking/recipes-support/spice/spice-gtk_0.42.bb b/meta-networking/recipes-support/spice/spice-gtk_0.42.bb index 3d34f222d0..82ce7067d9 100644 --- a/meta-networking/recipes-support/spice/spice-gtk_0.42.bb +++ b/meta-networking/recipes-support/spice/spice-gtk_0.42.bb @@ -52,6 +52,10 @@ GTKDOC_MESON_OPTION = 'gtk_doc' GTKDOC_MESON_ENABLE_FLAG = 'enabled' GTKDOC_MESON_DISABLE_FLAG = 'disabled' +do_configure:prepend() { + echo ${PV} > ${S}/.tarball-version +} + PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)} smartcard" PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled" PACKAGECONFIG[smartcard] = "-Dsmartcard=enabled,-Dsmartcard=disabled,libcacard"