diff options
Diffstat (limited to 'sys-libs/gwenhywfar')
-rw-r--r-- | sys-libs/gwenhywfar/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/gwenhywfar/gwenhywfar-5.4.1.ebuild | 83 |
2 files changed, 84 insertions, 0 deletions
diff --git a/sys-libs/gwenhywfar/Manifest b/sys-libs/gwenhywfar/Manifest index 605f84549976..447a75de0d49 100644 --- a/sys-libs/gwenhywfar/Manifest +++ b/sys-libs/gwenhywfar/Manifest @@ -1 +1,2 @@ DIST gwenhywfar-5.1.2.tar.gz 2354910 BLAKE2B e73519d33da9268f90ae2924b177c4ef684c9d991faa1f788f8c30ea669fa27d645481e6e41673b22d2796376aaab9cec72de6874b89c2fe141102cfbac2d2e4 SHA512 20374ed6c134b310f375eb286d83bf6074e397e3c6e22b0370d06fb870b9506f171a9276cad9a809331d8917e3bca1eca30a5d5776818ca7f5b06100474a7e0f +DIST gwenhywfar-5.4.1.tar.gz 2373780 BLAKE2B bc2666145d958c5ab9c5600be65bcdd4a2ea6e35f3bd83a5ba9a2380dcc8788e91038733c49c1c16ff00d27eea999a0c0f4a02a70f30180d54a1541dbb951131 SHA512 78ec815374410bb3ebbbcc5c18120b47bbc2460aa8a620fae068f3c6aaeb16351139fe0e28e8dc7037ffb9eaa449011d2483dde3c99ecd0fed7bb2c9f97f89a0 diff --git a/sys-libs/gwenhywfar/gwenhywfar-5.4.1.ebuild b/sys-libs/gwenhywfar/gwenhywfar-5.4.1.ebuild new file mode 100644 index 000000000000..92b566fc5e44 --- /dev/null +++ b/sys-libs/gwenhywfar/gwenhywfar-5.4.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="${P/_rc/rc}" +inherit qmake-utils + +DESCRIPTION="Multi-platform helper library for other libraries" +HOMEPAGE="https://www.aquamaniac.de/sites/aqbanking/index.php" +SRC_URI="https://www.aquamaniac.de/rdm/attachments/download/344/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/79" # correspond with libgwenhywfar.so version +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug doc gtk libressl qt5 test" + +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" +DEPEND=" + dev-libs/libgcrypt:0= + dev-libs/libgpg-error + dev-libs/libxml2:2 + libressl? ( dev-libs/libressl:0= ) + !libressl? ( dev-libs/openssl:0= ) + net-libs/gnutls:= + virtual/libiconv + virtual/libintl + virtual/opengl + gtk? ( x11-libs/gtk+:3 ) + qt5? ( + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsql:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + ) +" +RDEPEND="${DEPEND} + gtk? ( !<app-office/gnucash-3.7[aqbanking] ) +" + +# broken upstream, reported but got no reply +RESTRICT+=" test" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + local myeconfargs=( + --with-docpath="${EPREFIX}/usr/share/doc/${PF}/apidoc" + --with-libxml2-code=yes + $(use_enable debug) + $(use_enable doc full-doc) + ) + use qt5 && myeconfargs+=( + --with-qt5-moc="$(qt5_get_bindir)/moc" + --with-qt5-qmake="$(qt5_get_bindir)/qmake" + ) + + local guis=() + use gtk && guis+=( gtk3 ) + use qt5 && guis+=( qt5 ) + econf "${myeconfargs[@]}" "--with-guis=${guis[@]}" +} + +src_compile() { + emake + use doc && emake srcdoc +} + +src_install() { + default + use doc && emake DESTDIR="${D}" install-srcdoc + find "${D}" -name '*.la' -type f -delete || die +} |