1 |
commit: 6ddae545b3badb7863646736364923f6e8afacc4 |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Sep 28 20:07:02 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 29 11:39:06 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ddae545 |
7 |
|
8 |
kde-frameworks/baloo: Fix autostart condition |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
kde-frameworks/baloo/baloo-5.26.0-r2.ebuild | 57 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 57 insertions(+) |
14 |
|
15 |
diff --git a/kde-frameworks/baloo/baloo-5.26.0-r2.ebuild b/kde-frameworks/baloo/baloo-5.26.0-r2.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000..97ed94b |
18 |
--- /dev/null |
19 |
+++ b/kde-frameworks/baloo/baloo-5.26.0-r2.ebuild |
20 |
@@ -0,0 +1,57 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+KDE_TEST="forceoptional" |
28 |
+VIRTUALX_REQUIRED="test" |
29 |
+inherit kde5 |
30 |
+ |
31 |
+DESCRIPTION="Framework for searching and managing metadata" |
32 |
+KEYWORDS="~amd64 ~arm ~x86" |
33 |
+IUSE="" |
34 |
+ |
35 |
+DEPEND=" |
36 |
+ $(add_frameworks_dep kconfig) |
37 |
+ $(add_frameworks_dep kcoreaddons) |
38 |
+ $(add_frameworks_dep kcrash) |
39 |
+ $(add_frameworks_dep kdbusaddons) |
40 |
+ $(add_frameworks_dep kfilemetadata) |
41 |
+ $(add_frameworks_dep ki18n) |
42 |
+ $(add_frameworks_dep kidletime) |
43 |
+ $(add_frameworks_dep kio) |
44 |
+ $(add_frameworks_dep solid) |
45 |
+ $(add_qt_dep qtdbus) |
46 |
+ $(add_qt_dep qtdeclarative) |
47 |
+ $(add_qt_dep qtgui) |
48 |
+ $(add_qt_dep qtwidgets) |
49 |
+ >=dev-db/lmdb-0.9.17 |
50 |
+" |
51 |
+RDEPEND="${DEPEND} |
52 |
+ !kde-base/baloo:4[-minimal(-)] |
53 |
+" |
54 |
+ |
55 |
+PATCHES=( |
56 |
+ "${FILESDIR}/${P}-runtime-crash.patch" |
57 |
+ "${FILESDIR}/${P}-size-limit.patch" |
58 |
+ "${FILESDIR}/${P}-zerotimestamp-crash.patch" |
59 |
+ "${FILESDIR}/${P}-thread-safety.patch" |
60 |
+ "${FILESDIR}/${P}-dont-corrupt.patch" |
61 |
+) |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ kde5_src_prepare |
65 |
+ # upstream commit e73849e052c1a2ca174efe18d4a4958c6576fc33 |
66 |
+ sed -e "/^X-KDE-autostart-condition/ s/Enabled/Indexing-Enabled/" \ |
67 |
+ -i src/file/baloo_file.desktop || die |
68 |
+} |
69 |
+ |
70 |
+pkg_postinst() { |
71 |
+ kde5_pkg_postinst |
72 |
+ if use x86; then |
73 |
+ ewarn "The baloo index size limit for 32-bit is 1GB. For large homes, exclude" |
74 |
+ ewarn "subdirectories in System Settings / Search to avoid random segfaults." |
75 |
+ ewarn "For more information, visit: https://bugs.kde.org/show_bug.cgi?id=364475" |
76 |
+ fi |
77 |
+} |