dev-util/meld: Call xdg postinst functions

Closes: https://bugs.gentoo.org/873004
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2022-10-13 12:26:13 -04:00
parent 4b5c3deeb5
commit d4e7f634db
+11 -1
View File
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
PYTHON_REQ_USE="xml(+)"
inherit gnome.org meson python-single-r1
inherit gnome.org meson python-single-r1 xdg
DESCRIPTION="A graphical diff and merge tool"
HOMEPAGE="http://meldmerge.org/"
@@ -62,3 +62,13 @@ src_install() {
python_optimize
python_fix_shebang "${ED}"/usr/bin/meld
}
pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
}