sys-libs/gwenhywfar: Add 5.14.1, #967218

Version bump required for newer >net-libs/aqbanking-6.6.
Using same qt6-detect patch for 5.12 and 5.14.

Signed-off-by: Felix Tiede <info@pc-tiede.de>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Felix Tiede
2026-01-19 07:41:28 +01:00
committed by Michael Orlitzky
parent 6cb8017d76
commit c288c4b5a9
2 changed files with 77 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST gwenhywfar-5.12.1.tar.gz 2734237 BLAKE2B e31df2122c6acda76e5698b6abbb13b98189ae6f25de3bc5ba12d676f60581bbc44897af179fa340532e7540cc9f350e7a5010a355a1ae253bae35ea707f58ea SHA512 0c2523e1b7d4744663d1a7bdc5e516fb1c757881402189c2315d844bc1fa86b1d3bdc72add3c6fa4ee24a46c7dabc12691b785b8dc63877963c840f2da494e57
DIST gwenhywfar-5.14.1.tar.gz 2752957 BLAKE2B 9bea5f80099f0a3ad964e81a48f5d56ea535dbefdb57355965337251c539466704d0f0b7af1f57a691142ba79e72e6301dbdde4242d30803b4af72323d7207c8 SHA512 770a9f3aba84440526229375000b02cb938d2ccd4c75c25503e322ee717f3b738d2bdf17a1dff7f0486b37a60b0038406d336a3167c932a6336abc14d1bea6f0

View File

@@ -0,0 +1,76 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools qmake-utils
DESCRIPTION="Multi-platform helper library for other libraries"
HOMEPAGE="https://www.aquamaniac.de/"
SRC_URI="https://www.aquamaniac.de/rdm/attachments/download/630/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0/79" # correspond with libgwenhywfar.so version
KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="debug gtk qt6 test" # doc (is broken, bug #950614
# broken upstream, reported but got no reply
RESTRICT="test"
RDEPEND="
dev-libs/libgcrypt:0=
dev-libs/libgpg-error
dev-libs/libxml2:2=
dev-libs/openssl:0=
net-libs/gnutls:=
virtual/libiconv
virtual/libintl
gtk? ( x11-libs/gtk+:3 )
qt6? (
dev-qt/qtbase:6[concurrent,dbus,gui,network,opengl,sql,widgets,xml]
virtual/opengl
)
"
DEPEND="${RDEPEND}
sys-apps/which"
BDEPEND="
sys-devel/gettext
virtual/pkgconfig
"
# doc? ( app-text/doxygen )
PATCHES=( "${FILESDIR}/${PN}-5.12.1-fix-qt6-detect.patch" ) # bug 965843, downstream workaround
src_prepare() {
default
eautoreconf
}
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 qt6 && myeconfargs+=(
--with-qmake="$(qt6_get_bindir)/qmake"
)
local guis=()
use gtk && guis+=( gtk3 )
use qt6 && guis+=( qt5 ) # yes. qt5.
QTPATHS="$(qt6_get_bindir)/qtpaths" \
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
}