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] repo/gentoo:master commit in: kde-frameworks/purpose-kaccounts-services/
Date: Wed, 21 Aug 2024 21:51:17 +0000 (UTC)	[thread overview]
Message-ID: <1724274974.7d9dcc87939e2e96d0c9f53e06ac5691719e3cd8.asturm@gentoo> (raw)

commit:     7d9dcc87939e2e96d0c9f53e06ac5691719e3cd8
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 20 15:34:50 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Aug 21 21:16:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d9dcc87

kde-frameworks/purpose-kaccounts-services: new package, add 6.5.0

Split service files from kde-frameworks/purpose.

KAccounts is used to generate these service files, which pulls in
dev-qt/qtwebengine down the depgraph line.

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

 kde-frameworks/purpose-kaccounts-services/Manifest |  1 +
 .../purpose-kaccounts-services/metadata.xml        | 12 +++++
 .../purpose-kaccounts-services-6.5.0.ebuild        | 56 ++++++++++++++++++++++
 3 files changed, 69 insertions(+)

diff --git a/kde-frameworks/purpose-kaccounts-services/Manifest b/kde-frameworks/purpose-kaccounts-services/Manifest
new file mode 100644
index 000000000000..e9a50ad9eb07
--- /dev/null
+++ b/kde-frameworks/purpose-kaccounts-services/Manifest
@@ -0,0 +1 @@
+DIST purpose-6.5.0.tar.xz 174700 BLAKE2B 780682a8308023e40723616f3f69704fc168d4a3391194948a7345246cf0014572d0100fccb2575c11251b067c26a21f40997418bb98e35287e7c88b3454c9e2 SHA512 8f0947545c125b08ed34a36321d73ff99725e6e537ec7675f8cff0673c11b7a4570bf194da409b43c997927a844f2236ebaf07fd193f887d57e768485f41ca0b

diff --git a/kde-frameworks/purpose-kaccounts-services/metadata.xml b/kde-frameworks/purpose-kaccounts-services/metadata.xml
new file mode 100644
index 000000000000..ec7aae97d041
--- /dev/null
+++ b/kde-frameworks/purpose-kaccounts-services/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>kde@gentoo.org</email>
+		<name>Gentoo KDE Project</name>
+	</maintainer>
+	<upstream>
+		<bugs-to>https://bugs.kde.org/enter_bug.cgi?product=frameworks-purpose</bugs-to>
+		<remote-id type="kde-invent">frameworks/purpose</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/kde-frameworks/purpose-kaccounts-services/purpose-kaccounts-services-6.5.0.ebuild b/kde-frameworks/purpose-kaccounts-services/purpose-kaccounts-services-6.5.0.ebuild
new file mode 100644
index 000000000000..11d7765f9513
--- /dev/null
+++ b/kde-frameworks/purpose-kaccounts-services/purpose-kaccounts-services-6.5.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: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 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+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-08-21 21:51 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-21 21:51 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-26  6:34 [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/purpose-kaccounts-services/ Andreas Sturmlechner
2024-08-28 20:35 Sam James
2024-08-28 21:38 Jakov Smolić
2024-08-29 19:42 Sam James
2024-09-04 14:15 Andreas Sturmlechner
2024-09-14  3:23 Andreas Sturmlechner
2024-10-04 20:27 Arthur Zamarin
2024-10-09  7:03 Arthur Zamarin
2024-10-11 12:57 Andreas Sturmlechner
2024-11-08 14:38 Andreas Sturmlechner
2024-11-09 11:50 Andreas Sturmlechner
2024-11-29 14:30 Arthur Zamarin
2024-11-29 16:26 Andreas Sturmlechner
2024-12-16 22:28 Andreas Sturmlechner
2024-12-17 21:47 Andreas Sturmlechner
2025-01-27 18:43 Andreas Sturmlechner
2025-02-07 20:51 Arthur Zamarin
2025-02-07 21:16 Arthur Zamarin
2025-02-14 15:24 Andreas Sturmlechner
2025-02-21 20:39 Andreas Sturmlechner
2025-03-15 20:56 Andreas Sturmlechner
2025-03-23 17:11 Andreas Sturmlechner
2025-04-12 16:36 Andreas Sturmlechner
2025-04-22 22:23 Andreas Sturmlechner
2025-04-26 13:28 Andreas Sturmlechner
2025-05-13 21:12 Andreas Sturmlechner
2025-06-15 17:39 Andreas Sturmlechner
2025-07-11 18:56 Andreas Sturmlechner
2025-07-13 12:25 Andreas Sturmlechner
2025-08-10 16:16 Andreas Sturmlechner
2025-08-10 19:25 Arthur Zamarin
2025-08-11  4:31 Andreas Sturmlechner
2025-09-12 19:47 Andreas Sturmlechner
2025-10-08 18:26 Andreas Sturmlechner
2025-10-11 20:58 Andreas Sturmlechner
2025-10-18  8:36 Arthur Zamarin
2025-10-18  8:39 Arthur Zamarin
2025-10-20 16:43 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=1724274974.7d9dcc87939e2e96d0c9f53e06ac5691719e3cd8.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