From e7b48347e9cabbbb8233562f3b182cff662dd8c3 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 23 Apr 2020 12:49:34 +0200 Subject: 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 --- app-text/kjots/kjots-5.0.2-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'app-text/kjots') 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 +} -- cgit v1.2.3-65-gdbad