All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH 1/3] libcacard: set meson version based on PV
@ 2023-11-29 19:42 Markus Volk
  2023-11-29 19:42 ` [meta-networking][PATCH 2/3] spice: Set " Markus Volk
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Volk @ 2023-11-29 19:42 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../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



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-30  6:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-29 19:42 [meta-networking][PATCH 1/3] libcacard: set meson version based on PV Markus Volk
2023-11-29 19:42 ` [meta-networking][PATCH 2/3] spice: Set " Markus Volk
2023-11-29 20:26   ` [oe] " Ross Burton
2023-11-30  0:52     ` Khem Raj
2023-11-30  6:58       ` Markus Volk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.