summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-08-13 11:46:09 +0200
committerMichael Palimaka <kensington@gentoo.org>2016-08-21 04:28:26 +1000
commitfc0dc4854cc4f610009d513bf66a706730d779d6 (patch)
treef8b4ae2328f739d57c2828b3705b5f66e6ae184d /app-office
parentsys-kernel/gentoo-sources: Remove old, unsupported versions. (diff)
downloadgentoo-fc0dc4854cc4f610009d513bf66a706730d779d6.tar.gz
gentoo-fc0dc4854cc4f610009d513bf66a706730d779d6.tar.bz2
gentoo-fc0dc4854cc4f610009d513bf66a706730d779d6.zip
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
Diffstat (limited to 'app-office')
-rw-r--r--app-office/calligra/calligra-2.9.11.ebuild9
1 files changed, 9 insertions, 0 deletions
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