summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/kio-gdrive/Manifest1
-rw-r--r--kde-misc/kio-gdrive/kio-gdrive-21.04.0.ebuild49
-rw-r--r--kde-misc/kio-gdrive/metadata.xml1
3 files changed, 51 insertions, 0 deletions
diff --git a/kde-misc/kio-gdrive/Manifest b/kde-misc/kio-gdrive/Manifest
index d93321b4abbd..7924cc5f7256 100644
--- a/kde-misc/kio-gdrive/Manifest
+++ b/kde-misc/kio-gdrive/Manifest
@@ -1 +1,2 @@
DIST kio-gdrive-20.12.3.tar.xz 64532 BLAKE2B 8814a0b4c4eb47e69621c6a3bdf751a2491f44dd2a548b0e1ebad27f41d71955171264773eda0ebd5e76a0c5d7c138d4710d22fe69f20b35cef28209b782fec4 SHA512 d341e4af25b38859e0ec61dbdb4166982b107cf88eeb7dcc4b90cdeb2303dab6294f9aadbec3388a254352ba5bd3221bbde8f31d4b5d688aa7156f505bdff2a4
+DIST kio-gdrive-21.04.0.tar.xz 68056 BLAKE2B bed45ab98e4f8653ac2631a11073d0395a5e36420f20b567540bad86381ff5db5e7a80601ae0368735113a065217c9895bdd9be52db418997549e415ff49e118 SHA512 d7be8f0c09c677db15d48596b898c0565e349ca2af165d0f82e48472682e5a4cddc2334d5f36d430ea0fa5a1b29f00085036c1d1efac988c80301e72eda7ca04
diff --git a/kde-misc/kio-gdrive/kio-gdrive-21.04.0.ebuild b/kde-misc/kio-gdrive/kio-gdrive-21.04.0.ebuild
new file mode 100644
index 000000000000..3e43ec3a394e
--- /dev/null
+++ b/kde-misc/kio-gdrive/kio-gdrive-21.04.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="optional"
+KDE_GEAR="true"
+KDE_ORG_CATEGORY="network"
+KFMIN=5.80.0
+QTMIN=5.15.2
+inherit ecm kde.org
+
+DESCRIPTION="KIO Slave for Google Drive service"
+HOMEPAGE="https://apps.kde.org/en/kio_gdrive"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="+kaccounts +share"
+
+BDEPEND="dev-util/intltool"
+COMMON_DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-apps/libkgapi-19.08.0:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ kaccounts? ( >=kde-apps/kaccounts-integration-20.08.3:5 )
+ !kaccounts? ( dev-libs/qtkeychain:=[qt5(+)] )
+ share? ( >=kde-frameworks/purpose-${KFMIN}:5 )
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-qt/qtnetwork-${QTMIN}:5
+"
+RDEPEND="${COMMON_DEPEND}
+ kaccounts? ( >=kde-apps/kaccounts-providers-20.08.3:5 )
+"
+
+DOCS=( README.md )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package kaccounts KAccounts)
+ )
+ ecm_src_configure
+}
diff --git a/kde-misc/kio-gdrive/metadata.xml b/kde-misc/kio-gdrive/metadata.xml
index c902b8a994ed..0da80d4f157e 100644
--- a/kde-misc/kio-gdrive/metadata.xml
+++ b/kde-misc/kio-gdrive/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<use>
<flag name="kaccounts">Use <pkg>kde-apps/kaccounts-integration</pkg> backend (default) instead of <pkg>dev-libs/qtkeychain</pkg></flag>
+ <flag name="share">Enable support for a share menu using <pkg>kde-frameworks/purpose</pkg></flag>
</use>
</pkgmetadata>