commit:     db5cf8b7fd78654ddfcd2d7657f950ea1e69e1e1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  9 20:45:38 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 23:31:00 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=db5cf8b7

kde-frameworks/kio: Add missing xdg-utils

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
(cherry picked from commit f3de16b2a9706f0e1bd2e6f6a73a0dc11d23bd4a)

 kde-frameworks/kio/kio-9999.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/kde-frameworks/kio/kio-9999.ebuild 
b/kde-frameworks/kio/kio-9999.ebuild
index 636de954d9..5c2251234a 100644
--- a/kde-frameworks/kio/kio-9999.ebuild
+++ b/kde-frameworks/kio/kio-9999.ebuild
@@ -8,7 +8,7 @@ ECM_TEST="forceoptional"
 PVCUT=$(ver_cut 1-2)
 QTMIN=5.12.3
 VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
+inherit ecm kde.org xdg-utils
 
 DESCRIPTION="Framework providing transparent file and data management"
 LICENSE="LGPL-2+"
@@ -82,3 +82,13 @@ src_configure() {
 
        ecm_src_configure
 }
+
+pkg_postinst() {
+       ecm_pkg_postinst
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       ecm_pkg_postrm
+       xdg_desktop_database_update
+}

Reply via email to