# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 KDE_TEST="forceoptional-recursive" VIRTUALX_REQUIRED="test" PYTHON_COMPAT=( python3_{4,5,6} ) inherit kde5 python-single-r1 if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.gz" KEYWORDS="~amd64 ~x86" fi DESCRIPTION="Free digital painting application. Digital Painting, Creative Freedom!" HOMEPAGE="https://www.kde.org/applications/graphics/krita/ https://krita.org/" LICENSE="GPL-3" IUSE="color-management fftw gif +gsl +jpeg openexr pdf python qtmedia +raw tiff vc" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" COMMON_DEPEND=" $(add_frameworks_dep karchive) $(add_frameworks_dep kcompletion) $(add_frameworks_dep kconfig) $(add_frameworks_dep kcoreaddons) $(add_frameworks_dep kcrash) $(add_frameworks_dep kguiaddons) $(add_frameworks_dep ki18n) $(add_frameworks_dep kiconthemes) $(add_frameworks_dep kio) $(add_frameworks_dep kitemmodels) $(add_frameworks_dep kitemviews) $(add_frameworks_dep kwidgetsaddons) $(add_frameworks_dep kwindowsystem) $(add_frameworks_dep kxmlgui) $(add_qt_dep qtconcurrent) $(add_qt_dep qtdbus) $(add_qt_dep qtdeclarative) $(add_qt_dep qtgui '-gles2') $(add_qt_dep qtnetwork) $(add_qt_dep qtprintsupport) $(add_qt_dep qtsvg) $(add_qt_dep qtwidgets) $(add_qt_dep qtx11extras) $(add_qt_dep qtxml) dev-libs/boost:= media-gfx/exiv2:= media-libs/lcms media-libs/libpng:0= sys-libs/zlib virtual/opengl x11-libs/libX11 x11-libs/libxcb x11-libs/libXi color-management? ( media-libs/opencolorio ) fftw? ( sci-libs/fftw:3.0= ) gif? ( media-libs/giflib ) gsl? ( sci-libs/gsl:= ) jpeg? ( virtual/jpeg:0 ) openexr? ( media-libs/ilmbase:= media-libs/openexr ) pdf? ( app-text/poppler[qt5] ) python? ( ${PYTHON_DEPS} dev-python/PyQt5[${PYTHON_USEDEP}] dev-python/sip[${PYTHON_USEDEP}] ) qtmedia? ( $(add_qt_dep qtmultimedia) ) raw? (