diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-12 23:44:14 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-13 00:50:09 +0100 |
commit | 82eb14efdb7e64341d631a7b9a7dfa6782a6305f (patch) | |
tree | b3737a80652c03211040e134d45f02e0f9723156 /sys-libs/gwenhywfar | |
parent | profiles: ppc32: Mask sys-libs/gwenhywfar[sensors,serialport,webkit] (diff) | |
download | gentoo-82eb14efdb7e64341d631a7b9a7dfa6782a6305f.tar.gz gentoo-82eb14efdb7e64341d631a7b9a7dfa6782a6305f.tar.bz2 gentoo-82eb14efdb7e64341d631a7b9a7dfa6782a6305f.zip |
sys-libs/gwenhywfar: 4.19.0 version bump
Thanks-to: Thomas Bettler <thomas.bettler@gmail.com>
Bug: https://bugs.gentoo.org/582740
Bug: https://bugs.gentoo.org/640900
Closes: https://bugs.gentoo.org/644782
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-libs/gwenhywfar')
-rw-r--r-- | sys-libs/gwenhywfar/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/gwenhywfar/gwenhywfar-4.19.0.ebuild | 116 | ||||
-rw-r--r-- | sys-libs/gwenhywfar/metadata.xml | 17 |
3 files changed, 128 insertions, 6 deletions
diff --git a/sys-libs/gwenhywfar/Manifest b/sys-libs/gwenhywfar/Manifest index 561dbf5d4475..86dc8e05dc51 100644 --- a/sys-libs/gwenhywfar/Manifest +++ b/sys-libs/gwenhywfar/Manifest @@ -1 +1,2 @@ DIST gwenhywfar-4.15.3.tar.gz 2249350 BLAKE2B 278ee013fbcf1e05f8006b3b1bcf325e47895987e374868c9c64d1312a43485b61589d17ab1790f64b11d06c9976960b66f587157ca87749fa259502fa19e405 SHA512 a14d625518d94c94491df149f9e746ed8d769f4e43b6df24f51f4269f29005f7431e33e85de0bde0a81a2e876fea8ddad5ed4191114295d6c9ea2e94aba08799 +DIST gwenhywfar-4.19.0.tar.gz 2362848 BLAKE2B cfdde7b26c9ab26d0ab8ce45ccb8da417bc118507e24d7c4315d0f0480deb92e60f331147cde2145b7b41e4764d18266ed221632b0110e3735a20ce6a6a674b2 SHA512 d05b230f7c00247301428046bf9ed643915d0939d804c78622892ae85c81dfe244832a8375820d489277251b407e424a5cf9b19224ad14f7fbfae83485e00da1 diff --git a/sys-libs/gwenhywfar/gwenhywfar-4.19.0.ebuild b/sys-libs/gwenhywfar/gwenhywfar-4.19.0.ebuild new file mode 100644 index 000000000000..a7a2da7d9dd9 --- /dev/null +++ b/sys-libs/gwenhywfar/gwenhywfar-4.19.0.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit qmake-utils + +MY_P="${P/_beta/beta}" +DESCRIPTION="A multi-platform helper library for other libraries" +HOMEPAGE="https://www.aquamaniac.de/aqbanking/" +SRC_URI="https://www.aquamaniac.de/sites/download/download.php?package=01&release=207&file=01&dummy=${MY_P}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug designer doc fox gtk qml qt5 sensors serialport test webkit" + +REQUIRED_USE="designer? ( qt5 ) qml? ( qt5 ) sensors? ( qt5 ) serialport? ( qt5 ) webkit? ( qt5 )" + +# TODO: not yet required by any revdep. Switch gtk when gnucash is ported. +# gtk3? ( x11-libs/gtk+:3 ) +RDEPEND=" + dev-libs/libgcrypt:0= + dev-libs/libgpg-error + dev-libs/openssl:0= + net-libs/gnutls:= + virtual/libiconv + virtual/libintl + virtual/opengl + designer? ( dev-qt/designer:5 ) + fox? ( x11-libs/fox:1.6 ) + gtk? ( x11-libs/gtk+:2 ) + qml? ( dev-qt/qtdeclarative:5 ) + qt5? ( + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qthelp:5 + dev-qt/qtmultimedia:5[widgets] + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtprintsupport:5 + dev-qt/qtscript:5 + dev-qt/qtsql:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + dev-qt/qtxml:5 + dev-qt/qtxmlpatterns:5 + ) + sensors? ( dev-qt/qtsensors:5 ) + serialport? ( dev-qt/qtserialport:5 ) + test? ( dev-qt/qttest:5 ) + webkit? ( dev-qt/qtwebkit:5 ) +" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" + +# broken upstream, reported but got no reply +RESTRICT="test" + +src_prepare() { + disableQtModule() { + local module + for module in ${@}; do + sed -e "/qtHaveModule(${module})/s/^/#DONT/" -i m4/ax_have_qt.m4 || die + done + } + + default + + use designer || disableQtModule designer uitools + use qml || disableQtModule qml qmltest + use sensors || disableQtModule sensors + use serialport || disableQtModule serialport + use test || disableQtModule testlib + use webkit || disableQtModule webkit webkitwidgets +} + +src_configure() { + local guis=() + use fox && guis+=( fox16 ) + use gtk && guis+=( gtk2 ) + use qt5 && guis+=( qt5 ) + # use gtk3 && guis+=( gtk3 ) + + local myeconfargs=( + --enable-ssl + $(use_enable debug) + $(use_enable doc full-doc) + --with-guis="${guis[@]}" + --with-docpath="${EPREFIX}/usr/share/doc/${PF}/apidoc" + ) + use qt5 && myeconfargs+=( + --with-qt5-moc="$(qt5_get_bindir)/moc" + --with-qt5-qmake="$(qt5_get_bindir)/qmake" + ) + + econf ${myeconfargs[@]} +} + +src_compile() { + emake + use doc && emake srcdoc +} + +src_install() { + default + use doc && emake DESTDIR="${D}" install-srcdoc + find "${ED}" -name '*.la' -delete || die +} diff --git a/sys-libs/gwenhywfar/metadata.xml b/sys-libs/gwenhywfar/metadata.xml index 4196ab24d5ad..762819655dde 100644 --- a/sys-libs/gwenhywfar/metadata.xml +++ b/sys-libs/gwenhywfar/metadata.xml @@ -1,10 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>hanno@gentoo.org</email> - </maintainer> - <use> - <flag name="fox">Use <pkg>x11-libs/fox</pkg> graphical toolkit</flag> - </use> + <maintainer type="person"> + <email>hanno@gentoo.org</email> + </maintainer> + <use> + <flag name="designer">Build plugins for <pkg>dev-qt/designer</pkg></flag> + <flag name="fox">Use <pkg>x11-libs/fox</pkg> graphical toolkit</flag> + <flag name="qml">Enable support for plugins using QML</flag> + <flag name="sensors">Enable support for <pkg>dev-qt/qtsensors</pkg> module</flag> + <flag name="serialport">Enable support for <pkg>dev-qt/qtserialport</pkg> module</flag> + <flag name="webkit">Enable support for <pkg>dev-qt/qtwebkit</pkg></flag> + </use> </pkgmetadata> |