diff options
Diffstat (limited to 'kde-misc/kio-gdrive-common')
-rw-r--r-- | kde-misc/kio-gdrive-common/Manifest | 2 | ||||
-rw-r--r-- | kde-misc/kio-gdrive-common/kio-gdrive-common-24.08.2.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/kde-misc/kio-gdrive-common/Manifest b/kde-misc/kio-gdrive-common/Manifest index fed5fd843ffd..1f500ca1364c 100644 --- a/kde-misc/kio-gdrive-common/Manifest +++ b/kde-misc/kio-gdrive-common/Manifest @@ -1,5 +1,7 @@ DIST kio-gdrive-24.05.2.tar.xz 80828 BLAKE2B 2e5bd00895028969663ded3fe54ba077c4ec714e9dabda86d6b10ed7ab6407bac7e23438b137ad8a8dda88de00187904555a825e7bb5414d62232ced5d081ae8 SHA512 c6da9037e58e679d03bcf7a2899448ed05e81ae7337ede43f76ba2589800731a80aa0bef21468790308cd36428d43f1cb0ef17221a875f5b25065f5b9e732a2b 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 EBUILD kio-gdrive-common-24.05.2.ebuild 1475 BLAKE2B 7445868c9aa76fe4d7179a6e62e0f1447fa6936b15399a1f894275acf0b80985426088ecaec847414b82a47e2542dd1b766e2f2f06ebb4988ce2b471196905fc SHA512 3129fc9d5fa80364030b5662c541ad4d3484969217570eb2f381c2e05161d744093f577295b0e3a942965cfbd716bd58ed6162484c82075540c7d6c904984ec7 EBUILD kio-gdrive-common-24.08.1.ebuild 1341 BLAKE2B e5a34adc403c44bffe1ea369ef09f8418bfaf3dbc63600f89129d307cf53a6a3275d2e95046ba63ec9e0a257241a9c69559011763877892b8ba56283dde425b5 SHA512 53bbaf598c1668335895e95d493e9f7e7f6cf4b7ee989fc1e5b6a12d6d97c9164a68b2fdb4f7c92840f31c3820501dc904d153ece42346af724bf6a46d0898f3 +EBUILD kio-gdrive-common-24.08.2.ebuild 1341 BLAKE2B e5a34adc403c44bffe1ea369ef09f8418bfaf3dbc63600f89129d307cf53a6a3275d2e95046ba63ec9e0a257241a9c69559011763877892b8ba56283dde425b5 SHA512 53bbaf598c1668335895e95d493e9f7e7f6cf4b7ee989fc1e5b6a12d6d97c9164a68b2fdb4f7c92840f31c3820501dc904d153ece42346af724bf6a46d0898f3 MISC metadata.xml 412 BLAKE2B 598ab8a203f4aec565ab91e91688fe89590c31c95d8c81a5fedbf0f87ad69b9fb8c68732c83d49b01815e611ac69b01060d2f800aa9f5c4b1086dee6c43d0c17 SHA512 7e1f8840fc29325c96079d530e5c7f2db3d132ef46941924a089112737d5226525d9aa46db27d763f6a70ad37923c0c6a3d053abccfda68af053884a4d5df87d diff --git a/kde-misc/kio-gdrive-common/kio-gdrive-common-24.08.2.ebuild b/kde-misc/kio-gdrive-common/kio-gdrive-common-24.08.2.ebuild new file mode 100644 index 000000000000..17061aae7d61 --- /dev/null +++ b/kde-misc/kio-gdrive-common/kio-gdrive-common-24.08.2.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 +} |