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/"
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 )
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_find_package kaccounts KAccounts)
+ $(cmake_use_find_package kaccounts KAccounts)
)
- kde5_src_configure
+ ecm_src_configure
}