Signed-off-by: Markus Volk <[email protected]>
---
 .../0001-meson.build-set-hardcoded-version-string.patch       | 2 +-
 meta-networking/recipes-support/spice/libcacard_2.8.1.bb      | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/meta-networking/recipes-support/spice/libcacard/0001-meson.build-set-hardcoded-version-string.patch
 
b/meta-networking/recipes-support/spice/libcacard/0001-meson.build-set-hardcoded-version-string.patch
index b9d31c458..68b900577 100644
--- 
a/meta-networking/recipes-support/spice/libcacard/0001-meson.build-set-hardcoded-version-string.patch
+++ 
b/meta-networking/recipes-support/spice/libcacard/0001-meson.build-set-hardcoded-version-string.patch
@@ -25,7 +25,7 @@ index 9cfe248..00745e5 100644
 @@ -1,5 +1,5 @@
  project('libcacard', 'c', 'cpp',
 -  version: run_command('build-aux/git-version-gen', 
'@0@/.tarball-version'.format(meson.source_root()), check: 
true).stdout().strip(),
-+  version: '2.8.1',
++  version: '@version@',
    license: 'LGPLv2.1',
    default_options: ['warning_level=2'],
  )
diff --git a/meta-networking/recipes-support/spice/libcacard_2.8.1.bb 
b/meta-networking/recipes-support/spice/libcacard_2.8.1.bb
index 44cccba9d..77bd72dd3 100644
--- a/meta-networking/recipes-support/spice/libcacard_2.8.1.bb
+++ b/meta-networking/recipes-support/spice/libcacard_2.8.1.bb
@@ -14,3 +14,7 @@ SRC_URI = " \
 S = "${WORKDIR}/git"
 
 inherit meson pkgconfig
+
+do_configure:prepend() {
+    sed -i "s|@version@|${PV}|" ${S}/meson.build
+}
-- 
2.42.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107147): 
https://lists.openembedded.org/g/openembedded-devel/message/107147
Mute This Topic: https://lists.openembedded.org/mt/102879472/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to