summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-19 16:41:11 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-19 16:42:46 +0100
commitcbd9da00c3c4c8e68c18cfbcb930cb46a880a0f6 (patch)
tree9e9b935d81ede5451c04cd92cf5bed9cfa8301d3 /kde-misc
parentdev-python/pysol_cards: 0.8.8 version bump (diff)
downloadgentoo-cbd9da00c3c4c8e68c18cfbcb930cb46a880a0f6.tar.gz
gentoo-cbd9da00c3c4c8e68c18cfbcb930cb46a880a0f6.tar.bz2
gentoo-cbd9da00c3c4c8e68c18cfbcb930cb46a880a0f6.zip
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>
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild11
1 files changed, 7 insertions, 4 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 1a713692b2a..a36f78862b1 100644
--- a/kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild
+++ b/kde-misc/kio-gdrive/kio-gdrive-1.2.7.ebuild
@@ -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=(