From e0b532fc99180e3dba24b8da3b061b981c3cf424 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Tue, 27 Jun 2017 20:33:39 +0200
Subject: app-office/calligra: Drop USE=vc and disable it

Nothing but trouble.

Package-Manager: Portage-2.3.6, Repoman-2.3.1
---
 app-office/calligra/calligra-3.0.1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'app-office')

diff --git a/app-office/calligra/calligra-3.0.1.ebuild b/app-office/calligra/calligra-3.0.1.ebuild
index 0861d3a98107..e38e58efaa8c 100644
--- a/app-office/calligra/calligra-3.0.1.ebuild
+++ b/app-office/calligra/calligra-3.0.1.ebuild
@@ -21,7 +21,7 @@ CAL_FTS=( karbon plan sheets words )
 CAL_EXP_FTS=( braindump stage )
 
 IUSE="activities +crypt +fontconfig gsl import-filter jpeg2k +lcms okular openexr +pdf
-	phonon pim spacenav +truetype vc X $(printf 'calligra_features_%s ' ${CAL_FTS[@]})
+	phonon pim spacenav +truetype X $(printf 'calligra_features_%s ' ${CAL_FTS[@]})
 	$(printf 'calligra_experimental_features_%s ' ${CAL_EXP_FTS[@]})"
 
 # TODO: Not packaged: Cauchy (https://bitbucket.org/cyrille/cauchy)
@@ -127,7 +127,6 @@ DEPEND="${COMMON_DEPEND}
 	sys-devel/gettext
 	x11-misc/shared-mime-info
 	test? ( $(add_frameworks_dep threadweaver) )
-	vc? ( >=dev-libs/vc-1.1.0 )
 "
 RDEPEND="${COMMON_DEPEND}
 	calligra_features_karbon? ( media-gfx/pstoedit[plotutils] )
@@ -233,7 +232,7 @@ src_configure() {
 		-DWITH_Eigen3=$(usex calligra_features_sheets)
 		-ENABLE_CSTESTER_TESTING=$(usex test)
 		-DWITH_Freetype=$(usex truetype)
-		-DWITH_Vc=$(usex vc)
+		-DWITH_Vc=OFF
 		-DCMAKE_DISABLE_FIND_PACKAGE_Libgit2=ON
 		-DCMAKE_DISABLE_FIND_PACKAGE_Libqgit2=ON
 	)
-- 
cgit v1.2.3-65-gdbad