From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1678960-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 (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 12060158046
	for <garchives@archives.gentoo.org>; Fri, 11 Oct 2024 12:58:06 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 71A3EE29E5;
	Fri, 11 Oct 2024 12:58:00 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 530CAE29E5
	for <gentoo-commits@lists.gentoo.org>; Fri, 11 Oct 2024 12:58:00 +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 5D0DF34322A
	for <gentoo-commits@lists.gentoo.org>; Fri, 11 Oct 2024 12:57:59 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1334B27FA
	for <gentoo-commits@lists.gentoo.org>; Fri, 11 Oct 2024 12:57:56 +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: <1728651451.a7173f27db63b0b10f08d9a13f05a64af0d06e64.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/purpose-kaccounts-services/
X-VCS-Repository: repo/gentoo
X-VCS-Files: kde-frameworks/purpose-kaccounts-services/Manifest kde-frameworks/purpose-kaccounts-services/purpose-kaccounts-services-6.7.0.ebuild
X-VCS-Directories: kde-frameworks/purpose-kaccounts-services/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: a7173f27db63b0b10f08d9a13f05a64af0d06e64
X-VCS-Branch: master
Date: Fri, 11 Oct 2024 12:57:56 +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: 4ff8cdd2-a47a-4283-b784-9da42cd6a81a
X-Archives-Hash: 05c7b5c9ce07152f4fc00aad31e3ba1c

commit:     a7173f27db63b0b10f08d9a13f05a64af0d06e64
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 11 12:48:35 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 11 12:57:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7173f27

kde-frameworks/purpose-kaccounts-services: 6.7.0 version bump

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

 kde-frameworks/purpose-kaccounts-services/Manifest |  1 +
 .../purpose-kaccounts-services-6.7.0.ebuild        | 56 ++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/kde-frameworks/purpose-kaccounts-services/Manifest b/kde-frameworks/purpose-kaccounts-services/Manifest
index 5ca3b4255230..eb4b0aaad489 100644
--- a/kde-frameworks/purpose-kaccounts-services/Manifest
+++ b/kde-frameworks/purpose-kaccounts-services/Manifest
@@ -1,2 +1,3 @@
 DIST purpose-6.5.0.tar.xz 174700 BLAKE2B 780682a8308023e40723616f3f69704fc168d4a3391194948a7345246cf0014572d0100fccb2575c11251b067c26a21f40997418bb98e35287e7c88b3454c9e2 SHA512 8f0947545c125b08ed34a36321d73ff99725e6e537ec7675f8cff0673c11b7a4570bf194da409b43c997927a844f2236ebaf07fd193f887d57e768485f41ca0b
 DIST purpose-6.6.0.tar.xz 176800 BLAKE2B ca9bf9a881935f2e20bc734d248a15a5fdfbd66cb953ec8284190c962369704093351199560e229caa6e7f5e0110bf1e2ed4447c7bb137562613d0a2d82ded2e SHA512 bc12591f5dccb322cd447a275fa6e35d68e2d7762b09464f10c6f63a8f66e47a45be3693eb289475c581e12d9c316ae8d288b7b29f671068c7b05f757d248811
+DIST purpose-6.7.0.tar.xz 177848 BLAKE2B ef67904e26edfec2cf19b461fd3060f134af17260ac483c7f893e6cc61afc12911cb587bcdd48034e0f49c87b46f394a8ad3cbb30f3786984d06312cd00bda02 SHA512 1366cdc84ae063ef07ff86f70f41b54f808b4a06d9a0864ef30c5457511254cc9c63c5521baa9dcfd1cc7ab066fc35c9acc11f41f94c799674a1e75b195d1d3b

diff --git a/kde-frameworks/purpose-kaccounts-services/purpose-kaccounts-services-6.7.0.ebuild b/kde-frameworks/purpose-kaccounts-services/purpose-kaccounts-services-6.7.0.ebuild
new file mode 100644
index 000000000000..488d5a17d72c
--- /dev/null
+++ b/kde-frameworks/purpose-kaccounts-services/purpose-kaccounts-services-6.7.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# this is purely for service file creation
+ECM_I18N="false"
+ECM_HANDBOOK="false"
+KDE_ORG_NAME="${PN/-kaccounts-services/}"
+KF5_BDEPEND=( "kde-apps/kaccounts-integration:6[qt5]" )
+KF6_BDEPEND=( "kde-apps/kaccounts-integration:6" )
+KFMIN=5.115.0
+inherit ecm-common frameworks.kde.org
+
+DESCRIPTION="KAccounts generated service files for nextcloud and google services"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE=""
+
+RDEPEND="
+	!<kde-frameworks/purpose-5.116.0-r2:5
+	!<kde-frameworks/purpose-6.5.0-r1:6
+"
+
+ecm-common-check_deps() {
+	return $(has_version -b "kde-apps/kaccounts-integration:6")
+}
+
+ecm-common_inject_heredoc() {
+	cat >> CMakeLists.txt <<- _EOF_ || die
+		if(KFSLOT STREQUAL "6")
+			find_package(KAccounts6 REQUIRED)
+		else()
+			find_package(KAccounts REQUIRED)
+		endif()
+
+		kaccounts_add_service(\${CMAKE_CURRENT_SOURCE_DIR}/src/plugins/nextcloud/nextcloud-upload.service.in)
+		kaccounts_add_service(\${CMAKE_CURRENT_SOURCE_DIR}/src/plugins/youtube/google-youtube.service.in)
+	_EOF_
+}
+
+src_prepare() {
+	ecm-common_src_prepare
+
+	# Safety measure in case new services are added in the future
+	local known_num_of_services=2
+	local found_num_of_services=$(find . -iname "*service.in" | wc -l)
+	if [[ ${found_num_of_services} != ${known_num_of_services} ]]; then
+		eerror "Number of service files mismatch!"
+		eerror "Expected: ${known_num_of_services}"
+		eerror "Found: ${found_num_of_services}"
+		die
+	fi
+}