diff options
Diffstat (limited to 'kde-frameworks')
-rw-r--r-- | kde-frameworks/baloo/baloo-5.26.0-r2.ebuild | 57 |
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 000000000000..97ed94b9810a --- /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 +} |