[meta-multimedia][PATCH] crossguid: remove crossguid-config.cmake file

Markus Volk <[email protected]>
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.