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

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2025-12-11 19:34:24 +01:00
parent 43f0ce5161
commit be2902a3c6
No known key found for this signature in database
GPG Key ID: AE591BBC73E4DD5E
2 changed files with 46 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST kio-gdrive-25.08.3.tar.xz 83216 BLAKE2B c560c32d7b6000fb790ff18f1cc5122f1c8ca964a16009aa448744c55eda3a0a8fbdf135c4f5716a504a0b078335dc586928c6f6d66e66ec74c6a0253ecf8948 SHA512 a015d59070824a36008db4783ec8ad7f752bb512412f3ed7c199870e31cded21d51f7f40ea17115ad0bf788bb8665e034c2f61f78338a0151518d1e6503bca63
DIST kio-gdrive-25.12.0.tar.xz 83176 BLAKE2B a850267722fd72fa4903927816f96c36d05a0e9154c8d62dc7c0c4f71850f689753bee2605814b97e6b6e69825a11d49c704bd22143adff6acfbc251fc36ef89 SHA512 5aec6ffbcecb695527d52ed4f9146778d2de22f57923e00b4998aeffeab04dca29a7e0c6cf9feb3c16266e69a6c031607ffa01b0a2327204753e637b4be1abdc

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
}