summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-03-15 22:32:47 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2025-03-15 22:32:47 +0100
commit200bb1159be0df5af0053c912fe19d1176bc0de7 (patch)
tree43a85836b28dd6cfa981b5723baa63d089443a58
parent0e3251572998517d2433bf9474593cbc157d4790 (diff)
downloadkde-200bb1159be0df5af0053c912fe19d1176bc0de7.tar.gz
kde-200bb1159be0df5af0053c912fe19d1176bc0de7.tar.bz2
kde-200bb1159be0df5af0053c912fe19d1176bc0de7.zip
kde-misc/kio-gdrive-common: 25.03.80 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.03.80.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..95de6e7afb4
--- /dev/null
+++ b/kde-misc/kio-gdrive-common/Manifest
@@ -0,0 +1 @@
+DIST kio-gdrive-25.03.80.tar.xz 82424 BLAKE2B e3cbf65a0d84e6efbb94a6aa1c756da72c13655a6f8d846c85ece0fffbc78331b3b354569e8f92d85c145beca2532054a105e7ac40bdace37dc1158afe1a20e7 SHA512 c9afcae35046b9ec8a6dd306e16a5aa410eea1e497d70ba774bb1d9ef551ef465a35e1117900c56efa3d70d65d469b17a9196bc085675257881f9389835e8ced
diff --git a/kde-misc/kio-gdrive-common/kio-gdrive-common-25.03.80.ebuild b/kde-misc/kio-gdrive-common/kio-gdrive-common-25.03.80.ebuild
new file mode 100644
index 00000000000..91327ac4686
--- /dev/null
+++ b/kde-misc/kio-gdrive-common/kio-gdrive-common-25.03.80.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
+}