app-office/calligra: Add USE +charts
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 24 Jan 2019 21:51:18 +0000 (22:51 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 24 Jan 2019 22:26:00 +0000 (23:26 +0100)
Fixes unhandled automagic dependency on dev-libs/kreport.

Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-office/calligra/calligra-3.1.0-r3.ebuild
app-office/calligra/metadata.xml

index 24ca06bcb3ab7f03975895175f3f7bc4afa1c6c2..c3913bd48d1ca2084337604a195a54d2c4326693 100644 (file)
@@ -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)
index 575f0b0a9176db65d39587842bad5cf42e10ac44..d5fb30da6eb0750161d3c417476de76e269612b2 100644 (file)
@@ -11,6 +11,7 @@
        </maintainer>
        <use>
                <flag name="activities">Enable kactivities support</flag>
+               <flag name="charts">Build chartshape plugin for creating business charts with <pkg>dev-libs/kreport</pkg></flag>
                <flag name="gemini">Enable tablet and 2:1 devices support</flag>
                <flag name="import-filter">Enable support for various import filter file formats like WordPerfect, Visio and Apple Keynote</flag>
                <flag name="lcms">Build colorengine plugins using <pkg>media-libs/lcms</pkg></flag>