blob: 14c545bd70e2d10f8c82601a53d0141e47740076 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
KDE_TEST="forceoptional-recursive"
QT_MINIMAL="5.9"
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)
$(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
}
|