mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user