kde-misc/kio-gdrive-common: 25.04.0 version bump

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-04-17 01:20:36 +02:00
parent e4b0433eac
commit b7dc6e838f
2 changed files with 46 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST kio-gdrive-24.12.3.tar.xz 80464 BLAKE2B 776bcef3f84a37a06c0bc056983361ab22cd9625f215550a54b5dfb4860661f19d516383eef9dce42da7d07117591ae9858f6d56e49d33fa4be05c4bce77faa6 SHA512 bf47a62d7c9e262b15d393c257ebbccc503dbd9728ff12282bc5c9feb9fd241bc71f44f27d6d79042952062f08603ef95a957a83e72cd4f71caa470fddf08d75
DIST kio-gdrive-25.04.0.tar.xz 82412 BLAKE2B 19743ca2743a5be787a4a6204e2ec847fc7fb043ec6018b7d4398297b70eaee8b8eb385ce49fb0237000cc6bf0b484707f0a422c5464ff4465990f93f5b9369b SHA512 54a78f56de20bc9a8dee2593b82af1c7d2be67ec188a2b4fd53f66f50cf57a2c43910e7e67d8fe2e3ecd5a04dec309ef4b17bab39d89333114e00e3e73412a9a

View File

@@ -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
}