Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/gwenhywfar/
Date: Fri, 02 Dec 2022 07:43:06
Message-Id: 1669966980.671eb2ed60d87309874df0a707aa8fdeb9fb3768.juippis@gentoo
1 commit: 671eb2ed60d87309874df0a707aa8fdeb9fb3768
2 Author: Marco Scardovi <mscardovi <AT> icloud <DOT> com>
3 AuthorDate: Mon Nov 21 20:38:05 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 2 07:43:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=671eb2ed
7
8 sys-libs/gwenhywfar: bump to 5.10.1
9
10 Signed-off-by: Marco Scardovi <mscardovi <AT> icloud.com>
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 sys-libs/gwenhywfar/Manifest | 1 +
14 sys-libs/gwenhywfar/gwenhywfar-5.10.1.ebuild | 80 ++++++++++++++++++++++++++++
15 2 files changed, 81 insertions(+)
16
17 diff --git a/sys-libs/gwenhywfar/Manifest b/sys-libs/gwenhywfar/Manifest
18 index d7685261487e..8563699d13ed 100644
19 --- a/sys-libs/gwenhywfar/Manifest
20 +++ b/sys-libs/gwenhywfar/Manifest
21 @@ -1 +1,2 @@
22 +DIST gwenhywfar-5.10.1.tar.gz 2687042 BLAKE2B 78fb776a605761f309060affef4e84e526ba789039f48f1e68e107d5002c508e19c9c2c2c0b3a8aba39c6c32543816914b504a6212219cfeeb4f0f04b0354f45 SHA512 11781bec2dd1c4156b609574283179278b8070d604a792aeddf92c8f9b873b3ac09273a8558b9adba567af8d016ea10914d2a149f4b6813798b5800e34e29aa5
23 DIST gwenhywfar-5.4.1.tar.gz 2373780 BLAKE2B bc2666145d958c5ab9c5600be65bcdd4a2ea6e35f3bd83a5ba9a2380dcc8788e91038733c49c1c16ff00d27eea999a0c0f4a02a70f30180d54a1541dbb951131 SHA512 78ec815374410bb3ebbbcc5c18120b47bbc2460aa8a620fae068f3c6aaeb16351139fe0e28e8dc7037ffb9eaa449011d2483dde3c99ecd0fed7bb2c9f97f89a0
24
25 diff --git a/sys-libs/gwenhywfar/gwenhywfar-5.10.1.ebuild b/sys-libs/gwenhywfar/gwenhywfar-5.10.1.ebuild
26 new file mode 100644
27 index 000000000000..ab910b95aef6
28 --- /dev/null
29 +++ b/sys-libs/gwenhywfar/gwenhywfar-5.10.1.ebuild
30 @@ -0,0 +1,80 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit qmake-utils
37 +
38 +DESCRIPTION="Multi-platform helper library for other libraries"
39 +HOMEPAGE="https://www.aquamaniac.de/sites/aqbanking/index.php"
40 +SRC_URI="https://www.aquamaniac.de/rdm/attachments/download/465/${P}.tar.gz"
41 +
42 +LICENSE="LGPL-2.1"
43 +SLOT="0/79" # correspond with libgwenhywfar.so version
44 +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
45 +IUSE="debug doc gtk qt5 test"
46 +
47 +BDEPEND="
48 + sys-devel/gettext
49 + virtual/pkgconfig
50 + doc? ( app-doc/doxygen )
51 +"
52 +DEPEND="
53 + dev-libs/libgcrypt:0=
54 + dev-libs/libgpg-error
55 + dev-libs/libxml2:2
56 + dev-libs/openssl:0=
57 + net-libs/gnutls:=
58 + virtual/libiconv
59 + virtual/libintl
60 + virtual/opengl
61 + gtk? ( x11-libs/gtk+:3 )
62 + qt5? (
63 + dev-qt/qtconcurrent:5
64 + dev-qt/qtcore:5
65 + dev-qt/qtdbus:5
66 + dev-qt/qtgui:5
67 + dev-qt/qtnetwork:5
68 + dev-qt/qtopengl:5
69 + dev-qt/qtprintsupport:5
70 + dev-qt/qtsql:5
71 + dev-qt/qtwidgets:5
72 + dev-qt/qtxml:5
73 + )
74 +"
75 +RDEPEND="
76 + ${DEPEND}
77 + gtk? ( !<app-office/gnucash-3.7[aqbanking] )
78 +"
79 +
80 +# broken upstream, reported but got no reply
81 +RESTRICT+=" test"
82 +
83 +src_configure() {
84 + local myeconfargs=(
85 + --with-docpath="${EPREFIX}/usr/share/doc/${PF}/apidoc"
86 + --with-libxml2-code=yes
87 + $(use_enable debug)
88 + $(use_enable doc full-doc)
89 + )
90 + use qt5 && myeconfargs+=(
91 + --with-qt5-moc="$(qt5_get_bindir)/moc"
92 + --with-qt5-qmake="$(qt5_get_bindir)/qmake"
93 + )
94 +
95 + local guis=()
96 + use gtk && guis+=( gtk3 )
97 + use qt5 && guis+=( qt5 )
98 + econf "${myeconfargs[@]}" "--with-guis=${guis[*]}"
99 +}
100 +
101 +src_compile() {
102 + emake
103 + use doc && emake srcdoc
104 +}
105 +
106 +src_install() {
107 + default
108 + use doc && emake DESTDIR="${D}" install-srcdoc
109 + find "${D}" -name '*.la' -type f -delete || die
110 +}