diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-11-07 17:12:38 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-11-07 20:06:12 +0100 |
commit | a4894ea0deeb9c873169b1f558785a10725861b2 (patch) | |
tree | 04d4eeb34bc52c2bbdf8250537fa58f53681d788 | |
parent | kde-misc/kio-gdrive: 24.08.3 version bump (diff) | |
download | gentoo-a4894ea0deeb9c873169b1f558785a10725861b2.tar.gz gentoo-a4894ea0deeb9c873169b1f558785a10725861b2.tar.bz2 gentoo-a4894ea0deeb9c873169b1f558785a10725861b2.zip |
kde-misc/kio-gdrive-common: 24.08.3 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | kde-misc/kio-gdrive-common/Manifest | 1 | ||||
-rw-r--r-- | kde-misc/kio-gdrive-common/kio-gdrive-common-24.08.3.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/kde-misc/kio-gdrive-common/Manifest b/kde-misc/kio-gdrive-common/Manifest index d90034d7a43c..a032dfa1444a 100644 --- a/kde-misc/kio-gdrive-common/Manifest +++ b/kde-misc/kio-gdrive-common/Manifest @@ -1,2 +1,3 @@ DIST kio-gdrive-24.08.1.tar.xz 81136 BLAKE2B 4cc5764241de36a6354481137dc4b2f1cb48fc637bdeebd5e2eecb9b9c813c35107273c101e43aaadda9f19cb8d0840ca73558934cde762fd22eed84bb62b943 SHA512 bf159f480b3f40468de85bc1b673382b44af8a81b44459ce875060b4fb59f3785d4fb28ee0f70527b082cc6a5b44aa14f0a3bb4083273997ebe3674c0c8a1992 DIST kio-gdrive-24.08.2.tar.xz 82140 BLAKE2B dac031bb9b243a478674ef10bfc51a49cd5c1b69091630de1bfa5fd69fd4b6f7f782980090750822f735f4d9d1ee9d6aba7cff4bffca14827af41901e84fc9ad SHA512 5aea20bc0f355cd649dbc0d897995abfb2dcb62168d616c07693cf55a1e4bba0ef4f94977894d88270406b0ae6f64aaf7c669c6ee8b4f9e97edc8ec71add9f62 +DIST kio-gdrive-24.08.3.tar.xz 82152 BLAKE2B 5fb212bd189f8f1f12572d928654affaa0c28254a436ae3a4f2d03b0ad2db2d2320143c7d3bfcd7822ea461e46f737c0bac163941179fd4dfa59d9118991f3ac SHA512 26c2d647263504b7afd66de84573d5a84f211b901c819368a2823fc95625b3ff81f7d58aefbfba71cf9f2861bdef550e9e3db832ee2b9ddfcb2cc7ab28a10751 diff --git a/kde-misc/kio-gdrive-common/kio-gdrive-common-24.08.3.ebuild b/kde-misc/kio-gdrive-common/kio-gdrive-common-24.08.3.ebuild new file mode 100644 index 000000000000..17061aae7d61 --- /dev/null +++ b/kde-misc/kio-gdrive-common/kio-gdrive-common-24.08.3.ebuild @@ -0,0 +1,50 @@ +# 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/}" +KF5_BDEPEND=( "kde-apps/kaccounts-integration:6[qt5(-)]" ) +KF6_BDEPEND=( "kde-apps/kaccounts-integration:6" ) +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 +" + +ECM_INSTALL_FILES=( + desktop/gdrive-network.desktop:\${KDE_INSTALL_DATADIR}/remoteview + desktop/org.kde.kio_gdrive.metainfo.xml:\${KDE_INSTALL_METAINFODIR} +) + +ecm-common-check_deps() { + return $(has_version -b "kde-apps/kaccounts-integration:6") +} + +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 +} |