Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/gwenhywfar/
Date: Sat, 31 Oct 2020 22:40:33
Message-Id: 1604184010.2aead6bb52ff72a03b62dc5435a5b481434f1ce2.asturm@gentoo
1 commit: 2aead6bb52ff72a03b62dc5435a5b481434f1ce2
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 31 22:03:53 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 31 22:40:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aead6bb
7
8 sys-libs/gwenhywfar: 5.4.1 version bump
9
10 - Cleanup unused Qt deps (upstream), drop all REQUIRED_USE
11 - Drop IUSE=fox (no revdeps)
12 - New dependency dev-libs/libxml2:2
13
14 Package-Manager: Portage-3.0.8, Repoman-3.0.2
15 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
16
17 sys-libs/gwenhywfar/Manifest | 1 +
18 sys-libs/gwenhywfar/gwenhywfar-5.4.1.ebuild | 83 +++++++++++++++++++++++++++++
19 2 files changed, 84 insertions(+)
20
21 diff --git a/sys-libs/gwenhywfar/Manifest b/sys-libs/gwenhywfar/Manifest
22 index 605f8454997..447a75de0d4 100644
23 --- a/sys-libs/gwenhywfar/Manifest
24 +++ b/sys-libs/gwenhywfar/Manifest
25 @@ -1 +1,2 @@
26 DIST gwenhywfar-5.1.2.tar.gz 2354910 BLAKE2B e73519d33da9268f90ae2924b177c4ef684c9d991faa1f788f8c30ea669fa27d645481e6e41673b22d2796376aaab9cec72de6874b89c2fe141102cfbac2d2e4 SHA512 20374ed6c134b310f375eb286d83bf6074e397e3c6e22b0370d06fb870b9506f171a9276cad9a809331d8917e3bca1eca30a5d5776818ca7f5b06100474a7e0f
27 +DIST gwenhywfar-5.4.1.tar.gz 2373780 BLAKE2B bc2666145d958c5ab9c5600be65bcdd4a2ea6e35f3bd83a5ba9a2380dcc8788e91038733c49c1c16ff00d27eea999a0c0f4a02a70f30180d54a1541dbb951131 SHA512 78ec815374410bb3ebbbcc5c18120b47bbc2460aa8a620fae068f3c6aaeb16351139fe0e28e8dc7037ffb9eaa449011d2483dde3c99ecd0fed7bb2c9f97f89a0
28
29 diff --git a/sys-libs/gwenhywfar/gwenhywfar-5.4.1.ebuild b/sys-libs/gwenhywfar/gwenhywfar-5.4.1.ebuild
30 new file mode 100644
31 index 00000000000..92b566fc5e4
32 --- /dev/null
33 +++ b/sys-libs/gwenhywfar/gwenhywfar-5.4.1.ebuild
34 @@ -0,0 +1,83 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +MY_P="${P/_rc/rc}"
41 +inherit qmake-utils
42 +
43 +DESCRIPTION="Multi-platform helper library for other libraries"
44 +HOMEPAGE="https://www.aquamaniac.de/sites/aqbanking/index.php"
45 +SRC_URI="https://www.aquamaniac.de/rdm/attachments/download/344/${MY_P}.tar.gz"
46 +
47 +LICENSE="LGPL-2.1"
48 +SLOT="0/79" # correspond with libgwenhywfar.so version
49 +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
50 +IUSE="debug doc gtk libressl qt5 test"
51 +
52 +BDEPEND="
53 + sys-devel/gettext
54 + virtual/pkgconfig
55 + doc? ( app-doc/doxygen )
56 +"
57 +DEPEND="
58 + dev-libs/libgcrypt:0=
59 + dev-libs/libgpg-error
60 + dev-libs/libxml2:2
61 + libressl? ( dev-libs/libressl:0= )
62 + !libressl? ( dev-libs/openssl:0= )
63 + net-libs/gnutls:=
64 + virtual/libiconv
65 + virtual/libintl
66 + virtual/opengl
67 + gtk? ( x11-libs/gtk+:3 )
68 + qt5? (
69 + dev-qt/qtconcurrent:5
70 + dev-qt/qtcore:5
71 + dev-qt/qtdbus:5
72 + dev-qt/qtgui:5
73 + dev-qt/qtnetwork:5
74 + dev-qt/qtopengl:5
75 + dev-qt/qtprintsupport:5
76 + dev-qt/qtsql:5
77 + dev-qt/qtwidgets:5
78 + dev-qt/qtxml:5
79 + )
80 +"
81 +RDEPEND="${DEPEND}
82 + gtk? ( !<app-office/gnucash-3.7[aqbanking] )
83 +"
84 +
85 +# broken upstream, reported but got no reply
86 +RESTRICT+=" test"
87 +
88 +S="${WORKDIR}/${MY_P}"
89 +
90 +src_configure() {
91 + local myeconfargs=(
92 + --with-docpath="${EPREFIX}/usr/share/doc/${PF}/apidoc"
93 + --with-libxml2-code=yes
94 + $(use_enable debug)
95 + $(use_enable doc full-doc)
96 + )
97 + use qt5 && myeconfargs+=(
98 + --with-qt5-moc="$(qt5_get_bindir)/moc"
99 + --with-qt5-qmake="$(qt5_get_bindir)/qmake"
100 + )
101 +
102 + local guis=()
103 + use gtk && guis+=( gtk3 )
104 + use qt5 && guis+=( qt5 )
105 + econf "${myeconfargs[@]}" "--with-guis=${guis[@]}"
106 +}
107 +
108 +src_compile() {
109 + emake
110 + use doc && emake srcdoc
111 +}
112 +
113 +src_install() {
114 + default
115 + use doc && emake DESTDIR="${D}" install-srcdoc
116 + find "${D}" -name '*.la' -type f -delete || die
117 +}