summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-01-07 21:04:38 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2025-01-08 23:59:33 +0100
commit67c7dbe75d95310328b73e40147b183ab20e0735 (patch)
treee15bebc8d2429229b5b9442bb6ec665d9eaf5416
parent4e437250ce5c1415d7923fb9c3a3026a2965d735 (diff)
downloadkde-67c7dbe75d95310328b73e40147b183ab20e0735.tar.gz
kde-67c7dbe75d95310328b73e40147b183ab20e0735.tar.bz2
kde-67c7dbe75d95310328b73e40147b183ab20e0735.zip
kde-misc/kio-gdrive-common: 24.12.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-misc/kio-gdrive-common/Manifest1
-rw-r--r--kde-misc/kio-gdrive-common/kio-gdrive-common-24.12.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/kde-misc/kio-gdrive-common/Manifest b/kde-misc/kio-gdrive-common/Manifest
new file mode 100644
index 00000000000..4975b6095c8
--- /dev/null
+++ b/kde-misc/kio-gdrive-common/Manifest
@@ -0,0 +1 @@
+DIST kio-gdrive-24.12.1.tar.xz 80232 BLAKE2B e151192c1310e5877e21a05e31bb8cefbe6451c32c15d04dfe208d45711835b1f739deb4bd7934a77062fdcb962885f861d03992243101ffdb508472a3285384 SHA512 3f03e803c9bde9465ffaecba353ad451396ac587f36cacbf928360e7a6071d123adcbb17da5df7d775f4bc9e009a07c19cc134b2e556bf073500161806af80e0
diff --git a/kde-misc/kio-gdrive-common/kio-gdrive-common-24.12.1.ebuild b/kde-misc/kio-gdrive-common/kio-gdrive-common-24.12.1.ebuild
new file mode 100644
index 00000000000..b26da54ded2
--- /dev/null
+++ b/kde-misc/kio-gdrive-common/kio-gdrive-common-24.12.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="true"
+KDE_ORG_CATEGORY="network"
+KDE_ORG_NAME="${PN/-common/}"
+inherit ecm-common gear.kde.org
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+ !<kde-misc/kio-gdrive-23.08.5-r2:5
+ !<kde-misc/kio-gdrive-24.05.2-r1:6
+"
+BDEPEND="kde-apps/kaccounts-integration:6"
+
+ECM_INSTALL_FILES=(
+ desktop/gdrive-network.desktop:\${KDE_INSTALL_DATADIR}/remoteview
+ desktop/org.kde.kio_gdrive.metainfo.xml:\${KDE_INSTALL_METAINFODIR}
+)
+
+ecm-common_inject_heredoc() {
+ cat >> CMakeLists.txt <<- _EOF_ || die
+ find_package(KAccounts6 REQUIRED)
+ kaccounts_add_service(\${CMAKE_CURRENT_SOURCE_DIR}/kaccounts/google-drive.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=1
+ 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
+}