mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
krita: fix build, probably after update to PyQt 6.11
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user