diff -up krita-5.2.2/CMakeLists.txt.me krita-5.2.2/CMakeLists.txt
--- krita-5.2.2/CMakeLists.txt.me	2024-01-08 16:38:04.243581928 +0100
+++ krita-5.2.2/CMakeLists.txt	2024-01-08 16:40:43.083471073 +0100
@@ -1181,7 +1181,7 @@ set_package_properties(Fontconfig PROPER
 ##
 ## Check for libunibreak
 ##
-find_package(libunibreak 5.0 REQUIRED)
+find_package(libunibreak 4.0 REQUIRED)
 set_package_properties(libunibreak PROPERTIES
     DESCRIPTION "Implementation of the line breaking and word breaking algorithms as described in Unicode Standard Annex 14 and Unicode Standard Annex 29"
     URL "https://github.com/adah1972/libunibreak"
