ports/x11/kdisplay/files/patch-plasma-6.1
Jan Beich ff1dd80353 x11/kdisplay: update to 6.2.0
Changes:	https://github.com/winft/kdisplay/releases/v6.2.0
Reported by:	GitHub (watch releases)
2024-10-10 09:52:54 +02:00

23 lines
866 B
Groff

Drop after x11/plasma6-libplasma >= 6.2.0 update
CMake Error at CMakeLists.txt:38 (find_package):
Could not find a configuration file for package "Plasma" that is compatible
with requested version "6.2".
The following configuration files were considered but not accepted:
/usr/local/lib/cmake/Plasma/PlasmaConfig.cmake, version: 6.1.2
--- CMakeLists.txt.orig 2024-10-09 19:15:52 UTC
+++ CMakeLists.txt
@@ -35,8 +35,8 @@ find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENT
XmlGui
)
-find_package(Plasma ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} REQUIRED)
-find_package(PlasmaQuick ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} REQUIRED)
+find_package(Plasma ${PROJECT_VERSION_MAJOR} REQUIRED)
+find_package(PlasmaQuick ${PROJECT_VERSION_MAJOR} REQUIRED)
find_package(LayerShellQt)
set_package_properties(LayerShellQt PROPERTIES