Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libofx/
Date: Wed, 29 Sep 2021 22:54:43
Message-Id: 1632956011.0672d60affa9c4842f9dc48895692586de946b4c.sam@gentoo
1 commit: 0672d60affa9c4842f9dc48895692586de946b4c
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 29 22:53:09 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 29 22:53:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0672d60a
7
8 dev-libs/libofx: add 0.10.3
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-libs/libofx/Manifest | 1 +
13 dev-libs/libofx/libofx-0.10.3.ebuild | 65 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 66 insertions(+)
15
16 diff --git a/dev-libs/libofx/Manifest b/dev-libs/libofx/Manifest
17 index db53570ab1e..c8a6b9e57ad 100644
18 --- a/dev-libs/libofx/Manifest
19 +++ b/dev-libs/libofx/Manifest
20 @@ -1,2 +1,3 @@
21 DIST libofx-0.10.1.tar.gz 226512 BLAKE2B bc0fa1ea0d5c7968730b50b9163a045304dd82f7e312e407ce9393a56ea6b1f9d47382b1299ee990640b98d5f047656aa38a9a8da4d8f19d3bea0236e0487cf1 SHA512 4575424abb56b93021ef223f90460979b544c32b4624936bbad16d0b5711afb6b5fa31b7c2cb835ff7a26be8c7ac51951198e5565a098713b8d33f0e17be774a
22 DIST libofx-0.10.2.tar.gz 225043 BLAKE2B 2ca8cdd9913f2bddb60600d75acfb114d56d6c59191fe2b836a0c2a988b6d0404821a9f99be1fa4b258afbbc35b0cb254b348a1e7a0f7a8c4010645afff52f91 SHA512 14ba2779d94209312a8a1bbf598e6a31820df4fa7e222ae1abb8d4234a6c7ba7068e06a73ad4ee93bcb53ccb99a8007d799d9e66a9921704dc75c84b0e7dc307
23 +DIST libofx-0.10.3.tar.gz 225132 BLAKE2B 29dff4cb79a4a535bf255c787e184d103ecdbe975bb4bb223b675bbacaff9f8a228ae0a3dffe7710c2707496ac65c4f48ce993243b8353172c53cb02067d9267 SHA512 6c024628a6a11d9542c669a438223331a033eb820b1a2c3001c60d1ab3fad45ccdec64f9b54dd206fe0058ead8e14e751eb7a3bd88e8f9e1013b0bdd5b6c5242
24
25 diff --git a/dev-libs/libofx/libofx-0.10.3.ebuild b/dev-libs/libofx/libofx-0.10.3.ebuild
26 new file mode 100644
27 index 00000000000..ae5c04394d4
28 --- /dev/null
29 +++ b/dev-libs/libofx/libofx-0.10.3.ebuild
30 @@ -0,0 +1,65 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit autotools flag-o-matic
37 +
38 +DESCRIPTION="Library to support the Open Financial eXchange XML format"
39 +HOMEPAGE="https://github.com/libofx/libofx"
40 +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0/10"
44 +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
45 +IUSE="doc test"
46 +RESTRICT="!test? ( test )"
47 +
48 +BDEPEND="
49 + dev-util/gengetopt
50 + sys-apps/help2man
51 + virtual/pkgconfig
52 + doc? ( app-doc/doxygen )
53 + test? ( app-crypt/gnupg )
54 +"
55 +RDEPEND="
56 + >app-text/opensp-1.5
57 + app-text/openjade
58 + >=dev-cpp/libxmlpp-2.40.1:2.6
59 + >=net-misc/curl-7.9.7
60 + virtual/libiconv
61 +"
62 +DEPEND="${RDEPEND}"
63 +
64 +src_prepare() {
65 + default
66 +
67 + # Not included in the tarball
68 + sed -i -e '/INSTALL/d' Makefile.am || die
69 +
70 + # bug #566456
71 + append-cxxflags -std=c++14
72 +
73 + eautoreconf
74 +}
75 +
76 +src_configure() {
77 + econf \
78 + $(use_enable doc html-docs) \
79 + --disable-static
80 +}
81 +
82 +src_compile() {
83 + emake -j1
84 +
85 + if use doc ; then
86 + emake doc
87 + fi
88 +}
89 +
90 +src_install() {
91 + default
92 +
93 + find "${ED}" -name '*.la' -type f -delete || die
94 + find "${ED}" -name '*.a' -type f -delete || die
95 +}