commit:     719e990944ef137b6353c8ce2f0ffb3cb81b220f
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 13 03:35:52 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Aug 13 15:45:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=719e9909

media-gfx/lximage-qt: add missing xdg_desktop_database_update

Reported-by: Agostino Sarubbo <ago <AT> gentoo.org>
Closes: https://bugs.gentoo.org/735586
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/17108
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/lximage-qt/lximage-qt-0.15.0.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/media-gfx/lximage-qt/lximage-qt-0.15.0.ebuild 
b/media-gfx/lximage-qt/lximage-qt-0.15.0.ebuild
index 27e66724b27..d798b41b727 100644
--- a/media-gfx/lximage-qt/lximage-qt-0.15.0.ebuild
+++ b/media-gfx/lximage-qt/lximage-qt-0.15.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake
+inherit cmake xdg-utils
 
 DESCRIPTION="Qt Image Viewer"
 HOMEPAGE="https://lxqt.github.io/";
@@ -42,3 +42,11 @@ DEPEND="
 RDEPEND="${DEPEND}
        !lxqt-base/lxqt-l10n
 "
+
+pkg_postinst() {
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+}

Reply via email to