From eefbf90a60702b46a80bcb9d53eae002aedf6b59 Mon Sep 17 00:00:00 2001 From: Andreas Cord-Landwehr Date: Wed, 8 Feb 2023 20:11:09 +0100 Subject: [PATCH] plasma-framework: workaround for VisionFive2 MESA fork --- recipes-kf5/tier3/plasma-framework.inc | 4 +++ ...1-Use-VisionFive2-specific-MESA-Fork.patch | 25 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 recipes-kf5/tier3/plasma-framework/0001-Use-VisionFive2-specific-MESA-Fork.patch diff --git a/recipes-kf5/tier3/plasma-framework.inc b/recipes-kf5/tier3/plasma-framework.inc index 32db95a..68f91a5 100644 --- a/recipes-kf5/tier3/plasma-framework.inc +++ b/recipes-kf5/tier3/plasma-framework.inc @@ -7,6 +7,10 @@ LICENSE = "LGPL-2.1" PR = "r0" +SRC_URI:append:visionfive2 = " \ + file://0001-Use-VisionFive2-specific-MESA-Fork.patch \ +" + DEPENDS = " \ qtbase \ kactivities \ diff --git a/recipes-kf5/tier3/plasma-framework/0001-Use-VisionFive2-specific-MESA-Fork.patch b/recipes-kf5/tier3/plasma-framework/0001-Use-VisionFive2-specific-MESA-Fork.patch new file mode 100644 index 0000000..d7fa7f6 --- /dev/null +++ b/recipes-kf5/tier3/plasma-framework/0001-Use-VisionFive2-specific-MESA-Fork.patch @@ -0,0 +1,25 @@ +From 4fade97f7139443ef00b36a8923283191a0066be Mon Sep 17 00:00:00 2001 +From: Andreas Cord-Landwehr +Date: Wed, 8 Feb 2023 19:58:26 +0100 +Subject: [PATCH] Use VisionFive2 specific MESA Fork + +--- + src/declarativeimports/core/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/declarativeimports/core/CMakeLists.txt b/src/declarativeimports/core/CMakeLists.txt +index b34f5335d..6de68e980 100644 +--- a/src/declarativeimports/core/CMakeLists.txt ++++ b/src/declarativeimports/core/CMakeLists.txt +@@ -67,7 +67,7 @@ else() + endif() + + if(QtGui_Enabled_Features MATCHES "opengles2") +- target_link_libraries(corebindingsplugin Qt${QT_MAJOR_VERSION}::Gui_GLESv2) ++ target_link_libraries(corebindingsplugin Qt${QT_MAJOR_VERSION}::Gui_GLESv2_PVR_MESA) + endif() + + install(TARGETS corebindingsplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/core) +-- +2.37.2 +