summaryrefslogtreecommitdiff
path: root/app-office/calligra/calligra-3.1.0-r4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/calligra/calligra-3.1.0-r4.ebuild')
-rw-r--r--app-office/calligra/calligra-3.1.0-r4.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-office/calligra/calligra-3.1.0-r4.ebuild b/app-office/calligra/calligra-3.1.0-r4.ebuild
index 37e03558459c..411c8177f1c4 100644
--- a/app-office/calligra/calligra-3.1.0-r4.ebuild
+++ b/app-office/calligra/calligra-3.1.0-r4.ebuild
@@ -135,6 +135,10 @@ pkg_setup() {
src_prepare() {
kde5_src_prepare
+ if has_version ">=app-text/poppler-0.82"; then
+ eapply "${FILESDIR}/${P}-poppler-0.82.patch" # TODO: make upstreamable patch
+ fi
+
if ! use test; then
sed -e "/add_subdirectory( *benchmarks *)/s/^/#DONT/" \
-i libs/pigment/CMakeLists.txt || die