summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2018-06-02 23:50:39 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-06-04 23:12:52 +0200
commit4066322ab497c13c3592ab7c8acbfc63ec1c84e7 (patch)
treef63115100ea36c40497bdd0732cd4a29bc1edb69 /mail-client/kube
parentdev-lang/php: Version bump for 7.2.6 (diff)
downloadgentoo-4066322ab497c13c3592ab7c8acbfc63ec1c84e7.tar.gz
gentoo-4066322ab497c13c3592ab7c8acbfc63ec1c84e7.tar.bz2
gentoo-4066322ab497c13c3592ab7c8acbfc63ec1c84e7.zip
mail-client/kube: depend on dev-qt/qtwebengine[widgets]
Closes: https://bugs.gentoo.org/657092 Closes: https://github.com/gentoo/gentoo/pull/8699
Diffstat (limited to 'mail-client/kube')
-rw-r--r--mail-client/kube/kube-0.5.0-r2.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/mail-client/kube/kube-0.5.0-r2.ebuild b/mail-client/kube/kube-0.5.0-r2.ebuild
new file mode 100644
index 000000000000..99eab6a5cbde
--- /dev/null
+++ b/mail-client/kube/kube-0.5.0-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="forceoptional-recursive"
+inherit kde5
+
+DESCRIPTION="A mail client by KDE"
+HOMEPAGE="https://kube.kde.org/"
+SRC_URI="https://github.com/KDE/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ $(add_frameworks_dep breeze-icons)
+ $(add_frameworks_dep kcodecs)
+ $(add_kdeapps_dep kcontacts)
+ $(add_kdeapps_dep kmime)
+ $(add_qt_dep qtdeclarative)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtquickcontrols)
+ $(add_qt_dep qtquickcontrols2)
+ $(add_qt_dep qttest)
+ $(add_qt_dep qtwebengine 'widgets')
+ $(add_qt_dep qtwidgets)
+ >=app-crypt/gpgme-1.7.1:=[cxx,qt5]
+ dev-libs/kasync
+ >=dev-libs/sink-0.5.0
+"
+DEPEND="${RDEPEND}
+ test? ( $(add_qt_dep qttest) )
+"
+
+RESTRICT+=" test"
+
+src_prepare() {
+ kde5_src_prepare
+
+ if ! use test; then
+ sed \
+ -e "/Qt5::Test/s/^/#DISABLED/" \
+ -e "/set(BUILD_TESTING ON)/s/^/#DISABLED /" \
+ -e "/domain\/modeltest.cpp/s/^/#DISABLED /" \
+ -i framework/src/CMakeLists.txt || die
+ fi
+}