1 |
commit: c726532e7d14bad846c9b82eb16b902328077f3a |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 09:56:43 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 10:42:46 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c726532e |
7 |
|
8 |
app-office/gnucash: Version bump |
9 |
|
10 |
Package-Manager: portage-2.3.0_rc1 |
11 |
|
12 |
app-office/gnucash/Manifest | 1 + |
13 |
app-office/gnucash/gnucash-2.6.13.ebuild | 107 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 108 insertions(+) |
15 |
|
16 |
diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest |
17 |
index 122d901..3d72753 100644 |
18 |
--- a/app-office/gnucash/Manifest |
19 |
+++ b/app-office/gnucash/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST gnucash-2.6.12.tar.bz2 13549926 SHA256 371fe9af3ec4b5d6839722b07c9064a51cfe247511edaa6286fc82710f700475 SHA512 3abf6f27413e087b2d4242772cdae87c9f13c1c952ccc0b79cb262baa0c076ee4fe227458346ece3967d1e1158aa38db3ec5dfb20db27050e4580e7762854993 WHIRLPOOL fd6a0c66e394e1e80fe95630dae930c86d05e18aa89b298d862089802438080ac1997d9edb1d159868efd664f839158edc4eeb99e6484cbb142ca97b6ac94a9d |
22 |
+DIST gnucash-2.6.13.tar.bz2 13564015 SHA256 0fe3c12c849cddee502da07edc8e3db286d32333f4e7cb327bed735f480ee735 SHA512 daad6d55485de6ce3ca6affe232c51252d853c803734f4737ab2477e7724c42fa2ea764f5fdeea00d956bcbaad338a30fe21c62a578a818d5e8b4f5878f060b5 WHIRLPOOL 6f1ed3e9eaf9e80e8131fc48ff5480790a15093f1d2ab9b2c074644feb3c4d5db60315ba9e480f9697c21f0be7908f922ceff51a284632d65eb4fa7bda551e3b |
23 |
|
24 |
diff --git a/app-office/gnucash/gnucash-2.6.13.ebuild b/app-office/gnucash/gnucash-2.6.13.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..73c2f3c |
27 |
--- /dev/null |
28 |
+++ b/app-office/gnucash/gnucash-2.6.13.ebuild |
29 |
@@ -0,0 +1,107 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI="6" |
35 |
+GNOME2_LA_PUNT="yes" |
36 |
+PYTHON_COMPAT=( python2_7 ) |
37 |
+ |
38 |
+inherit gnome2 python-single-r1 |
39 |
+ |
40 |
+DESCRIPTION="A personal finance manager" |
41 |
+HOMEPAGE="http://www.gnucash.org/" |
42 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
43 |
+ |
44 |
+SLOT="0" |
45 |
+LICENSE="GPL-2" |
46 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
47 |
+IUSE="chipcard debug +doc gnome-keyring hbci mysql ofx postgres python quotes sqlite" |
48 |
+ |
49 |
+# FIXME: rdepend on dev-libs/qof when upstream fix their mess (see configure.ac) |
50 |
+# libdbi version requirement for sqlite taken from bug #455134 |
51 |
+RDEPEND=" |
52 |
+ >=dev-libs/glib-2.32.0:2 |
53 |
+ >=dev-libs/popt-1.5 |
54 |
+ >=dev-libs/libxml2-2.5.10:2 |
55 |
+ dev-libs/libxslt |
56 |
+ >=dev-scheme/guile-1.8.3:12[deprecated,regex] |
57 |
+ dev-scheme/guile-www |
58 |
+ gnome-base/libgnomecanvas |
59 |
+ >=net-libs/webkit-gtk-1.2:2 |
60 |
+ >=sys-libs/zlib-1.1.4 |
61 |
+ >=x11-libs/gtk+-2.24:2 |
62 |
+ >=x11-libs/goffice-0.7.0:0.8[gnome] |
63 |
+ x11-libs/pango |
64 |
+ gnome-keyring? ( >=app-crypt/libsecret-0.18 ) |
65 |
+ ofx? ( >=dev-libs/libofx-0.9.1 ) |
66 |
+ hbci? ( >=net-libs/aqbanking-5[gtk,ofx?] |
67 |
+ sys-libs/gwenhywfar[gtk] |
68 |
+ chipcard? ( sys-libs/libchipcard ) |
69 |
+ ) |
70 |
+ python? ( ${PYTHON_DEPS} ) |
71 |
+ quotes? ( dev-perl/Date-Manip |
72 |
+ >=dev-perl/Finance-Quote-1.11 |
73 |
+ dev-perl/HTML-TableExtract ) |
74 |
+ sqlite? ( >=dev-db/libdbi-0.9.0 |
75 |
+ >=dev-db/libdbi-drivers-0.9.0[sqlite] ) |
76 |
+ postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] ) |
77 |
+ mysql? ( dev-db/libdbi dev-db/libdbi-drivers[mysql] ) |
78 |
+" |
79 |
+DEPEND="${RDEPEND} |
80 |
+ dev-util/intltool |
81 |
+ gnome-base/gnome-common |
82 |
+ sys-devel/libtool |
83 |
+ virtual/pkgconfig |
84 |
+" |
85 |
+PDEPEND="doc? ( >=app-doc/gnucash-docs-2.2.0 )" |
86 |
+ |
87 |
+pkg_setup() { |
88 |
+ use python && python-single-r1_pkg_setup |
89 |
+} |
90 |
+ |
91 |
+src_prepare() { |
92 |
+ # Skip test that needs some locales to be present |
93 |
+ sed -i -e '/test_suite_gnc_date/d' src/libqof/qof/test/test-qof.c || die |
94 |
+ gnome2_src_prepare |
95 |
+} |
96 |
+ |
97 |
+src_configure() { |
98 |
+ local myconf |
99 |
+ |
100 |
+ DOCS="doc/README.OFX doc/README.HBCI" |
101 |
+ |
102 |
+ if use sqlite || use mysql || use postgres ; then |
103 |
+ myconf+=" --enable-dbi" |
104 |
+ else |
105 |
+ myconf+=" --disable-dbi" |
106 |
+ fi |
107 |
+ |
108 |
+ # gtkmm is experimental and shouldn't be enabled, upstream bug #684166 |
109 |
+ gnome2_src_configure \ |
110 |
+ $(use_enable debug) \ |
111 |
+ $(use_enable gnome-keyring password-storage) \ |
112 |
+ $(use_enable ofx) \ |
113 |
+ $(use_enable hbci aqbanking) \ |
114 |
+ $(use_enable python) \ |
115 |
+ --with-guile=1.8 \ |
116 |
+ --disable-doxygen \ |
117 |
+ --disable-gtkmm \ |
118 |
+ --enable-locale-specific-tax \ |
119 |
+ --disable-error-on-warning \ |
120 |
+ ${myconf} |
121 |
+} |
122 |
+ |
123 |
+src_test() { |
124 |
+ GUILE_WARN_DEPRECATED=no \ |
125 |
+ GNC_DOT_DIR="${T}"/.gnucash \ |
126 |
+ emake check |
127 |
+} |
128 |
+ |
129 |
+src_install() { |
130 |
+ # Parallel installation fails from time to time, bug #359123 |
131 |
+ MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF} |
132 |
+ |
133 |
+ rm -rf "${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html} |
134 |
+ mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die |
135 |
+ dodoc "${T}"/cantuseprepalldocs/* |
136 |
+} |