diff options
Diffstat (limited to 'kde-misc')
| -rw-r--r-- | kde-misc/kio-gdrive-common/Manifest | 1 | ||||
| -rw-r--r-- | kde-misc/kio-gdrive-common/kio-gdrive-common-25.07.90.ebuild | 45 |
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..fe3dc1032db --- /dev/null +++ b/kde-misc/kio-gdrive-common/Manifest @@ -0,0 +1 @@ +DIST kio-gdrive-25.07.90.tar.xz 83076 BLAKE2B a78f3ceb5a3665a6fcd546d024619b877660faed7c316e25b292f2ecb2de6143be2325f3e2d064edce156e1338ea746c7d5d9235354ee51393a1235c629e567a SHA512 7feb35b96b9e048902718387c93490908e1ec772319d5a040b8cb8aa1c1f40620bb3772a8bc68baa7f677d44a0da89d8d8be54d26b3556dc07d4727dc44c7bf5 diff --git a/kde-misc/kio-gdrive-common/kio-gdrive-common-25.07.90.ebuild b/kde-misc/kio-gdrive-common/kio-gdrive-common-25.07.90.ebuild new file mode 100644 index 00000000000..91327ac4686 --- /dev/null +++ b/kde-misc/kio-gdrive-common/kio-gdrive-common-25.07.90.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 +} |
