From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 E70E115852A for ; Wed, 21 Aug 2024 21:51:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E64D12BC024; Wed, 21 Aug 2024 21:51:20 +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 CB53F2BC02A for ; Wed, 21 Aug 2024 21:51:20 +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 AB980341256 for ; Wed, 21 Aug 2024 21:51:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 19F5E1F09 for ; Wed, 21 Aug 2024 21:51:17 +0000 (UTC) From: "Andreas Sturmlechner" 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" Message-ID: <1724274878.56a993c68da6be96c8556ecdb9aaea5570fd730b.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-misc/kio-gdrive/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-misc/kio-gdrive/kio-gdrive-23.08.5-r2.ebuild X-VCS-Directories: kde-misc/kio-gdrive/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 56a993c68da6be96c8556ecdb9aaea5570fd730b X-VCS-Branch: master Date: Wed, 21 Aug 2024 21:51:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cfd17210-42c1-4086-ba97-2dcfbaf80a84 X-Archives-Hash: aa06746fb24c23b7403d4b913de1c9aa commit: 56a993c68da6be96c8556ecdb9aaea5570fd730b Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Aug 20 15:34:48 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Aug 21 21:14:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56a993c6 kde-misc/kio-gdrive: SLOT 5 shall RDEPEND on *-common too Signed-off-by: Andreas Sturmlechner gentoo.org> kde-misc/kio-gdrive/kio-gdrive-23.08.5-r2.ebuild | 69 ++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/kde-misc/kio-gdrive/kio-gdrive-23.08.5-r2.ebuild b/kde-misc/kio-gdrive/kio-gdrive-23.08.5-r2.ebuild new file mode 100644 index 000000000000..c91c6d257c47 --- /dev/null +++ b/kde-misc/kio-gdrive/kio-gdrive-23.08.5-r2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoff" +ECM_TEST="optional" +KDE_ORG_CATEGORY="network" +KFMIN=5.106.0 +QTMIN=5.15.9 +inherit ecm gear.kde.org + +DESCRIPTION="KIO worker for Google Drive service" +HOMEPAGE="https://apps.kde.org/kio_gdrive/" + +LICENSE="GPL-2+" +SLOT="5" +KEYWORDS="~amd64 ~arm64" +IUSE="kf6compat +share" + +COMMON_DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + kde-apps/kaccounts-integration:6[qt5] + kde-apps/libkgapi:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + share? ( >=kde-frameworks/purpose-${KFMIN}:5 ) +" +DEPEND="${COMMON_DEPEND} + >=dev-qt/qtnetwork-${QTMIN}:5 +" +RDEPEND="${COMMON_DEPEND} + kde-apps/kaccounts-providers:* + ${CATEGORY}/${PN}-common +" +BDEPEND="dev-util/intltool" + +DOCS=( README.md ) + +ECM_REMOVE_FROM_INSTALL=( + /usr/share/accounts/services/kde/google-drive.service + /usr/share/metainfo/org.kde.kio_gdrive.metainfo.xml + /usr/share/remoteview/gdrive-network.desktop +) + +PATCHES=( "${FILESDIR}/${P}-kaccounts-integration-24.02.patch" ) + +src_prepare() { + ecm_src_prepare + ecm_punt_po_install +} + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package share KF5Purpose) + ) + ecm_src_configure +} + +src_install() { + ecm_src_install + + if use kf6compat && use share; then + rm -r "${D}"/usr/share/purpose/purpose_gdrive_config.qml || die + fi +}