meta-wayland/dynamic-layers/meta-qt6/recipes-qt/adwaita-qt/adwaita-qt_1.4.2.bb
Markus Volk c7d0ea5acb 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
2023-12-04 09:30:20 +01:00

23 lines
743 B
BlitzBasic

SUMMARY = "A native style to bend Qt5/Qt6 applications to look like they belong into GNOME Shell.."
HOMEPAGE = "https://github.com/FedoraQt/adwaita-qt"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"
DEPENDS = "qtbase"
inherit qt6-cmake
EXTRA_OECMAKE += "-DUSE_QT6=ON"
SRC_URI = "git://github.com/FedoraQt/adwaita-qt.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
SRCREV = "3807292acee096459a73732f663544916d9eb0e5"
FILES:${PN} += "${libdir}/plugins/styles/adwaita.so"
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
}