From c7d0ea5acbdd0aea2d58bb0505cf6a52e93cda89 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 4 Dec 2023 09:26:48 +0100 Subject: [PATCH] adwaita-qt: dont include target cmake This is a hack to fix crosscompile. Given the fact that adwaita-qt is unmaintained that should be sufficient --- .../meta-qt6/recipes-qt/adwaita-qt/adwaita-qt_1.4.2.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dynamic-layers/meta-qt6/recipes-qt/adwaita-qt/adwaita-qt_1.4.2.bb b/dynamic-layers/meta-qt6/recipes-qt/adwaita-qt/adwaita-qt_1.4.2.bb index b59d154..bf1ea3f 100644 --- a/dynamic-layers/meta-qt6/recipes-qt/adwaita-qt/adwaita-qt_1.4.2.bb +++ b/dynamic-layers/meta-qt6/recipes-qt/adwaita-qt/adwaita-qt_1.4.2.bb @@ -12,8 +12,11 @@ EXTRA_OECMAKE += "-DUSE_QT6=ON" SRC_URI = "git://github.com/FedoraQt/adwaita-qt.git;protocol=https;nobranch=1" S = "${WORKDIR}/git" -SRCREV = "07859143fd733cfefae687f6967795c7f50d4ca8" +SRCREV = "3807292acee096459a73732f663544916d9eb0e5" FILES:${PN} += "${libdir}/plugins/styles/adwaita.so" -BBCLASSEXTEND = "native" +do_install:append() { + # add hack to unbreak crosscompile for qgnomeplatform + sed -i "s|include(\"\${CMAKE_CURRENT_LIST_DIR}\/AdwaitaQt6Targets.cmake\")||" ${D}${libdir}/cmake/AdwaitaQt6/AdwaitaQt6Config.cmake +}