From: Andreas Sturmlechner Date: Thu, 23 Apr 2020 10:49:34 +0000 (+0200) Subject: app-text/kjots: Conditionally apply kf5bookmarks-5.69 patch for now X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e7b48347e9cabbbb8233562f3b182cff662dd8c3;p=gentoo.git app-text/kjots: Conditionally apply kf5bookmarks-5.69 patch for now It breaks backwards compatiblity. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner --- diff --git a/app-text/kjots/kjots-5.0.2-r1.ebuild b/app-text/kjots/kjots-5.0.2-r1.ebuild index 841544075ce3..d5159f4edb3b 100644 --- a/app-text/kjots/kjots-5.0.2-r1.ebuild +++ b/app-text/kjots/kjots-5.0.2-r1.ebuild @@ -46,4 +46,10 @@ RDEPEND="${DEPEND} !app-text/kjots:4 " -PATCHES=( "${FILESDIR}/${P}-kf5bookmarks-5.69.patch" ) # KDE-Bug 384000 +src_prepare() { + if has_version ">=kde-frameworks/kbookmarks-5.69"; then + PATCHES+=( "${FILESDIR}/${P}-kf5bookmarks-5.69.patch" ) # KDE-Bug 384000 + fi + + ecm_src_prepare +}