diff options
author | Markus Volk <f_l_k@t-online.de> | 2023-11-30 07:57:20 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-11-29 23:40:10 -0800 |
commit | eeb57e1e8a2355a5eac1fa662fd97fe3930762d4 (patch) | |
tree | 1b6da0c39cfee4d6353d83157e3bc0ba84269d46 /meta-networking | |
parent | 6fbe5001895a132644665fafa8b1676507023b90 (diff) | |
download | meta-openembedded-eeb57e1e8a2355a5eac1fa662fd97fe3930762d4.tar.gz |
libcacard: set meson version based on PV
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-support/spice/libcacard/0001-meson.build-set-hardcoded-version-string.patch | 34 | ||||
-rw-r--r-- | meta-networking/recipes-support/spice/libcacard_2.8.1.bb | 9 |
2 files changed, 5 insertions, 38 deletions
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 deleted file mode 100644 index b9d31c458..000000000 --- a/meta-networking/recipes-support/spice/libcacard/0001-meson.build-set-hardcoded-version-string.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From dbfc08b9dc879e21bfacbd153948d21db36d50cd Mon Sep 17 00:00:00 2001 | ||
2 | From: Markus Volk <f_l_k@t-online.de> | ||
3 | Date: Thu, 23 Nov 2023 13:20:40 +0100 | ||
4 | Subject: [PATCH] meson.build: set hardcoded version string | ||
5 | |||
6 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
7 | |||
8 | This fixes version string in the pkgconfig file and thus unbreaks spice build | ||
9 | | spice-common| Run-time dependency libcacard found: NO | ||
10 | | | ||
11 | | ../git/subprojects/spice-common/meson.build:144:16: ERROR: Dependency lookup for libcacard with method 'pkgconfig' failed: Invalid version, need 'libcacard' ['>= 2.5.1'] found 'UNKNOWN'. | ||
12 | | | ||
13 | | A full log can be found at /home/flk/poky/build/tmp/work/corei7-64-poky-linux/spice/0.15.2/build/meson-logs/meson-log.txt | ||
14 | | ERROR: meson failed | ||
15 | |||
16 | Upstream-Status: Inappropriate [oe-specific] | ||
17 | --- | ||
18 | meson.build | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/meson.build b/meson.build | ||
22 | index 9cfe248..00745e5 100644 | ||
23 | --- a/meson.build | ||
24 | +++ b/meson.build | ||
25 | @@ -1,5 +1,5 @@ | ||
26 | project('libcacard', 'c', 'cpp', | ||
27 | - version: run_command('build-aux/git-version-gen', '@0@/.tarball-version'.format(meson.source_root()), check: true).stdout().strip(), | ||
28 | + version: '2.8.1', | ||
29 | license: 'LGPLv2.1', | ||
30 | default_options: ['warning_level=2'], | ||
31 | ) | ||
32 | -- | ||
33 | 2.42.0 | ||
34 | |||
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..65f2f80ac 100644 --- a/meta-networking/recipes-support/spice/libcacard_2.8.1.bb +++ b/meta-networking/recipes-support/spice/libcacard_2.8.1.bb | |||
@@ -6,11 +6,12 @@ DEPENDS = "glib-2.0 pcsc-lite nss" | |||
6 | 6 | ||
7 | SRCREV = "7b07684ea6698d4885ff2062350ad8798a04de42" | 7 | SRCREV = "7b07684ea6698d4885ff2062350ad8798a04de42" |
8 | 8 | ||
9 | SRC_URI = " \ | 9 | SRC_URI = "git://gitlab.freedesktop.org/spice/libcacard.git;protocol=https;branch=master" |
10 | git://gitlab.freedesktop.org/spice/libcacard.git;protocol=https;branch=master \ | ||
11 | file://0001-meson.build-set-hardcoded-version-string.patch \ | ||
12 | " | ||
13 | 10 | ||
14 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
15 | 12 | ||
16 | inherit meson pkgconfig | 13 | inherit meson pkgconfig |
14 | |||
15 | do_configure:prepend() { | ||
16 | echo ${PV} > ${S}/.tarball-version | ||
17 | } | ||