From fc0dc4854cc4f610009d513bf66a706730d779d6 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 13 Aug 2016 11:46:09 +0200 Subject: app-office/calligra: Add WEBKIT_REQUIRED=optional USE=-webkit disables: - Kexi web form widget - Web element for Calligra Reports - Braindump webshape plugin Package-Manager: portage-2.2.28 --- app-office/calligra/calligra-2.9.11.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app-office/calligra') diff --git a/app-office/calligra/calligra-2.9.11.ebuild b/app-office/calligra/calligra-2.9.11.ebuild index 27e08440bd07..89311abcdaef 100644 --- a/app-office/calligra/calligra-2.9.11.ebuild +++ b/app-office/calligra/calligra-2.9.11.ebuild @@ -12,6 +12,7 @@ CHECKREQS_DISK_BUILD="4G" KDE_HANDBOOK="optional" KDE_LINGUAS_LIVE_OVERRIDE="true" OPENGL_REQUIRED="optional" +WEBKIT_REQUIRED="optional" inherit check-reqs kde4-base versionator DESCRIPTION="KDE Office Suite" @@ -57,6 +58,7 @@ REQUIRED_USE=" calligra_features_krita? ( eigen exif lcms opengl ) calligra_features_plan? ( kdepim ) calligra_features_sheets? ( eigen ) + calligra_features_stage? ( webkit ) vc? ( calligra_features_krita ) test? ( calligra_features_karbon ) " @@ -150,6 +152,13 @@ pkg_setup() { check-reqs_pkg_setup } +src_prepare() { + if ! use webkit; then + sed -i CMakeLists.txt -e "/^find_package/ s/QtWebKit //" || die + fi + kde4-base_src_prepare +} + src_configure() { local cal_ft myproducts -- cgit v1.2.3-65-gdbad