diff --git a/media-gfx/krita/krita-5.2.16.recipe b/media-gfx/krita/krita-5.3.0.recipe similarity index 96% rename from media-gfx/krita/krita-5.2.16.recipe rename to media-gfx/krita/krita-5.3.0.recipe index e86d7157b..c847ce912 100644 --- a/media-gfx/krita/krita-5.2.16.recipe +++ b/media-gfx/krita/krita-5.3.0.recipe @@ -4,11 +4,14 @@ for digital painting and animation purposes. It features a low-distract UI, high OpenGL accelerated canvas, color management support, advanced brush engine, non-destructive \ layers and masks, group-based layer management, vector artwork support and switchable customization profiles." HOMEPAGE="https://www.krita.org/" -COPYRIGHT="2010-2025 KDE Organisation" +COPYRIGHT="2010-2026 KDE Organisation" LICENSE="GNU LGPL v2" REVISION="1" -SOURCE_URI="https://download.kde.org/stable/krita/$portVersion/krita-$portVersion.tar.gz" -CHECKSUM_SHA256="3c2880a421f86dc9b58317db166b23a3bc6c64754f38c7deffe246fee1a13cb5" +tarVersion="6.0.0" +SOURCE_URI="https://download.kde.org/stable/krita/$tarVersion/krita-$tarVersion.tar.gz" +CHECKSUM_SHA256="932b6876126f7c629e427ee3d012300c8286b05a184277354b414af641a0f1ed" +SOURCE_DIR="krita-$tarVersion" +PATCHES="krita-$tarVersion.patchset" ADDITIONAL_FILES=" krita.rdef.in icons.zip @@ -111,7 +114,7 @@ BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel extra_cmake_modules$secondaryArchSuffix # pyqt5${secondaryArchSuffix}_python310 - devel:eigen$secondaryArchSuffix + devel:eigen$secondaryArchSuffix >= 5 devel:immer$secondaryArchSuffix devel:lager$secondaryArchSuffix devel:zug$secondaryArchSuffix diff --git a/media-gfx/krita/patches/krita-6.0.0.patchset b/media-gfx/krita/patches/krita-6.0.0.patchset new file mode 100644 index 000000000..c4e76cc4e --- /dev/null +++ b/media-gfx/krita/patches/krita-6.0.0.patchset @@ -0,0 +1,22 @@ +From 4af5c46c89ff46eebcdf265ca65522bc63a8ee66 Mon Sep 17 00:00:00 2001 +From: Luc Schrijvers +Date: Tue, 24 Mar 2026 16:11:54 +0100 +Subject: set CMAKE_POSITION_INDEPENDENT_CODE to OFF + + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7266bdf..25e901d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -82,7 +82,7 @@ if (POLICY CMP0167) + cmake_policy(SET CMP0167 OLD) + endif() + +-set(CMAKE_POSITION_INDEPENDENT_CODE ON) ++set(CMAKE_POSITION_INDEPENDENT_CODE OFF) + + if (APPLE) + add_subdirectory(packaging/macos) +-- +2.52.0 +