summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-05-06 17:41:38 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2025-05-06 18:06:11 +0200
commit085fd8a661a04946dedde12ad889f0feb1cd8db6 (patch)
tree104f4ced980820a72fafcd0dc5c99ec46f2003e3
parent2a4d8a1b229e2f9349c3826542b9d373487b1248 (diff)
downloadkde-085fd8a661a04946dedde12ad889f0feb1cd8db6.tar.gz
kde-085fd8a661a04946dedde12ad889f0feb1cd8db6.tar.bz2
kde-085fd8a661a04946dedde12ad889f0feb1cd8db6.zip
kde-misc/kio-gdrive-common: 25.04.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-25.04.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..83d51b590cf
--- /dev/null
+++ b/kde-misc/kio-gdrive-common/Manifest
@@ -0,0 +1 @@
+DIST kio-gdrive-25.04.1.tar.xz 82424 BLAKE2B 8b86dda75364ca03f18e97ffa5b58ecd380e14a3e8cb6e0a3e3bff072f39dc2af78bda60d1d1a461649f6329b429b3ef811b3c8256d71960b27e7f6ded7b47bc SHA512 9baaf693e14e9d1f9386823acc48aa89630b6bcf441d7b7836d077af2ec1ea5062bf0be76d51f9db293b33b36e4548475f76255d398ba174bb2161c98d823dd2
diff --git a/kde-misc/kio-gdrive-common/kio-gdrive-common-25.04.1.ebuild b/kde-misc/kio-gdrive-common/kio-gdrive-common-25.04.1.ebuild
new file mode 100644
index 00000000000..91327ac4686
--- /dev/null
+++ b/kde-misc/kio-gdrive-common/kio-gdrive-common-25.04.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 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
+}