mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 23:48:17 -07:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user