From 3d013ccac70a281416dccbb6757f76818222cbba Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 6 Nov 2022 15:20:09 +0000 Subject: gentoo auto-resync : 06:11:2022 - 15:20:09 --- media-gfx/Manifest.gz | Bin 38336 -> 38329 bytes media-gfx/krita/Manifest | 2 + media-gfx/krita/krita-5.1.2.ebuild | 121 +++++++++++++++++++++++++++++++++++++ 3 files changed, 123 insertions(+) create mode 100644 media-gfx/krita/krita-5.1.2.ebuild (limited to 'media-gfx') diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz index efcccb6d1d77..73ca80f8a457 100644 Binary files a/media-gfx/Manifest.gz and b/media-gfx/Manifest.gz differ diff --git a/media-gfx/krita/Manifest b/media-gfx/krita/Manifest index 30afade5b3e4..ba224c68314e 100644 --- a/media-gfx/krita/Manifest +++ b/media-gfx/krita/Manifest @@ -1,4 +1,6 @@ AUX krita-4.3.1-tests-optional.patch 2583 BLAKE2B 0b5e577bc17ef6b6487ce82ff4b4bc34064c659a3cf48d12a539c3029dd70f17b0b48a7398b68de6a937adff3af0c2d4a47d0f84fdc7746ec612fb05272d963f SHA512 f16885a72cd5f8f250b03903062c70190367ed409c2582d579bfb1e6ab09514df7f96214ce236e33bb8eec2f3872d887f9c3152f4e524b1719250a9064bf719c DIST krita-5.1.1.tar.xz 185119812 BLAKE2B c59a6431d8711dd5e00c2c7c91e50a9e218acc08c4ddbb33d10f315bbb09f0cbcf57961a56c0b36a5a5fe8815d88d3788b257bddd0c76d730f3e0a4b6abddf5a SHA512 6878e022f1bae183f7565cdeadc3f229d3c0d3997557208b351c5128c4c499b53a120c965760c41ad075b09f017d66ca11046ab34765cccf5463fce7df64bf14 +DIST krita-5.1.2.tar.xz 185167428 BLAKE2B f0baa96a74e0dc7f15be42d81ce029d95c39617730c23ed8396792058349ccb0e7d633c8945ddfea1326be8c7386f32e3774fd9d4059888970f30b8f848ea6a8 SHA512 6d4adb3a8e75c2f26a4b46d0c7927e8a5af9bc468e9f833ff9df689ca630f8c60035c1eb4544d9813d56df0eaed697ec186ce97a8d4ccbe19c881645cb116155 EBUILD krita-5.1.1.ebuild 3494 BLAKE2B 91064d9fbd45d79f2b14f8e128c9b9782e96b90149760932aaa6565f258da76c554b8fb49b015ff89dc08a461a3a14045986aeaaf68542ed0c95a4c4b861f7ab SHA512 c5f5c17fe376fad4cc2b1a26efdb95636ff11fd45d79b09eb323f185888419966df0401734a98f7a9c9874b7f0dfe6c91566502d8b773b97f0823eb03507c9cc +EBUILD krita-5.1.2.ebuild 3495 BLAKE2B c8b231502dc5746c86dd4f90e905b711f5356e4f581100c806b0ac0a200623485d432375191db5f33ae9f766f4168f773dd18d6cae6c0eb547c0df6a7ba38f12 SHA512 bdfe17b63c4f22efd3aacc4f34bfa5a28d804e4a73b016a6343927320b6e55185e3d83f78852cb980a9a9eb25b3c039438d083c548d90a0a3556fb758a05f7b7 MISC metadata.xml 836 BLAKE2B 65b987895464bd55fa59611396638b4826c858d3a0ad8cbe2f9b24dea7e32465b43974a967d2a766faa3128dd5ceb7a5b161a79ec3e179976d31478a2f52fbbb SHA512 a3b74e3f3de6500651308d4820e2d5e6504000085d634c561821bcd3f454aa1b89926a6ef9dac63378627e86d337b946e469af944dbd68e4a6349bfb8a76dc3a diff --git a/media-gfx/krita/krita-5.1.2.ebuild b/media-gfx/krita/krita-5.1.2.ebuild new file mode 100644 index 000000000000..044988c1a390 --- /dev/null +++ b/media-gfx/krita/krita-5.1.2.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +PYTHON_COMPAT=( python3_{8..11} ) +KFMIN=5.82.0 +QTMIN=5.15.5 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org python-single-r1 + +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="Free digital painting application. Digital Painting, Creative Freedom!" +HOMEPAGE="https://apps.kde.org/krita/ https://krita.org/en/" + +LICENSE="GPL-3" +SLOT="5" +IUSE="color-management fftw gif +gsl heif jpegxl +mypaint-brush-engine openexr pdf qtmedia +raw webp" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# bug 630508 +RESTRICT="test" + +RDEPEND="${PYTHON_DEPS} + dev-libs/boost:= + dev-libs/quazip:0=[qt5(+)] + $(python_gen_cond_dep ' + dev-python/PyQt5[declarative,gui,widgets,${PYTHON_USEDEP}] + dev-python/sip:=[${PYTHON_USEDEP}] + ') + >=dev-qt/qtconcurrent-${QTMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5=[-gles2-only] + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtprintsupport-${QTMIN}:5 + >=dev-qt/qtsql-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtx11extras-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kitemmodels-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + media-gfx/exiv2:= + media-libs/lcms + media-libs/libjpeg-turbo:= + media-libs/libpng:0= + media-libs/tiff:0 + sys-libs/zlib + virtual/opengl + x11-libs/libX11 + x11-libs/libXi + color-management? ( >=media-libs/opencolorio-2.0.0 ) + fftw? ( sci-libs/fftw:3.0= ) + gif? ( media-libs/giflib ) + gsl? ( sci-libs/gsl:= ) + jpegxl? ( >=media-libs/libjxl-0.7.0_pre20220825 ) + heif? ( >=media-libs/libheif-1.11:= ) + mypaint-brush-engine? ( media-libs/libmypaint:= ) + openexr? ( media-libs/openexr:= ) + pdf? ( app-text/poppler[qt5] ) + qtmedia? ( >=dev-qt/qtmultimedia-${QTMIN}:5 ) + raw? ( media-libs/libraw:= ) + webp? ( >=media-libs/libwebp-1.2.0:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-cpp/eigen:3 + dev-lang/perl + sys-devel/gettext +" + +PATCHES=( "${FILESDIR}"/${PN}-4.3.1-tests-optional.patch ) + +pkg_setup() { + python-single-r1_pkg_setup + ecm_pkg_setup +} + +src_configure() { + # Prevent sandbox violation from FindPyQt5.py module + # See Gentoo-bug 655918 + addpredict /dev/dri + + local mycmakeargs=( + -DENABLE_UPDATERS=OFF + -DFETCH_TRANSLATIONS=OFF + -DKRITA_ENABLE_PCH=OFF # big mess. + -DCMAKE_DISABLE_FIND_PACKAGE_KSeExpr=ON # not packaged + -DCMAKE_DISABLE_FIND_PACKAGE_xsimd=ON # not packaged + $(cmake_use_find_package color-management OpenColorIO) + $(cmake_use_find_package fftw FFTW3) + $(cmake_use_find_package gif GIF) + $(cmake_use_find_package gsl GSL) + $(cmake_use_find_package heif HEIF) + $(cmake_use_find_package jpegxl JPEGXL) + $(cmake_use_find_package mypaint-brush-engine LibMyPaint) + $(cmake_use_find_package openexr OpenEXR) + $(cmake_use_find_package pdf Poppler) + $(cmake_use_find_package qtmedia Qt5Multimedia) + $(cmake_use_find_package raw LibRaw) + $(cmake_use_find_package webp WebP) + ) + + ecm_src_configure +} -- cgit v1.2.3