From 59b084249c5d3cc781b3dfb9ab5fa939e57203f5 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 24 Jan 2019 22:51:18 +0100 Subject: [PATCH] app-office/calligra: Add USE +charts Fixes unhandled automagic dependency on dev-libs/kreport. Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner --- app-office/calligra/calligra-3.1.0-r3.ebuild | 4 +++- app-office/calligra/metadata.xml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app-office/calligra/calligra-3.1.0-r3.ebuild b/app-office/calligra/calligra-3.1.0-r3.ebuild index 24ca06bcb3ab..c3913bd48d1c 100644 --- a/app-office/calligra/calligra-3.1.0-r3.ebuild +++ b/app-office/calligra/calligra-3.1.0-r3.ebuild @@ -18,7 +18,7 @@ KEYWORDS="amd64 x86" CAL_FTS=( karbon sheets stage words ) -IUSE="activities +crypt +fontconfig gemini gsl import-filter +lcms okular openexr +pdf +IUSE="activities +charts +crypt +fontconfig gemini gsl import-filter +lcms okular openexr +pdf phonon pim spacenav +truetype X $(printf 'calligra_features_%s ' ${CAL_FTS[@]})" # TODO: Not packaged: Cauchy (https://bitbucket.org/cyrille/cauchy) @@ -65,6 +65,7 @@ COMMON_DEPEND=" sys-libs/zlib virtual/libiconv activities? ( $(add_frameworks_dep kactivities) ) + charts? ( dev-libs/kreport ) crypt? ( app-crypt/qca:2[qt5(+)] ) fontconfig? ( media-libs/fontconfig ) gemini? ( $(add_qt_dep qtdeclarative 'widgets') ) @@ -175,6 +176,7 @@ src_configure() { -DWITH_Iconv=ON -DPRODUCTSET="${myproducts[*]}" $(cmake-utils_use_find_package activities KF5Activities) + $(cmake-utils_use_find_package charts KChart) -DWITH_Qca-qt5=$(usex crypt) -DWITH_Fontconfig=$(usex fontconfig) $(cmake-utils_use_find_package gemini Libgit2) diff --git a/app-office/calligra/metadata.xml b/app-office/calligra/metadata.xml index 575f0b0a9176..d5fb30da6eb0 100644 --- a/app-office/calligra/metadata.xml +++ b/app-office/calligra/metadata.xml @@ -11,6 +11,7 @@ Enable kactivities support + Build chartshape plugin for creating business charts with dev-libs/kreport Enable tablet and 2:1 devices support Enable support for various import filter file formats like WordPerfect, Visio and Apple Keynote Build colorengine plugins using media-libs/lcms -- 2.26.2