1 |
commit: dd44364919890acd6a02e601173202e04b7267db |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Sun Mar 5 19:23:43 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 1 08:02:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd443649 |
7 |
|
8 |
app-office/kmymoney: Always use gpgme++ from >=app-crypt/gpgme-1.7.0 |
9 |
|
10 |
Gentoo-bug: 611818 |
11 |
|
12 |
app-office/kmymoney/kmymoney-4.8.0-r1.ebuild | 86 ++++++++++++++++++++++++++++ |
13 |
1 file changed, 86 insertions(+) |
14 |
|
15 |
diff --git a/app-office/kmymoney/kmymoney-4.8.0-r1.ebuild b/app-office/kmymoney/kmymoney-4.8.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..33f344d9913 |
18 |
--- /dev/null |
19 |
+++ b/app-office/kmymoney/kmymoney-4.8.0-r1.ebuild |
20 |
@@ -0,0 +1,86 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+ |
26 |
+KDE_LINGUAS="bs ca ca@valencia cs da de el en_GB es et eu fi fr gl |
27 |
+hu it kk nds nl pl pt pt_BR ro ru sk sv tr uk zh_CN zh_TW" |
28 |
+KDE_HANDBOOK="optional" |
29 |
+VIRTUALX_REQUIRED="test" |
30 |
+VIRTUALDBUS_TEST="true" |
31 |
+inherit kde4-base |
32 |
+ |
33 |
+DESCRIPTION="Personal finance manager by KDE" |
34 |
+HOMEPAGE="https://kmymoney.org/" |
35 |
+if [[ ${KDE_BUILD_TYPE} = release ]]; then |
36 |
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" |
37 |
+fi |
38 |
+ |
39 |
+LICENSE="GPL-2" |
40 |
+SLOT="4" |
41 |
+KEYWORDS="~amd64 ~x86" |
42 |
+IUSE="debug calendar doc hbci ofx pim quotes weboob" |
43 |
+ |
44 |
+COMMON_DEPEND=" |
45 |
+ >=app-crypt/gpgme-1.7.0[cxx] |
46 |
+ <app-office/libalkimia-6.0.0 |
47 |
+ dev-libs/gmp:0= |
48 |
+ dev-libs/libgpg-error |
49 |
+ x11-misc/shared-mime-info |
50 |
+ calendar? ( dev-libs/libical:= ) |
51 |
+ hbci? ( |
52 |
+ >=net-libs/aqbanking-5.5.1 |
53 |
+ >=sys-libs/gwenhywfar-4.15.3[qt4] |
54 |
+ ) |
55 |
+ ofx? ( >=dev-libs/libofx-0.9.4 ) |
56 |
+ pim? ( $(add_kdeapps_dep kdepimlibs) ) |
57 |
+ weboob? ( www-client/weboob ) |
58 |
+" |
59 |
+RDEPEND="${COMMON_DEPEND} |
60 |
+ quotes? ( dev-perl/Finance-Quote ) |
61 |
+" |
62 |
+DEPEND="${COMMON_DEPEND} |
63 |
+ dev-libs/boost |
64 |
+ virtual/pkgconfig |
65 |
+ doc? ( app-doc/doxygen ) |
66 |
+" |
67 |
+ |
68 |
+PATCHES=( |
69 |
+ "${FILESDIR}/${P}-tests.patch" |
70 |
+ "${FILESDIR}/${P}-alkimia-detect.patch" |
71 |
+ "${FILESDIR}/${P}-fix-csvdialog.patch" |
72 |
+ "${FILESDIR}/${P}-soversion.patch" |
73 |
+ "${FILESDIR}/${P}-gpgmepp.patch" |
74 |
+ "${FILESDIR}/${P}-kdepimlibs-optional.patch" |
75 |
+) |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ kde4-base_src_prepare |
79 |
+ |
80 |
+ # don't install as executable |
81 |
+ sed -i kmymoney/CMakeLists.txt \ |
82 |
+ -e "/install.*kmymoney.appdata/ s/PROGRAMS/FILES/" || die |
83 |
+} |
84 |
+ |
85 |
+src_configure() { |
86 |
+ local mycmakeargs=( |
87 |
+ -DUSE_QT_DESIGNER=OFF |
88 |
+ -DENABLE_LIBICAL=$(usex calendar) |
89 |
+ -DUSE_DEVELOPER_DOC=$(usex doc) |
90 |
+ -DENABLE_KBANKING=$(usex hbci) |
91 |
+ -DENABLE_LIBOFX=$(usex ofx) |
92 |
+ $(cmake-utils_use_find_package pim KdepimLibs) |
93 |
+ -DENABLE_WEBOOB=$(usex weboob) |
94 |
+ ) |
95 |
+ kde4-base_src_configure |
96 |
+} |
97 |
+ |
98 |
+src_compile() { |
99 |
+ kde4-base_src_compile |
100 |
+ use doc && kde4-base_src_compile apidoc |
101 |
+} |
102 |
+ |
103 |
+src_install() { |
104 |
+ use doc && HTML_DOCS=("${BUILD_DIR}/apidocs/html/") |
105 |
+ kde4-base_src_install |
106 |
+} |