diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-06-06 04:29:18 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-06-06 04:30:29 +1000 |
commit | 58a3880b87e3cac0c726d0b55ee1575a28ca08a3 (patch) | |
tree | c5f2366983acfb0e4a1365955ef20981385365db /media-gfx | |
parent | x11-misc/pathfinder: move FOXCONF definition to src_compile (diff) | |
download | gentoo-58a3880b87e3cac0c726d0b55ee1575a28ca08a3.tar.gz gentoo-58a3880b87e3cac0c726d0b55ee1575a28ca08a3.tar.bz2 gentoo-58a3880b87e3cac0c726d0b55ee1575a28ca08a3.zip |
media-gfx/krita: new package
Imported from KDE overlay.
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/krita/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/krita/krita-3.0.ebuild | 93 | ||||
-rw-r--r-- | media-gfx/krita/metadata.xml | 12 |
3 files changed, 106 insertions, 0 deletions
diff --git a/media-gfx/krita/Manifest b/media-gfx/krita/Manifest new file mode 100644 index 000000000000..cbccb5593620 --- /dev/null +++ b/media-gfx/krita/Manifest @@ -0,0 +1 @@ +DIST krita-3.0.tgz 193020370 SHA256 4cea85623b709d6d32084c98a0fd76b97ad96d11be9808fca9fcaad2839a9c5a SHA512 a32507b010b5b785a40d830beb49272155d502c4c27ba874f1c9e75cbf49c7f1f730b3ecef06f24fc1ee9d3e9505c940bc20cb275f97c65e090cc5a59529486b WHIRLPOOL fe3b7b308aa754b597375aad49ef5f07d4e0e346f0109aec3b731d6dc1aea320380b01a2166a305c8cc578cad44cc19a1b4ba7fdabf9f7a841e3d5e0bae3e7fa diff --git a/media-gfx/krita/krita-3.0.ebuild b/media-gfx/krita/krita-3.0.ebuild new file mode 100644 index 000000000000..ad9904973203 --- /dev/null +++ b/media-gfx/krita/krita-3.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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}/${P}.tgz" + +LICENSE="GPL-2+" +KEYWORDS="~amd64" +IUSE="color-management fftw +gsl +jpeg jpeg2k openexr pdf +raw tiff vc" + +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 qtgui) + $(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:= + net-misc/curl + 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= ) + gsl? ( sci-libs/gsl:= ) + jpeg? ( virtual/jpeg:0 ) + jpeg2k? ( media-libs/openjpeg:0= ) + openexr? ( + media-libs/ilmbase:= + media-libs/openexr + ) + pdf? ( app-text/poppler[qt5] ) + raw? ( media-libs/libraw:= ) + tiff? ( media-libs/tiff:0 ) +" +DEPEND="${COMMON_DEPEND} + dev-cpp/eigen:3 + dev-lang/perl + sys-devel/gettext + vc? ( + >=dev-libs/vc-0.7.4 + <dev-libs/vc-0.7.5 + ) +" +RDEPEND="${COMMON_DEPEND} + !app-office/calligra:4[calligra_features_krita] +" + +src_configure() { + local mycmakeargs=( + -DWITH_FFTW3=$(usex fftw) + -DWITH_GSL=$(usex gsl) + -DWITH_JPEG=$(usex jpeg) + -DWITH_LibRaw=$(usex raw) + -DWITH_OCIO=$(usex color-management) + -DWITH_OpenJPEG=$(usex jpeg2k) + -DWITH_OpenEXR=$(usex openexr) + -DWITH_Poppler=$(usex pdf) + -DWITH_TIFF=$(usex tiff) + -DWITH_Vc=$(usex vc) + ) + + kde5_src_configure +} diff --git a/media-gfx/krita/metadata.xml b/media-gfx/krita/metadata.xml new file mode 100644 index 000000000000..adafed4df3b8 --- /dev/null +++ b/media-gfx/krita/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <use> + <flag name="color-management">Enable color management via <pkg>media-libs/opencolorio</pkg></flag> + <flag name="vc">Enable support for <pkg>dev-libs/vc</pkg>, could be a significant speed boost</flag> + </use> +</pkgmetadata> |