krita: fix build, probably after update to PyQt 6.11

This commit is contained in:
Vladimír Čunát
2026-05-20 10:45:26 +02:00
parent fe3b543b8c
commit 0c58dd4c16

View File

@@ -123,6 +123,18 @@ stdenv.mkDerivation (finalAttrs: {
substituteInPlace plugins/impex/jp2/jp2_converter.cc \
--replace '<openjpeg.h>' '<${openjpeg.incDir}/openjpeg.h>'
''
# https://invent.kde.org/graphics/krita/-/commit/30182dbfe789c9b44e5762978bf9ebb22c4f72b6
+ ''
patch -p1 <<EOF
--- a/cmake/modules/SIPMacros.cmake
+++ b/cmake/modules/SIPMacros.cmake
@@ -152,3 +152,3 @@
if (QT_MAJOR_VERSION STREQUAL "6")
- set(abi_version "13.0")
+ set(abi_version "13.8")
set(sip_disabled_features "[\"Krita_Qt5\"]")
EOF
'';
cmakeBuildType = "RelWithDebInfo";