sci-electronics/surfer: inherit xdg to update mimeinfo cache

The desktop file ships a MimeType key, so the package must refresh the desktop
mimeinfo cache on install and removal. Inherit xdg so pkg_postinst and pkg_postrm run
update-desktop-database.

Closes: https://bugs.gentoo.org/977937
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2026-06-23 19:06:00 +08:00
parent d5aeafd0a1
commit 0c686cc5fb

View File

@@ -724,7 +724,7 @@ INSTRUCTION_DECODER_COMMIT="02bdcbfd5663a72e4a0b1b9d54519412d417fab1"
PYTHON_COMPAT=( python3_{12..14} )
inherit cargo desktop python-any-r1
inherit cargo desktop python-any-r1 xdg
DESCRIPTION="Waveform viewer with a focus on a snappy usable interface"
HOMEPAGE="https://surfer-project.org/ https://gitlab.com/surfer-project/surfer"