blob: c1e3975e0277ce3bf81469fa2933d24afb889795 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
KDE_GCC_MINIMAL="6.4"
KDE_HANDBOOK="optional"
KDE_TEST="forceoptional"
VIRTUALX_REQUIRED="test"
VIRTUALDBUS_TEST="true"
inherit kde5 python-single-r1
DESCRIPTION="Personal finance manager based on KDE Frameworks"
HOMEPAGE="https://kmymoney.org"
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
LICENSE="GPL-2"
KEYWORDS="amd64 x86"
IUSE="activities addressbook calendar hbci holidays ofx quotes weboob"
REQUIRED_USE="weboob? ( ${PYTHON_REQUIRED_USE} )"
COMMON_DEPEND="
$(add_frameworks_dep karchive)
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kcodecs)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdewebkit)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kio)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kitemmodels)
$(add_frameworks_dep kitemviews)
$(add_frameworks_dep kjobwidgets)
$(add_frameworks_dep knotifications)
$(add_frameworks_dep kservice)
$(add_frameworks_dep ktextwidgets)
$(add_frameworks_dep kwallet)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kxmlgui)
$(add_frameworks_dep sonnet)
$(add_qt_dep qtdbus)
$(add_qt_dep qtgui)
$(add_qt_dep qtnetwork)
$(add_qt_dep qtprintsupport)
$(add_qt_dep qtsql)
$(add_qt_dep qtsvg)
$(add_qt_dep qtwebkit)
$(add_qt_dep qtwidgets)
$(add_qt_dep qtxml)
>=app-crypt/gpgme-1.7.1-r1[cxx]
>=app-office/libalkimia-6.0.0
dev-libs/gmp:0=
dev-libs/kdiagram:5
dev-libs/libgpg-error
x11-misc/shared-mime-info
activities? ( $(add_frameworks_dep kactivities) )
addressbook? (
$(add_kdeapps_dep akonadi)
$(add_kdeapps_dep kcontacts)
$(add_kdeapps_dep kidentitymanagement)
)
calendar? ( dev-libs/libical:= )
hbci? (
>=net-libs/aqbanking-5.6.5
>=sys-libs/gwenhywfar-4.15.3-r1[qt5]
)
holidays? ( || (
$(add_frameworks_dep kholidays)
$(add_kdeapps_dep kholidays)
) )
ofx? ( dev-libs/libofx )
weboob? (
${PYTHON_DEPS}
$(add_qt_dep qtconcurrent)
www-client/weboob[${PYTHON_USEDEP}]
)
"
DEPEND="${COMMON_DEPEND}
dev-libs/boost
virtual/pkgconfig
"
RDEPEND="${COMMON_DEPEND}
!app-office/kmymoney:4
quotes? ( dev-perl/Finance-Quote )
"
PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
pkg_setup() {
use weboob && python_setup
kde5_pkg_setup
}
src_configure() {
local mycmakeargs=(
-DUSE_QT_DESIGNER=OFF
$(cmake-utils_use_find_package activities KF5Activities)
$(cmake-utils_use_find_package addressbook KF5Akonadi)
$(cmake-utils_use_find_package addressbook KF5Contacts)
$(cmake-utils_use_find_package addressbook KF5IdentityManagement)
-DENABLE_KBANKING=$(usex hbci)
-DENABLE_LIBICAL=$(usex calendar)
$(cmake-utils_use_find_package holidays KF5Holidays)
-DENABLE_OFXIMPORTER=$(usex ofx)
-DENABLE_WEBENGINE=OFF
-DENABLE_WEBOOB=$(usex weboob)
$(cmake-utils_use_find_package weboob PythonLibs)
)
kde5_src_configure
}
src_test() {
# bug: 652636
local myctestargs=(
-E "(reports-chart-test)"
)
kde5_src_test
}
|