summaryrefslogtreecommitdiff
path: root/app-office/gnucash
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-office/gnucash
reinit the tree, so we can have metadata
Diffstat (limited to 'app-office/gnucash')
-rw-r--r--app-office/gnucash/Manifest6
-rw-r--r--app-office/gnucash/gnucash-2.6.15-r1.ebuild111
-rw-r--r--app-office/gnucash/gnucash-2.6.15.ebuild112
-rw-r--r--app-office/gnucash/metadata.xml18
4 files changed, 247 insertions, 0 deletions
diff --git a/app-office/gnucash/Manifest b/app-office/gnucash/Manifest
new file mode 100644
index 000000000000..1c07c9bc42dc
--- /dev/null
+++ b/app-office/gnucash/Manifest
@@ -0,0 +1,6 @@
+DIST gnucash-2.6.15.tar.bz2 13406483 SHA256 1619eb8263439f547dd12afdc0b05b9a50593d5cd3d3e9ee5b05edaec3b6dbae SHA512 6ec0652565025ac8281152ed64f2f820ecdb17ead5f17738728e094d116e638a08af57a46c0d5b59679f30f142ce372a5f61bd164f68f6b608d09de37cec38c6 WHIRLPOOL a54e7a20bcf8b181d101d70c7b6c0f2c5a6921af50c151239d06c698aad7511b23f787d8dc0f8a32c41b5a2327085df5dbcadb73a35b9d239be2ecddfad1fcf0
+EBUILD gnucash-2.6.15-r1.ebuild 3216 SHA256 0298398c7ae6fcd5559c8654f3cea73702f2e24202ea1ac9926be0736ae326cd SHA512 8823d1681347cf1f4b52dce75302ca431c0b9b675c5bd6e2e97978237027511acf7f25309755f02d329aa62814881f5df927948c432339c47ef7387ed2bbbe54 WHIRLPOOL 78c9407028ecf1f7631e78c4aa947aa182a2f5780e67ca8273ea293f184e5ee7d7596b55e415311c993c07a5090933398da3e9c57755fc5ffcb7148b8918178a
+EBUILD gnucash-2.6.15.ebuild 3238 SHA256 8d648145376b2078d2ce357ffabaec1aa9426345e64413c7e9668d55319f2b1f SHA512 00fb4c31296021b9cbb7bc1a83662ff04c89aa5425f4a814ba91cab19ca6ebf8ffd29f60f641770a56b8af48d7ba8c195c0d641c3046e8d2365a841639ef74fb WHIRLPOOL c868e8ddec7f03b5b5183ff7a71567eb29b7efad11cb6e384898267af12d776ebdfc6ec0dc5554acadc50fbb9d7a7d6b194a523c4a5eed33ee46da39f6315189
+MISC ChangeLog 7335 SHA256 c865eb9eb90888350b57881795e3bd4adfa13f21070cddbb7894f1646209b2fd SHA512 2a8174e70898304ccf8f577432b14871ed7e4fe98e4c604392fe40c87da6bb793045b31e762ad248e74c2e0b77debf1aed8623addbca5242a25163f8812cc188 WHIRLPOOL 1414d656ed31cdab84bc09764ceb8258c4aa631d9e6c9d6ec98b9097c3413e30d6b2eeab257a691a387f283482761018ac1ee432cd679aa4d0d575056bf39285
+MISC ChangeLog-2015 42168 SHA256 f707a272c042a159e5ae1346f3ad79c0d18f255fb933d9e7f2ab6bb755893974 SHA512 9e8add8885e80700b0c5370e347710bdee084f9b15785e68ae4c1f81e1079e56c809bb70e33f6f5adefc9b9f9a9f638f0bc7e985f774563c91b3e944568d41f0 WHIRLPOOL f857e33c9afa90bd51599ba8e1f0cabc87754c71e809883bf53e2823efbad8d830666e7927c013461ddadb3bec11fbe752e7fbe0f3f109e7039144fb5ddbfe26
+MISC metadata.xml 583 SHA256 34987db88c1afcf2eb2c4f7777e21e6b019b671c987dbe6b505ff347aaf03f32 SHA512 1fce9a3ed2f6aaa121810308f75eab97b156d7c4278cb6d123f1f0f34415b467097907086c006bda1232ad48b3a47db572a7db28b78a01032014cfae70af2a9d WHIRLPOOL 7eeb842dafb97b9642d192f55b019beb819c9facdfc5e8162fb305ca836446f4de431535e338c2fcc38004996f8d0ee4d70a7a128bb7f6f93f35085035e38261
diff --git a/app-office/gnucash/gnucash-2.6.15-r1.ebuild b/app-office/gnucash/gnucash-2.6.15-r1.ebuild
new file mode 100644
index 000000000000..9cf0d0ea6d36
--- /dev/null
+++ b/app-office/gnucash/gnucash-2.6.15-r1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools gnome2 python-single-r1
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="chipcard debug +doc gnome-keyring hbci mysql ofx postgres python quotes sqlite"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# FIXME: rdepend on dev-libs/qof when upstream fix their mess (see configure.ac)
+# libdbi version requirement for sqlite taken from bug #455134
+RDEPEND="
+ >=dev-libs/glib-2.32.0:2
+ >=dev-libs/popt-1.5
+ >=dev-libs/libxml2-2.5.10:2
+ dev-libs/libxslt
+ >=dev-scheme/guile-2.0.0:12=[deprecated,regex]
+ dev-scheme/guile-www
+ gnome-base/libgnomecanvas
+ >=net-libs/webkit-gtk-1.2:2
+ >=sys-libs/zlib-1.1.4
+ >=x11-libs/gtk+-2.24:2
+ >=x11-libs/goffice-0.7.0:0.8[gnome]
+ x11-libs/pango
+ gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+ ofx? ( >=dev-libs/libofx-0.9.1 )
+ hbci? ( >=net-libs/aqbanking-5[gtk,ofx?]
+ sys-libs/gwenhywfar[gtk]
+ chipcard? ( sys-libs/libchipcard )
+ )
+ python? ( ${PYTHON_DEPS} )
+ quotes? ( dev-perl/Date-Manip
+ >=dev-perl/Finance-Quote-1.11
+ dev-perl/HTML-TableExtract )
+ sqlite? ( >=dev-db/libdbi-0.9.0
+ >=dev-db/libdbi-drivers-0.9.0[sqlite] )
+ postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] )
+ mysql? ( dev-db/libdbi dev-db/libdbi-drivers[mysql] )
+"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ gnome-base/gnome-common
+ sys-devel/libtool
+ virtual/pkgconfig
+"
+PDEPEND="doc? ( >=app-doc/gnucash-docs-2.2.0 )"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ # Skip test that needs some locales to be present
+ sed -i -e '/test_suite_gnc_date/d' src/libqof/qof/test/test-qof.c || die
+
+ # We need to run eautoreconf to prevent linking against system libs,
+ # this can be noticed, for example, when updating an old version
+ # compiled against guile-1.8 to a newer one relying on 2.0
+ # https://bugs.gentoo.org/show_bug.cgi?id=590536#c39
+ # https://bugzilla.gnome.org/show_bug.cgi?id=775634
+ eautoreconf
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ local myconf
+
+ DOCS="doc/README.OFX doc/README.HBCI"
+
+ if use sqlite || use mysql || use postgres ; then
+ myconf+=" --enable-dbi"
+ else
+ myconf+=" --disable-dbi"
+ fi
+
+ # gtkmm is experimental and shouldn't be enabled, upstream bug #684166
+ gnome2_src_configure \
+ $(use_enable debug) \
+ $(use_enable gnome-keyring password-storage) \
+ $(use_enable ofx) \
+ $(use_enable hbci aqbanking) \
+ $(use_enable python) \
+ --disable-doxygen \
+ --disable-gtkmm \
+ --enable-locale-specific-tax \
+ --disable-error-on-warning \
+ --with-guile=2.0 \
+ ${myconf}
+}
+
+src_install() {
+ # Parallel installation fails from time to time, bug #359123
+ # Usually reproducible after removing any gnucash installed copy
+ MAKEOPTS="${MAKEOPTS} -j1" GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF} \
+ gnome2_src_install
+
+ rm -rf "${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html}
+ mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die
+ dodoc "${T}"/cantuseprepalldocs/*
+}
diff --git a/app-office/gnucash/gnucash-2.6.15.ebuild b/app-office/gnucash/gnucash-2.6.15.ebuild
new file mode 100644
index 000000000000..9860cdd822dc
--- /dev/null
+++ b/app-office/gnucash/gnucash-2.6.15.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools gnome2 python-single-r1
+
+DESCRIPTION="A personal finance manager"
+HOMEPAGE="http://www.gnucash.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+IUSE="chipcard debug +doc gnome-keyring hbci mysql ofx postgres python quotes sqlite"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# FIXME: rdepend on dev-libs/qof when upstream fix their mess (see configure.ac)
+# libdbi version requirement for sqlite taken from bug #455134
+RDEPEND="
+ >=dev-libs/glib-2.32.0:2
+ >=dev-libs/popt-1.5
+ >=dev-libs/libxml2-2.5.10:2
+ dev-libs/libxslt
+ >=dev-scheme/guile-1.8.3:12=[deprecated,regex]
+ <dev-scheme/guile-2:12
+ dev-scheme/guile-www
+ gnome-base/libgnomecanvas
+ >=net-libs/webkit-gtk-1.2:2
+ >=sys-libs/zlib-1.1.4
+ >=x11-libs/gtk+-2.24:2
+ >=x11-libs/goffice-0.7.0:0.8[gnome]
+ x11-libs/pango
+ gnome-keyring? ( >=app-crypt/libsecret-0.18 )
+ ofx? ( >=dev-libs/libofx-0.9.1 )
+ hbci? ( >=net-libs/aqbanking-5[gtk,ofx?]
+ sys-libs/gwenhywfar[gtk]
+ chipcard? ( sys-libs/libchipcard )
+ )
+ python? ( ${PYTHON_DEPS} )
+ quotes? ( dev-perl/Date-Manip
+ >=dev-perl/Finance-Quote-1.11
+ dev-perl/HTML-TableExtract )
+ sqlite? ( >=dev-db/libdbi-0.9.0
+ >=dev-db/libdbi-drivers-0.9.0[sqlite] )
+ postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] )
+ mysql? ( dev-db/libdbi dev-db/libdbi-drivers[mysql] )
+"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ gnome-base/gnome-common
+ sys-devel/libtool
+ virtual/pkgconfig
+"
+PDEPEND="doc? ( >=app-doc/gnucash-docs-2.2.0 )"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ # Skip test that needs some locales to be present
+ sed -i -e '/test_suite_gnc_date/d' src/libqof/qof/test/test-qof.c || die
+
+ # We need to run eautoreconf to prevent linking against system libs,
+ # this can be noticed, for example, when updating an old version
+ # compiled against guile-1.8 to a newer one relying on 2.0
+ # https://bugs.gentoo.org/show_bug.cgi?id=590536#c39
+ # https://bugzilla.gnome.org/show_bug.cgi?id=775634
+ eautoreconf
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ local myconf
+
+ DOCS="doc/README.OFX doc/README.HBCI"
+
+ if use sqlite || use mysql || use postgres ; then
+ myconf+=" --enable-dbi"
+ else
+ myconf+=" --disable-dbi"
+ fi
+
+ # gtkmm is experimental and shouldn't be enabled, upstream bug #684166
+ gnome2_src_configure \
+ $(use_enable debug) \
+ $(use_enable gnome-keyring password-storage) \
+ $(use_enable ofx) \
+ $(use_enable hbci aqbanking) \
+ $(use_enable python) \
+ --disable-doxygen \
+ --disable-gtkmm \
+ --enable-locale-specific-tax \
+ --disable-error-on-warning \
+ --with-guile=1.8 \
+ ${myconf}
+}
+
+src_install() {
+ # Parallel installation fails from time to time, bug #359123
+ # Usually reproducible after removing any gnucash installed copy
+ MAKEOPTS="${MAKEOPTS} -j1" GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF} \
+ gnome2_src_install
+
+ rm -rf "${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html}
+ mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die
+ dodoc "${T}"/cantuseprepalldocs/*
+}
diff --git a/app-office/gnucash/metadata.xml b/app-office/gnucash/metadata.xml
new file mode 100644
index 000000000000..7053dc6a9c58
--- /dev/null
+++ b/app-office/gnucash/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <use>
+ <flag name="chipcard">Enable support for chipcard reading and
+ processing.</flag>
+ <flag name="hbci">Enable HBCI support, for connecting to some internet
+ banks</flag>
+ <flag name="quotes">Enable Online Stock Quote retrieval</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">gnucash</remote-id>
+ </upstream>
+</pkgmetadata>