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: Fri, 06 Apr 2018 00:42:27
Message-Id: 1522975319.4df84ad4be7ba3d13e3943bff08e9c6097186cd7.asturm@gentoo
1 commit: 4df84ad4be7ba3d13e3943bff08e9c6097186cd7
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 6 00:36:10 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 6 00:41:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4df84ad4
7
8 app-office/kmymoney: Drop slot 4
9
10 Bug: https://bugs.gentoo.org/646894
11 Package-Manager: Portage-2.3.28, Repoman-2.3.9
12
13 app-office/kmymoney/Manifest | 1 -
14 app-office/kmymoney/kmymoney-4.8.1.1-r1.ebuild | 159 -------------------------
15 2 files changed, 160 deletions(-)
16
17 diff --git a/app-office/kmymoney/Manifest b/app-office/kmymoney/Manifest
18 index 938cea62f74..e7d767072bc 100644
19 --- a/app-office/kmymoney/Manifest
20 +++ b/app-office/kmymoney/Manifest
21 @@ -1,2 +1 @@
22 -DIST kmymoney-4.8.1.1.tar.xz 20963444 BLAKE2B d2be72a1c7dc41f48405ee406c419b9eb74cc02a80949965b8241331c00fbec23c32177aea0a401a76ef64a97e25e9e532c28e4f29bf88c9c2fd04f608790df6 SHA512 1f730f7db9117469aebaab33891f6064f648fa0ad25afff9ac1fab8d638c376d8e1f013401512c4be060436d6bbdfdacad6427b1e0911ac6b46288db1e242783
23 DIST kmymoney-5.0.1.tar.xz 13307860 BLAKE2B df61285f848df693510f1807bbf66b7cfec4498f2c540df3420731734a8ced8c4ae6426e338af2cecc85278120087eddc261a9e35bad50722991e3bb617d4a9c SHA512 74ace8d98f144c503d572c68cf50c27664a49bc5f4428788b69a1da52b8f72e97e1bb70914dbf041c43884c3b6340e28390618dec179ebe3d1b3ea63bede93e7
24
25 diff --git a/app-office/kmymoney/kmymoney-4.8.1.1-r1.ebuild b/app-office/kmymoney/kmymoney-4.8.1.1-r1.ebuild
26 deleted file mode 100644
27 index 34a42561678..00000000000
28 --- a/app-office/kmymoney/kmymoney-4.8.1.1-r1.ebuild
29 +++ /dev/null
30 @@ -1,159 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -inherit cmake-utils flag-o-matic gnome2-utils virtualx xdg-utils
37 -
38 -DESCRIPTION="Personal finance manager by KDE"
39 -HOMEPAGE="https://kmymoney.org/"
40 -SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="4"
44 -KEYWORDS="amd64 x86"
45 -IUSE="calendar debug doc +handbook hbci ofx quotes test weboob"
46 -
47 -COMMON_DEPEND="
48 - >=app-crypt/gpgme-1.7.0[cxx]
49 - <app-office/libalkimia-6.0.0
50 - dev-libs/gmp:0=
51 - dev-libs/libgpg-error
52 - dev-qt/qtcore:4[ssl]
53 - dev-qt/qtdbus:4
54 - dev-qt/qtgui:4
55 - dev-qt/qtsql:4
56 - dev-qt/qtsvg:4
57 - kde-frameworks/kdelibs:4
58 - x11-misc/shared-mime-info
59 - calendar? ( dev-libs/libical:= )
60 - hbci? (
61 - >=net-libs/aqbanking-5.5.1
62 - >=sys-libs/gwenhywfar-4.15.3[qt4]
63 - )
64 - ofx? ( >=dev-libs/libofx-0.9.4 )
65 - weboob? ( www-client/weboob )
66 -"
67 -RDEPEND="${COMMON_DEPEND}
68 - kde-frameworks/oxygen-icons:*
69 - handbook? ( kde-frameworks/kdelibs:4[handbook] )
70 - quotes? ( dev-perl/Finance-Quote )
71 -"
72 -DEPEND="${COMMON_DEPEND}
73 - dev-libs/boost
74 - virtual/pkgconfig
75 - doc? ( app-doc/doxygen )
76 - handbook? (
77 - app-text/docbook-xml-dtd:4.2
78 - app-text/docbook-xsl-stylesheets
79 - )
80 - test? ( dev-qt/qttest:4 )
81 -"
82 -
83 -src_prepare() {
84 - cmake-utils_src_prepare
85 -
86 - if [[ -v LINGUAS ]] ; then
87 - pushd po > /dev/null || die
88 - local lang
89 - for lang in *; do
90 - if [[ -e ${lang} ]] && ! has ${lang/.po/} ${LINGUAS} ; then
91 - case ${lang} in
92 - CMakeLists.txt) ;;
93 - *) rm -r ${lang} || die ;;
94 - esac
95 - cmake_comment_add_subdirectory ${lang}
96 - sed -e "/add_subdirectory([[:space:]]*${lang}\/.*[[:space:]]*)/d" \
97 - -i CMakeLists.txt || die
98 - fi
99 - done
100 - popd > /dev/null || die
101 - fi
102 -
103 - if ! use handbook; then
104 - cmake_comment_add_subdirectory doc
105 - else
106 - if [[ -d doc && -v LINGUAS ]] ; then
107 - pushd doc > /dev/null || die
108 - local lang
109 - for lang in *; do
110 - if ! has ${lang} ${LINGUAS} && [[ ${lang} != "en_US" ]]; then
111 - cmake_comment_add_subdirectory ${lang}
112 - fi
113 - done
114 - popd > /dev/null || die
115 - fi
116 - fi
117 -
118 - # don't install as executable
119 - sed -i kmymoney/CMakeLists.txt \
120 - -e "/install.*kmymoney.appdata/ s/PROGRAMS/FILES/" || die
121 -}
122 -
123 -src_configure() {
124 - use debug || append-cppflags -DQT_NO_DEBUG
125 -
126 - local mycmakeargs=(
127 - -DUSE_QT_DESIGNER=OFF
128 - -DENABLE_LIBICAL=$(usex calendar)
129 - -DUSE_DEVELOPER_DOC=$(usex doc)
130 - -DENABLE_KBANKING=$(usex hbci)
131 - -DENABLE_LIBOFX=$(usex ofx)
132 - -DCMAKE_DISABLE_FIND_PACKAGE_KdepimLibs=ON
133 - -DKDE4_BUILD_TESTS=$(usex test)
134 - -DENABLE_WEBOOB=$(usex weboob)
135 - )
136 - cmake-utils_src_configure
137 -}
138 -
139 -src_compile() {
140 - cmake-utils_src_compile
141 - use doc && cmake-utils_src_compile apidoc
142 -}
143 -
144 -src_test() {
145 - local kded4_pid
146 -
147 - _test_runner() {
148 - export $(dbus-launch)
149 - kded4 2>&1 > /dev/null &
150 - kded4_pid=$!
151 -
152 - cmake-utils_src_test
153 - }
154 -
155 - unset DBUS_SESSION_BUS_ADDRESS DBUS_SESSION_BUS_PID
156 -
157 - local myctestargs=( -E "(kmymoney-querytabletest)" ) # requires ktimezoned
158 - virtx _test_runner
159 -
160 - if [[ -n "${kded4_pid}" ]] ; then
161 - kill ${kded4_pid}
162 - fi
163 -
164 - if [[ -n "${DBUS_SESSION_BUS_PID}" ]] ; then
165 - kill ${DBUS_SESSION_BUS_PID}
166 - fi
167 -}
168 -
169 -src_install() {
170 - use doc && HTML_DOCS=( "${BUILD_DIR}/apidocs/html/." )
171 - cmake-utils_src_install
172 -
173 - # We don't want /usr/share/doc/HTML to be compressed,
174 - # because then khelpcenter can't find the docs
175 - [[ -d ${ED%/}/usr/share/doc/HTML ]] &&
176 - docompress -x /usr/share/doc/HTML
177 -}
178 -
179 -pkg_postinst() {
180 - gnome2_icon_cache_update
181 - xdg_desktop_database_update
182 - xdg_mimeinfo_database_update
183 -}
184 -
185 -pkg_postrm() {
186 - gnome2_icon_cache_update
187 - xdg_desktop_database_update
188 - xdg_mimeinfo_database_update
189 -}