summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-09-28 22:07:02 +0200
committerMichael Palimaka <kensington@gentoo.org>2016-09-29 21:39:06 +1000
commit6ddae545b3badb7863646736364923f6e8afacc4 (patch)
tree820a6d51b791cbfa5ab5b46394314cc44258f3b7 /kde-frameworks/baloo
parentnet-dns/bind-tools-9.10.4_p3-r0: stable on alpha (diff)
downloadgentoo-6ddae545b3badb7863646736364923f6e8afacc4.tar.gz
gentoo-6ddae545b3badb7863646736364923f6e8afacc4.tar.bz2
gentoo-6ddae545b3badb7863646736364923f6e8afacc4.zip
kde-frameworks/baloo: Fix autostart condition
Package-Manager: portage-2.3.0
Diffstat (limited to 'kde-frameworks/baloo')
-rw-r--r--kde-frameworks/baloo/baloo-5.26.0-r2.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/kde-frameworks/baloo/baloo-5.26.0-r2.ebuild b/kde-frameworks/baloo/baloo-5.26.0-r2.ebuild
new file mode 100644
index 00000000000..97ed94b9810
--- /dev/null
+++ b/kde-frameworks/baloo/baloo-5.26.0-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Framework for searching and managing metadata"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND="
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep kfilemetadata)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kidletime)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep solid)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtdeclarative)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ >=dev-db/lmdb-0.9.17
+"
+RDEPEND="${DEPEND}
+ !kde-base/baloo:4[-minimal(-)]
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-runtime-crash.patch"
+ "${FILESDIR}/${P}-size-limit.patch"
+ "${FILESDIR}/${P}-zerotimestamp-crash.patch"
+ "${FILESDIR}/${P}-thread-safety.patch"
+ "${FILESDIR}/${P}-dont-corrupt.patch"
+)
+
+src_prepare() {
+ kde5_src_prepare
+ # upstream commit e73849e052c1a2ca174efe18d4a4958c6576fc33
+ sed -e "/^X-KDE-autostart-condition/ s/Enabled/Indexing-Enabled/" \
+ -i src/file/baloo_file.desktop || die
+}
+
+pkg_postinst() {
+ kde5_pkg_postinst
+ if use x86; then
+ ewarn "The baloo index size limit for 32-bit is 1GB. For large homes, exclude"
+ ewarn "subdirectories in System Settings / Search to avoid random segfaults."
+ ewarn "For more information, visit: https://bugs.kde.org/show_bug.cgi?id=364475"
+ fi
+}