commit:     c616c4cf69c08cd259f669156cb40c1bda7dc2c5
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 17 16:22:34 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jul 17 16:22:34 2025 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=c616c4cf

app-office/kmymoney: Re-add IUSE hbci

Bug: https://bugs.gentoo.org/955181
Bug: https://bugs.gentoo.org/959823
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-office/kmymoney/kmymoney-9999.ebuild | 24 ++++++++++--------------
 app-office/kmymoney/metadata.xml         |  2 +-
 2 files changed, 11 insertions(+), 15 deletions(-)

diff --git a/app-office/kmymoney/kmymoney-9999.ebuild 
b/app-office/kmymoney/kmymoney-9999.ebuild
index 2c3a9cab79..432e767b34 100644
--- a/app-office/kmymoney/kmymoney-9999.ebuild
+++ b/app-office/kmymoney/kmymoney-9999.ebuild
@@ -5,10 +5,10 @@ EAPI=8
 
 ECM_HANDBOOK="optional"
 ECM_TEST="forceoptional"
-KFMIN=6.5.0
-QTMIN=6.7.2
+KFMIN=6.9.0
+QTMIN=6.8.1
 VIRTUALDBUS_TEST="true"
-inherit ecm kde.org optfeature
+inherit ecm kde.org optfeature xdg
 
 DESCRIPTION="Personal finance manager based on KDE Frameworks"
 HOMEPAGE="https://kmymoney.org/";
@@ -20,17 +20,11 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="activities calendar holidays sql sqlcipher"
+IUSE="activities calendar hbci holidays sql sqlcipher"
 [[ ${KDE_BUILD_TYPE} = live ]] && IUSE+=" experimental"
 
 REQUIRED_USE="sqlcipher? ( sql )"
 
-# IUSE="hbci" # aqbanking, gwenhywfar not yet ported to Qt6
-#      hbci? (
-#              >=dev-qt/qtdeclarative-${QTMIN}:6
-#              >=net-libs/aqbanking-6.5.0
-#              >=sys-libs/gwenhywfar-5.10.1:=[qt6(+)]
-#      )
 COMMON_DEPEND="
        dev-cpp/gpgmepp:=
        dev-libs/qgpgme:=
@@ -63,6 +57,11 @@ COMMON_DEPEND="
        >=kde-frameworks/sonnet-${KFMIN}:6
        activities? ( kde-plasma/plasma-activities:6 )
        calendar? ( dev-libs/libical:= )
+       hbci? (
+               >=dev-qt/qtdeclarative-${QTMIN}:6
+               >=net-libs/aqbanking-6.5.0
+               >=sys-libs/gwenhywfar-5.12.1:=[qt6]
+       )
        holidays? ( >=kde-frameworks/kholidays-${KFMIN}:6 )
        sql? ( >=dev-qt/qtbase-${QTMIN}:6[sqlite] )
        sqlcipher? ( dev-db/sqlcipher )
@@ -76,8 +75,6 @@ RDEPEND="${COMMON_DEPEND}
 BDEPEND="virtual/pkgconfig"
 
 pkg_setup() {
-       ecm_pkg_setup
-
        if [[ ${KDE_BUILD_TYPE} = live ]] && use experimental; then
                ewarn "USE experimental set: Building unfinished features."
                ewarn "This *will* chew up your data. You have been warned."
@@ -100,7 +97,7 @@ src_configure() {
                -DUSE_QT_DESIGNER=OFF
                $(cmake_use_find_package activities PlasmaActivities)
                -DENABLE_LIBICAL=$(usex calendar)
-#              -DENABLE_KBANKING=$(usex hbci)
+               -DENABLE_KBANKING=$(usex hbci)
                $(cmake_use_find_package holidays KF6Holidays)
                -DENABLE_SQLSTORAGE=$(usex sql)
                $(cmake_use_find_package sql Qt6Sql)
@@ -125,5 +122,4 @@ pkg_postinst() {
        if [[ -z "${REPLACING_VERSIONS}" ]]; then
                optfeature "more options for online stock quote retrieval" 
dev-perl/Finance-Quote
        fi
-       ecm_pkg_postinst
 }

diff --git a/app-office/kmymoney/metadata.xml b/app-office/kmymoney/metadata.xml
index 5771f1b822..f9f33db505 100644
--- a/app-office/kmymoney/metadata.xml
+++ b/app-office/kmymoney/metadata.xml
@@ -13,7 +13,7 @@
                <flag name="activities">Enable 
<pkg>kde-plasma/plasma-activities</pkg> integration</flag>
 <!--           <flag name="addressbook">Enable <pkg>kde-apps/akonadi</pkg> 
contact integration</flag> -->
                <flag name="experimental">Build unfinished features. DANGEROUS 
to set - this *will* chew up data</flag>
-<!--           <flag name="hbci">Enable HBCI support using 
<pkg>net-libs/aqbanking</pkg></flag> -->
+               <flag name="hbci">Enable HBCI support using 
<pkg>net-libs/aqbanking</pkg></flag>
                <flag name="holidays">Enable 
<pkg>kde-frameworks/kholidays</pkg> integration</flag>
                <flag name="sql">Enable storage of financial data in SQL Db via 
<pkg>dev-qt/qtsql</pkg></flag>
                <flag name="sqlcipher">Enable SQLite3 database encryption 
support via <pkg>dev-db/sqlcipher</pkg></flag>

Reply via email to