commit: c2820ae8b89b37821f19660528fe00f69c91af4a parent: e49978199454c4cbec411b4f20b4f65fef9e6663 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Fri, 23 Mar 2018 00:54:04 +0100 media-gfx/krita: Bump version (4.0.0)Diffstat:
M | media-gfx/krita/Manifest | 1 | + |
A | media-gfx/krita/krita-4.0.0.ebuild | 88 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 89 insertions(+), 0 deletions(-)
diff --git a/media-gfx/krita/Manifest b/media-gfx/krita/Manifest @@ -1 +1,2 @@ DIST krita-3.3.3.tar.gz 207582956 BLAKE2B 36fd2978956fbba870ff8d8c28c31db0731742385620d6b5fd0cc275d74bf6352635c4fd4a537a87b7994fa41d140ee05000593d5a95cd288fd07959e8ef1693 SHA512 b6dc30809e0d6c19fee4bbb240aa53c65e88361ebe273c73c2f24f43904c3cd51719dadb9c11fb7f691f17d75732374295ce904810d8893b7f95b45f859901e0 +DIST krita-4.0.0.tar.gz 237309220 BLAKE2B bbc4fe9b32359348ca1f9a83a6f66cd5972ece2ba6e17c79799e94ff2e8d3968ad0cf6a02c8466c37bd562dc1ee47ce4bacf790f44aa63e02f867cd266d919ce SHA512 026f15c747eedf1335791a607984acbda049a63550b94fe19c99028499668ccbc723dcd66d8b4d3f981035a040121a5fd6a8f35ced911748578af5c88408eaab diff --git a/media-gfx/krita/krita-4.0.0.ebuild b/media-gfx/krita/krita-4.0.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_TEST="forceoptional" +inherit kde5 + +DESCRIPTION="Free digital painting application. Digital Painting, Creative Freedom!" +HOMEPAGE="https://www.kde.org/applications/graphics/krita/ https://krita.org/" +SRC_URI="mirror://kde/stable/${PN}/${PV%.1}/${P}.tar.gz" + +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86" +IUSE="color-management fftw +gsl +jpeg openexr pdf qtmedia +raw tiff vc threads curl zlib" + +# https://bugs.gentoo.org/630508 +RESTRICT+=" test" + +COMMON_DEPEND=" + $(add_frameworks_dep karchive) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kguiaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kitemmodels) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_qt_dep qtconcurrent) + $(add_qt_dep qtgui '-gles2') + $(add_qt_dep qtnetwork) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsvg) + $(add_qt_dep qttest) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtx11extras) + $(add_qt_dep qtxml) + color-management? ( media-libs/opencolorio ) + curl? ( net-misc/curl ) + dev-libs/boost:= + fftw? ( sci-libs/fftw:3.0= ) + gsl? ( sci-libs/gsl:= ) + jpeg? ( virtual/jpeg:0 ) + media-gfx/exiv2:= + media-libs/lcms + media-libs/libpng:0= + openexr? ( + media-libs/ilmbase:= + media-libs/openexr + ) + pdf? ( app-text/poppler[qt5] ) + qtmedia? ( $(add_qt_dep qtmultimedia) ) + raw? ( media-libs/libraw:= ) + threads? ( dev-libs/libpthread-stubs ) + tiff? ( media-libs/tiff:0 ) + virtual/opengl + x11-apps/xinput + zlib? ( sys-libs/zlib ) +" +DEPEND="${COMMON_DEPEND} + dev-cpp/eigen:3 + dev-lang/perl + sys-devel/gettext + vc? ( >=dev-libs/vc-1.1.0 ) +" +RDEPEND="${COMMON_DEPEND} + !app-office/calligra:4[calligra_features_krita] + !app-office/calligra-l10n:4[calligra_features_krita(+)] +" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package color-management OCIO) + $(cmake-utils_use_find_package fftw FFTW3) + $(cmake-utils_use_find_package gsl GSL) + $(cmake-utils_use_find_package jpeg JPEG) + $(cmake-utils_use_find_package openexr OpenEXR) + $(cmake-utils_use_find_package pdf Poppler) + $(cmake-utils_use_find_package qtmedia Qt5Multimedia) + $(cmake-utils_use_find_package raw LibRaw) + $(cmake-utils_use_find_package tiff TIFF) + $(cmake-utils_use_find_package vc Vc) + ) + + kde5_src_configure +}