commit:     583a0fd436d437ce572eba628651f42f7c59c9a6
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 17:19:14 2024 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 18:10:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=583a0fd4

media-gfx/xv: update mimeinfo cache

Closes: https://bugs.gentoo.org/938696
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 media-gfx/xv/xv-6.0.0.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/media-gfx/xv/xv-6.0.0.ebuild b/media-gfx/xv/xv-6.0.0.ebuild
index a1e2d3e14fb9..2983ac332da6 100644
--- a/media-gfx/xv/xv-6.0.0.ebuild
+++ b/media-gfx/xv/xv-6.0.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake desktop flag-o-matic
+inherit cmake desktop flag-o-matic xdg-utils
 
 JUMBOV=20070520
 DESCRIPTION="Interactive image manipulation program supporting a wide variety 
of formats"
@@ -56,3 +56,11 @@ src_install() {
        newicon "${WORKDIR}"/xv-3.10a.png ${PN}.png
        make_desktop_entry xv "" "" "Graphics;Viewer"
 }
+
+pkg_postinst() {
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+}

Reply via email to