diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-19 16:41:11 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-19 16:42:46 +0100 |
commit | cbd9da00c3c4c8e68c18cfbcb930cb46a880a0f6 (patch) | |
tree | 9e9b935d81ede5451c04cd92cf5bed9cfa8301d3 /kde-misc | |
parent | dev-python/pysol_cards: 0.8.8 version bump (diff) | |
download | gentoo-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.ebuild | 11 |
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 1a713692b2a9..a36f78862b12 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=( |