summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-12-25 02:24:01 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-12-25 02:27:26 +0100
commit0c8a29f29a3cc94699294397fec7be4e446b38ca (patch)
tree4ec92402499429d72cdd4cdacee77e3b07bdc70b /kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild
parentkde-misc/krename: Port to ecm.eclass and kde.org.eclass (diff)
downloadgentoo-0c8a29f29a3cc94699294397fec7be4e446b38ca.tar.gz
gentoo-0c8a29f29a3cc94699294397fec7be4e446b38ca.tar.bz2
gentoo-0c8a29f29a3cc94699294397fec7be4e446b38ca.zip
kde-misc/kio-gdrive: Port to ecm.eclass and kde.org.eclass
Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild')
-rw-r--r--kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild35
1 files changed, 19 insertions, 16 deletions
diff --git a/kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild b/kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild
index 0f5910c0bb3..52c588af79a 100644
--- a/kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild
+++ b/kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild
@@ -3,10 +3,11 @@
EAPI=7
-KDE_APPS_MINIMAL=19.08.0
-KDE_HANDBOOK="forceoptional"
-KDE_TEST="optional"
-inherit kde5
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="optional"
+KFMIN=5.60.0
+QTMIN=5.12.3
+inherit ecm kde.org
DESCRIPTION="KIO Slave for Google Drive service"
HOMEPAGE="https://phabricator.kde.org/project/profile/72/"
@@ -16,25 +17,27 @@ if [[ ${KDE_BUILD_TYPE} != live ]] ; then
KEYWORDS="amd64 x86"
fi
+LICENSE="GPL-2+"
+SLOT="5"
IUSE="+kaccounts"
BDEPEND="dev-util/intltool"
COMMON_DEPEND="
- $(add_frameworks_dep kcoreaddons)
- $(add_frameworks_dep ki18n)
- $(add_frameworks_dep kio)
- $(add_frameworks_dep knotifications)
- $(add_kdeapps_dep libkgapi)
- $(add_qt_dep qtwidgets)
- kaccounts? ( $(add_kdeapps_dep kaccounts-integration) )
+ >=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:5 )
!kaccounts? ( dev-libs/qtkeychain:=[qt5(+)] )
"
DEPEND="${COMMON_DEPEND}
- $(add_qt_dep qtgui)
- $(add_qt_dep qtnetwork)
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
"
RDEPEND="${COMMON_DEPEND}
- kaccounts? ( $(add_kdeapps_dep kaccounts-providers) )
+ kaccounts? ( >=kde-apps/kaccounts-providers-19.08.0:5 )
"
DOCS=( README.md )
@@ -43,7 +46,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.2.6-refresh-credentials.patch )
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_find_package kaccounts KAccounts)
+ $(cmake_use_find_package kaccounts KAccounts)
)
- kde5_src_configure
+ ecm_src_configure
}