public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/purpose-kaccounts-services/
Date: Sat,  7 Sep 2024 09:44:26 +0000 (UTC)	[thread overview]
Message-ID: <1725702128.405e70abbd24a570c5a0d72d8d4973757eada840.asturm@gentoo> (raw)

commit:     405e70abbd24a570c5a0d72d8d4973757eada840
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  7 08:52:10 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Sep  7 09:42:08 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=405e70ab

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

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

 .../purpose-kaccounts-services-6.6.0.ebuild        | 59 ++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/kde-frameworks/purpose-kaccounts-services/purpose-kaccounts-services-6.6.0.ebuild b/kde-frameworks/purpose-kaccounts-services/purpose-kaccounts-services-6.6.0.ebuild
new file mode 100644
index 0000000000..a289d15dc5
--- /dev/null
+++ b/kde-frameworks/purpose-kaccounts-services/purpose-kaccounts-services-6.6.0.ebuild
@@ -0,0 +1,59 @@
+# 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]
+	kde-apps/kaccounts-integration:5
+)" )
+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
+}


             reply	other threads:[~2024-09-07  9:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-07  9:44 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-14 15:25 [gentoo-commits] proj/kde:master commit in: kde-frameworks/purpose-kaccounts-services/ Andreas Sturmlechner
2025-02-10 22:10 Andreas Sturmlechner
2025-01-09 20:14 Andreas Sturmlechner
2025-01-08 22:59 Andreas Sturmlechner
2024-12-16 22:49 Andreas Sturmlechner
2024-12-06 19:39 Andreas Sturmlechner
2024-11-09 11:42 Andreas Sturmlechner
2024-11-08 14:40 Andreas Sturmlechner
2024-11-02 22:26 Andreas Sturmlechner
2024-10-11 14:17 Andreas Sturmlechner
2024-10-04 22:21 Andreas Sturmlechner
2024-09-14  3:24 Andreas Sturmlechner
2024-09-07 10:28 Andreas Sturmlechner
2024-08-26  6:31 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1725702128.405e70abbd24a570c5a0d72d8d4973757eada840.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox