From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1708839-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 5E9E915813A
	for <garchives@archives.gentoo.org>; Sun, 12 Jan 2025 15:50:59 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8644AE0835;
	Sun, 12 Jan 2025 15:50:58 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 70DB8E0835
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Jan 2025 15:50:58 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A68A834133B
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Jan 2025 15:50:57 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A9F712045
	for <gentoo-commits@lists.gentoo.org>; Sun, 12 Jan 2025 15:50:54 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1736697040.2a5c002dba0d589f8f6e6bd2de57b8df53cbf545.asturm@gentoo>
Subject: [gentoo-commits] proj/kde:master commit in: app-office/kmymoney/
X-VCS-Repository: proj/kde
X-VCS-Files: app-office/kmymoney/kmymoney-5.2.9999.ebuild app-office/kmymoney/metadata.xml
X-VCS-Directories: app-office/kmymoney/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: 2a5c002dba0d589f8f6e6bd2de57b8df53cbf545
X-VCS-Branch: master
Date: Sun, 12 Jan 2025 15:50:54 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 8e9da4c3-0140-4537-88cb-bf886d81a59a
X-Archives-Hash: 6c75d62690db301262fd018038998781

commit:     2a5c002dba0d589f8f6e6bd2de57b8df53cbf545
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 12 15:09:32 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 12 15:50:40 2025 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=2a5c002d

app-office/kmymoney: Add IUSE sql, sqlcipher

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-office/kmymoney/kmymoney-5.2.9999.ebuild | 11 ++++++++---
 app-office/kmymoney/metadata.xml             |  2 ++
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/app-office/kmymoney/kmymoney-5.2.9999.ebuild b/app-office/kmymoney/kmymoney-5.2.9999.ebuild
index c25e82e14b..4322ed8327 100644
--- a/app-office/kmymoney/kmymoney-5.2.9999.ebuild
+++ b/app-office/kmymoney/kmymoney-5.2.9999.ebuild
@@ -20,13 +20,14 @@ fi
 
 LICENSE="GPL-2"
 SLOT="5"
-IUSE="activities calendar hbci holidays"
+IUSE="activities calendar hbci holidays sql sqlcipher"
 [[ ${KDE_BUILD_TYPE} = live ]] && IUSE+=" experimental"
 
+REQUIRED_USE="sqlcipher? ( sql )"
+
 RDEPEND="
 	>=app-crypt/gpgme-1.23.1-r1:=[cxx,qt5(-)]
 	=app-office/libalkimia-8.2*:=
-	dev-db/sqlcipher
 	dev-libs/gmp:0=[cxx(+)]
 	dev-libs/kdiagram:5
 	dev-libs/libgpg-error
@@ -36,7 +37,6 @@ RDEPEND="
 	>=dev-qt/qtgui-${QTMIN}:5
 	>=dev-qt/qtnetwork-${QTMIN}:5
 	>=dev-qt/qtprintsupport-${QTMIN}:5
-	>=dev-qt/qtsql-${QTMIN}:5
 	>=dev-qt/qtsvg-${QTMIN}:5
 	>=dev-qt/qtwidgets-${QTMIN}:5
 	>=dev-qt/qtxml-${QTMIN}:5
@@ -66,6 +66,8 @@ RDEPEND="
 		>=sys-libs/gwenhywfar-5.10.1:=[qt5(-)]
 	)
 	holidays? ( >=kde-frameworks/kholidays-${KFMIN}:5 )
+	sql? ( >=dev-qt/qtsql-${QTMIN}:5[sqlite] )
+	sqlcipher? ( dev-db/sqlcipher )
 "
 DEPEND="${RDEPEND}
 	dev-libs/boost
@@ -97,6 +99,9 @@ src_configure() {
 		-DENABLE_LIBICAL=$(usex calendar)
 		-DENABLE_KBANKING=$(usex hbci)
 		$(cmake_use_find_package holidays KF5Holidays)
+		-DENABLE_SQLSTORAGE=$(usex sql)
+		$(cmake_use_find_package sql Qt5Sql)
+		-DENABLE_SQLCIPHER=$(usex sqlcipher)
 	)
 	[[ ${KDE_BUILD_TYPE} = live ]] &&
 		mycmakeargs+=( -DENABLE_COSTCENTER=$(usex experimental) )

diff --git a/app-office/kmymoney/metadata.xml b/app-office/kmymoney/metadata.xml
index e9b2697462..f9f33db505 100644
--- a/app-office/kmymoney/metadata.xml
+++ b/app-office/kmymoney/metadata.xml
@@ -15,5 +15,7 @@
 		<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="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>
 	</use>
 </pkgmetadata>