kde-misc/kio-gdrive: Conditionalise backwards incompatible patch

Closes: https://bugs.gentoo.org/713360
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2020-03-19 16:41:11 +01:00
parent ce525871f7
commit cbd9da00c3

View File

@@ -42,10 +42,13 @@ RDEPEND="${COMMON_DEPEND}
DOCS=( README.md )
PATCHES=(
"${FILESDIR}"/${PN}-1.2.6-refresh-credentials.patch
"${FILESDIR}"/${P}-kaccounts-integration-20.04.patch
)
PATCHES=( "${FILESDIR}"/${PN}-1.2.6-refresh-credentials.patch )
src_prepare() {
has_version ">=kde-apps/kaccounts-providers-20.03.80" &&
PATCHES+=( "${FILESDIR}"/${P}-kaccounts-integration-20.04.patch )
ecm_src_prepare
}
src_configure() {
local mycmakeargs=(