/[gentoo-x86]/app-office/kmymoney/kmymoney-4.6.2-r1.ebuild
Gentoo

Contents of /app-office/kmymoney/kmymoney-4.6.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Jul 15 00:45:27 2012 UTC (10 months, 1 week ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha118/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-office/kmymoney/kmymoney-4.6.2-r1.ebuild,v 1.2 2012/05/08 11:04:08 johu Exp $
4
5 EAPI=4
6
7 if [[ ${PV} != *9999* ]]; then
8 KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et
9 eu fi fr ga gl hu it ja lt ms nds nl pl pt
10 pt_BR ro ru sk sv tr ug uk zh_CN zh_TW"
11 KDE_DOC_DIRS="doc doc-translations/%lingua_${PN}"
12 KDE_HANDBOOK="optional"
13 SRC_URI="mirror://sourceforge/kmymoney2/${P}.tar.bz2"
14 fi
15
16 VIRTUALX_REQUIRED=test
17
18 inherit kde4-base
19
20 DESCRIPTION="Personal finance manager for KDE"
21 HOMEPAGE="http://kmymoney2.sourceforge.net/"
22
23 LICENSE="GPL-2"
24 KEYWORDS="~amd64 ~x86"
25 SLOT="4"
26 IUSE="debug calendar doc hbci ofx quotes test"
27
28 COMMON_DEPEND="
29 app-crypt/gpgme
30 >=app-office/libalkimia-4.3.2
31 dev-cpp/glibmm:2
32 dev-cpp/libxmlpp:2.6
33 dev-libs/boost
34 dev-libs/glib:2
35 dev-libs/gmp
36 dev-libs/libgpg-error
37 dev-libs/libxml2
38 $(add_kdebase_dep kdepimlibs)
39 x11-misc/shared-mime-info
40 calendar? ( dev-libs/libical )
41 hbci? (
42 >=net-libs/aqbanking-5.0.1
43 >=sys-libs/gwenhywfar-4.0.1[qt4]
44 )
45 ofx? ( >=dev-libs/libofx-0.9.4 )
46 "
47 RDEPEND="${COMMON_DEPEND}
48 quotes? ( dev-perl/Finance-Quote )
49 "
50 DEPEND="${COMMON_DEPEND}
51 virtual/pkgconfig
52 doc? ( app-doc/doxygen )
53 test? ( dev-util/cppunit )
54 "
55
56 PATCHES=(
57 "${FILESDIR}/${PN}-4.6.1-qt48.patch"
58 "${FILESDIR}/${P}-fix-parallel-build.patch"
59 )
60
61 RESTRICT=test
62 # bug 399467
63
64 src_configure() {
65 mycmakeargs=(
66 -DUSE_QT_DESIGNER=OFF
67 $(cmake-utils_use_enable calendar LIBICAL)
68 $(cmake-utils_use_use doc DEVELOPER_DOC)
69 $(cmake-utils_use_enable hbci KBANKING)
70 $(cmake-utils_use_enable ofx LIBOFX)
71 $(cmake-utils_use test KDE4_BUILD_TESTS)
72 )
73 kde4-base_src_configure
74 }
75
76 src_compile() {
77 kde4-base_src_compile
78
79 use doc && kde4-base_src_compile apidoc
80 }
81
82 src_install() {
83 use doc && HTML_DOCS=("${CMAKE_BUILD_DIR}/apidocs/html/")
84 kde4-base_src_install
85 }

  ViewVC Help
Powered by ViewVC 1.1.17