From: Lucas Couto <otakugeekx@gmail.com>
Subject: [PATCH] Drop OpenCV minimum version pin for OpenCV 5 compatibility

cv::stackBlur(InputArray, OutputArray, Size) has an identical signature in
OpenCV 5 (imgproc.hpp). The 4.7 floor was only the version where stackBlur
was introduced; it is not an upper bound. Removing the explicit version pin
lets the package build against media-libs/opencv:5.

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,7 +34,7 @@ find_package(KF6 ${REQUIRED_KF_VERSION} REQUIRED Config)

 option(WITH_OPENCV "Build with OpenCV stack blur (recommended)" UNIX)
 if(WITH_OPENCV)
-    find_package(OpenCV 4.7 COMPONENTS core imgproc REQUIRED)
+    find_package(OpenCV REQUIRED COMPONENTS core imgproc)
 endif()

 set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KQuickImageEditor")
