Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/gwenhywfar/
Date: Sat, 05 Nov 2016 16:44:21
Message-Id: 1478364237.c60cd9ac3c52ab0f5d1a71631ca55de9088c6e2a.kensington@gentoo
1 commit: c60cd9ac3c52ab0f5d1a71631ca55de9088c6e2a
2 Author: Felix Leif Keppmann <felix.leif <AT> keppmann <DOT> de>
3 AuthorDate: Tue Nov 1 16:25:06 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 5 16:43:57 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60cd9ac
7
8 sys-libs/gwenhywfar: Added qt5 use flag
9
10 Added use flag qt5 to trigger compilation of Qt5 GUI.
11 Cleaned up src_install.
12 Cleaned up versions of dependencies.
13
14 sys-libs/gwenhywfar/gwenhywfar-4.15.3-r1.ebuild | 63 +++++++++++++++++++++++++
15 1 file changed, 63 insertions(+)
16
17 diff --git a/sys-libs/gwenhywfar/gwenhywfar-4.15.3-r1.ebuild b/sys-libs/gwenhywfar/gwenhywfar-4.15.3-r1.ebuild
18 new file mode 100644
19 index 00000000..f8721fb
20 --- /dev/null
21 +++ b/sys-libs/gwenhywfar/gwenhywfar-4.15.3-r1.ebuild
22 @@ -0,0 +1,63 @@
23 +# Copyright 1999-2016 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Id$
26 +
27 +EAPI=6
28 +
29 +inherit qmake-utils
30 +
31 +MY_P="${P/_beta/beta}"
32 +DESCRIPTION="A multi-platform helper library for other libraries"
33 +HOMEPAGE="http://www.aquamaniac.de/aqbanking/"
34 +SRC_URI="http://www.aquamaniac.de/sites/download/download.php?package=01&release=201&file=01&dummy=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
35 +S="${WORKDIR}/${MY_P}"
36 +
37 +LICENSE="LGPL-2.1"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
40 +IUSE="debug doc fox gtk qt4 qt5"
41 +
42 +RDEPEND="dev-libs/libgpg-error
43 + dev-libs/libgcrypt:0=
44 + dev-libs/openssl:0=
45 + net-libs/gnutls:=
46 + virtual/libiconv
47 + virtual/libintl
48 + fox? ( x11-libs/fox:1.6 )
49 + gtk? ( x11-libs/gtk+:2 )
50 + qt4? ( dev-qt/qtgui:4 )
51 + qt5? ( dev-qt/qtgui:5 )"
52 +DEPEND="${RDEPEND}
53 + virtual/pkgconfig
54 + sys-devel/gettext
55 + doc? ( app-doc/doxygen )"
56 +
57 +# broken upstream, reported but got no reply
58 +RESTRICT="test"
59 +
60 +src_configure() {
61 + local guis
62 + local extra_opts
63 + use fox && guis="${guis} fox16"
64 + use gtk && guis="${guis} gtk2"
65 + use qt4 && guis="${guis} qt4"
66 + use qt5 && guis="${guis} qt5" && extra_opts="--with-qt5-qmake="$(qt5_get_bindir)/qmake" --with-qt5-moc="$(qt5_get_bindir)/moc""
67 + econf \
68 + --enable-ssl \
69 + $(use_enable debug) \
70 + $(use_enable doc full-doc) \
71 + --with-guis="${guis}" \
72 + ${extra_opts} \
73 + --with-docpath="${EPREFIX}/usr/share/doc/${PF}/apidoc"
74 +}
75 +
76 +src_compile() {
77 + emake
78 + use doc && emake srcdoc
79 +}
80 +
81 +src_install() {
82 + default
83 + use doc && emake DESTDIR="${D}" install-srcdoc
84 + find "${ED}" -name '*.la' -delete || die
85 +}