summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-client/otter/otter-0.9.91-r1.ebuild (renamed from www-client/otter/otter-0.9.91.ebuild)1
-rw-r--r--www-client/otter/otter-9999.ebuild9
2 files changed, 10 insertions, 0 deletions
diff --git a/www-client/otter/otter-0.9.91.ebuild b/www-client/otter/otter-0.9.91-r1.ebuild
index 39aa4783beb5..34053d489ca7 100644
--- a/www-client/otter/otter-0.9.91.ebuild
+++ b/www-client/otter/otter-0.9.91-r1.ebuild
@@ -24,6 +24,7 @@ DEPEND="
dev-qt/qtprintsupport:5
dev-qt/qtscript:5
dev-qt/qtsql:5
+ dev-qt/qtsvg:5
dev-qt/qtwebkit:5
dev-qt/qtwidgets:5
dev-qt/qtxmlpatterns:5
diff --git a/www-client/otter/otter-9999.ebuild b/www-client/otter/otter-9999.ebuild
index b45746113ec5..80c0ee1f30cc 100644
--- a/www-client/otter/otter-9999.ebuild
+++ b/www-client/otter/otter-9999.ebuild
@@ -11,19 +11,24 @@ EGIT_REPO_URI="https://github.com/Emdek/otter"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
+IUSE="spell"
DEPEND="
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
dev-qt/qtnetwork:5[ssl]
dev-qt/qtprintsupport:5
dev-qt/qtscript:5
dev-qt/qtsql:5
+ dev-qt/qtsvg:5
dev-qt/qtwebkit:5
dev-qt/qtwidgets:5
+ dev-qt/qtxmlpatterns:5
+ spell? ( kde-frameworks/sonnet )
"
RDEPEND="
${DEPEND}
@@ -44,6 +49,10 @@ src_prepare() {
fi
done
fi
+
+ if ! use spell; then
+ sed -i -e '/find_package(KF5Sonnet)/d' CMakeLists.txt || die
+ fi
}
src_install() {