crossguid adds an automatically generated cmake configuration file named
“crossguid-config.cmake”,
which generally works for kodi but causes a reproducibility issue because it
contains the full path
to ${STAGING_LIBDIR}/libuuid.so.
It was fixed using a `sed` command that changed the line to
`/usr/lib/libuuid.so`.
This does not work if `HOST != TARGET`, since in that case a link is created to
native libuuid.
Completely removing “crossguid-config.cmake” resolves this issue, since Kodi
then uses pkgconfig to locate crossguid.
Signed-off-by: Markus Volk <[email protected]>
---
meta-multimedia/recipes-support/crossguid/crossguid_0.2.2.bb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta-multimedia/recipes-support/crossguid/crossguid_0.2.2.bb
b/meta-multimedia/recipes-support/crossguid/crossguid_0.2.2.bb
index 48673cddcd..730195ff3d 100644
--- a/meta-multimedia/recipes-support/crossguid/crossguid_0.2.2.bb
+++ b/meta-multimedia/recipes-support/crossguid/crossguid_0.2.2.bb
@@ -12,11 +12,10 @@ SRC_URI =
"git://github.com/graeme-hill/crossguid;protocol=https;branch=master \
file://run-ptest \
file://0001-include-missing-cstdint.patch"
-
inherit cmake ptest
do_install:append() {
- sed -i -e 's|${STAGING_DIR_HOST}||g'
${D}${datadir}/crossguid/cmake/crossguid-config.cmake
+ rm -rf ${D}${datadir}/crossguid/cmake
}
do_install_ptest() {
--
2.55.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#128252):
https://lists.openembedded.org/g/openembedded-devel/message/128252
Mute This Topic: https://lists.openembedded.org/mt/120329077/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-