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