summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-04-23 12:49:34 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-04-24 00:06:56 +0200
commite7b48347e9cabbbb8233562f3b182cff662dd8c3 (patch)
tree0adb44339a9595542ecdd29cfb7ac55717c154c5 /app-text/kjots
parentkde-plasma/discover: Rename USE feedback to telemetry (diff)
downloadgentoo-e7b48347e9cabbbb8233562f3b182cff662dd8c3.tar.gz
gentoo-e7b48347e9cabbbb8233562f3b182cff662dd8c3.tar.bz2
gentoo-e7b48347e9cabbbb8233562f3b182cff662dd8c3.zip
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 <asturm@gentoo.org>
Diffstat (limited to 'app-text/kjots')
-rw-r--r--app-text/kjots/kjots-5.0.2-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
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
+}