Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/kmymoney/
Date: Thu, 28 Dec 2017 22:07:52
Message-Id: 1514498844.7107d97ea48d288d3e9bd84ced5c6eba3673961b.asturm@gentoo
1 commit: 7107d97ea48d288d3e9bd84ced5c6eba3673961b
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 28 22:03:26 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 28 22:07:24 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7107d97e
7
8 app-office/kmymoney: 4.8.1.1 version bump
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 app-office/kmymoney/Manifest | 1 +
13 app-office/kmymoney/kmymoney-4.8.1.1.ebuild | 75 +++++++++++++++++++++++++++++
14 2 files changed, 76 insertions(+)
15
16 diff --git a/app-office/kmymoney/Manifest b/app-office/kmymoney/Manifest
17 index 2a1734f19ec..736e8aee315 100644
18 --- a/app-office/kmymoney/Manifest
19 +++ b/app-office/kmymoney/Manifest
20 @@ -1 +1,2 @@
21 DIST kmymoney-4.8.0.tar.xz 20785888 BLAKE2B 23819f5ef4f1ec0951f8b598041b7516efae94ccc6677404b133039023e6141e078226938d2c6d6fa6332803d4ee23d1c855e4db1945ada3d02d8302103876d0 SHA512 883635a94333341cbe3d6c835fe1dbc1cc5ed5cc834f76c945030ec680aee4fc6ceb367fdde811672a392eb5cd7b735c858e0be5a7f7964a4ccf5f9ba8865381
22 +DIST kmymoney-4.8.1.1.tar.xz 20963444 BLAKE2B d2be72a1c7dc41f48405ee406c419b9eb74cc02a80949965b8241331c00fbec23c32177aea0a401a76ef64a97e25e9e532c28e4f29bf88c9c2fd04f608790df6 SHA512 1f730f7db9117469aebaab33891f6064f648fa0ad25afff9ac1fab8d638c376d8e1f013401512c4be060436d6bbdfdacad6427b1e0911ac6b46288db1e242783
23
24 diff --git a/app-office/kmymoney/kmymoney-4.8.1.1.ebuild b/app-office/kmymoney/kmymoney-4.8.1.1.ebuild
25 new file mode 100644
26 index 00000000000..24a7abd2013
27 --- /dev/null
28 +++ b/app-office/kmymoney/kmymoney-4.8.1.1.ebuild
29 @@ -0,0 +1,75 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +KDE_HANDBOOK="optional"
36 +SQL_REQUIRED="always"
37 +VIRTUALX_REQUIRED="test"
38 +VIRTUALDBUS_TEST="true"
39 +inherit kde4-base
40 +
41 +DESCRIPTION="Personal finance manager by KDE"
42 +HOMEPAGE="https://kmymoney.org/"
43 +if [[ ${KDE_BUILD_TYPE} = release ]]; then
44 + SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
45 +fi
46 +
47 +LICENSE="GPL-2"
48 +SLOT="4"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="calendar debug doc hbci ofx quotes weboob"
51 +
52 +COMMON_DEPEND="
53 + >=app-crypt/gpgme-1.7.0[cxx]
54 + <app-office/libalkimia-6.0.0
55 + dev-libs/gmp:0=
56 + dev-libs/libgpg-error
57 + x11-misc/shared-mime-info
58 + calendar? ( dev-libs/libical:= )
59 + hbci? (
60 + >=net-libs/aqbanking-5.5.1
61 + >=sys-libs/gwenhywfar-4.15.3[qt4]
62 + )
63 + ofx? ( >=dev-libs/libofx-0.9.4 )
64 + weboob? ( www-client/weboob )
65 +"
66 +RDEPEND="${COMMON_DEPEND}
67 + quotes? ( dev-perl/Finance-Quote )
68 +"
69 +DEPEND="${COMMON_DEPEND}
70 + dev-libs/boost
71 + virtual/pkgconfig
72 + doc? ( app-doc/doxygen )
73 +"
74 +
75 +src_prepare() {
76 + kde4-base_src_prepare
77 +
78 + # don't install as executable
79 + sed -i kmymoney/CMakeLists.txt \
80 + -e "/install.*kmymoney.appdata/ s/PROGRAMS/FILES/" || die
81 +}
82 +
83 +src_configure() {
84 + local mycmakeargs=(
85 + -DUSE_QT_DESIGNER=OFF
86 + -DENABLE_LIBICAL=$(usex calendar)
87 + -DUSE_DEVELOPER_DOC=$(usex doc)
88 + -DENABLE_KBANKING=$(usex hbci)
89 + -DENABLE_LIBOFX=$(usex ofx)
90 + -DCMAKE_DISABLE_FIND_PACKAGE_KdepimLibs=ON
91 + -DENABLE_WEBOOB=$(usex weboob)
92 + )
93 + kde4-base_src_configure
94 +}
95 +
96 +src_compile() {
97 + kde4-base_src_compile
98 + use doc && kde4-base_src_compile apidoc
99 +}
100 +
101 +src_install() {
102 + use doc && HTML_DOCS=("${BUILD_DIR}/apidocs/html/")
103 + kde4-base_src_install
104 +}