| Message ID | 20260718082503.4018534-1-f_l_k@t-online.de |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-multimedia] crossguid: remove crossguid-config.cmake file | expand |
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() {
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 <f_l_k@t-online.de> --- meta-multimedia/recipes-support/crossguid/crossguid_0.2.2.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)