Krita 5.1.4 => 5.2.2 (#10008)

This commit is contained in:
Ed Reel
2024-06-22 04:57:47 -05:00
committed by GitHub
parent a3819022a4
commit 3cb0c85268
2 changed files with 8972 additions and 9417 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -3,24 +3,25 @@ require 'package'
class Krita < Package
description 'A generic image manipulation/painting application in the style of Photoshop or GIMP.'
homepage 'https://krita.org/en'
version '5.1.4'
version '5.2.2'
license 'GPL-3'
compatibility 'x86_64'
source_url 'https://download.kde.org/stable/krita/5.1.4/krita-5.1.4-x86_64.appimage'
source_sha256 'f6678796cb98086b1e576aae4911e3d6b133cd0a4ec61a900ff5136a9f55917d'
min_glibc '2.29'
source_url "https://download.kde.org/stable/krita/#{version}/krita-#{version}-x86_64.appimage"
source_sha256 'b69297bcbf916595c14e8585e2dc9fea35c992b416d721d3bdb5558de2405be0'
depends_on 'gtk3'
depends_on 'gdk_base'
depends_on 'sommelier'
no_compile_needed
print_source_bashrc
no_shrink
def self.build
krita = <<~EOF
#!/bin/bash
export PYTHONHOME=#{CREW_PREFIX}/bin
export PYTHONPATH=#{CREW_PREFIX}/share/krita/usr/lib/python3.8:$PYTHONPATH
export PYTHONPATH=#{CREW_PREFIX}/share/krita/usr/lib/python3.10:$PYTHONPATH
export LD_LIBRARY_PATH=#{CREW_PREFIX}/share/krita/usr/lib:$LD_LIBRARY_PATH
cd #{CREW_PREFIX}/share/krita
./AppRun "$@"