Closes: https://bugs.gentoo.org/713360
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
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=(