--- /dev/null
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="forceoptional"
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.12.3
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Framework for searching and managing metadata"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="
+ >=dev-db/lmdb-0.9.17
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ =kde-frameworks/kconfig-${PVCUT}*:5
+ =kde-frameworks/kcoreaddons-${PVCUT}*:5
+ =kde-frameworks/kcrash-${PVCUT}*:5
+ =kde-frameworks/kdbusaddons-${PVCUT}*:5
+ =kde-frameworks/kfilemetadata-${PVCUT}*:5
+ =kde-frameworks/ki18n-${PVCUT}*:5
+ =kde-frameworks/kidletime-${PVCUT}*:5
+ =kde-frameworks/kio-${PVCUT}*:5
+ =kde-frameworks/solid-${PVCUT}*:5
+"
+RDEPEND="${DEPEND}"
+
+RESTRICT+=" test" # bug 624250
+
+PATCHES=( "${FILESDIR}/${P}-sync-IndexerConfig-on-exit.patch" )
--- /dev/null
+From a0f8e748159b6bc0b8e5eaa1f9eb58a18ca736fa Mon Sep 17 00:00:00 2001
+From: David Edmundson <kde@davidedmundson.co.uk>
+Date: Thu, 13 Feb 2020 16:52:40 +0000
+Subject: Sync IndexerConfig on exit
+
+Summary:
+KCoreConfigSkeleton, unlike KConfig does not automagically save on exit.
+
+BUG: 417127
+
+Test Plan:
+balooctl disable
+balooctl enable
+
+Subscribers: kde-frameworks-devel, #baloo
+
+Tags: #frameworks, #baloo
+
+Differential Revision: https://phabricator.kde.org/D27376
+---
+ src/lib/indexerconfig.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib/indexerconfig.cpp b/src/lib/indexerconfig.cpp
+index 66786b9..19ae342 100644
+--- a/src/lib/indexerconfig.cpp
++++ b/src/lib/indexerconfig.cpp
+@@ -43,6 +43,7 @@ IndexerConfig::IndexerConfig()
+
+ IndexerConfig::~IndexerConfig()
+ {
++ d->m_settings.save();
+ delete d;
+ }
+
+--
+cgit v1.1