app-emulation/86Box: update desktop and icons on install/remove

Closes: https://bugs.gentoo.org/966072
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki 2025-11-15 22:26:35 +01:00
parent 3f6c3c1025
commit c13bf061b0
No known key found for this signature in database
GPG Key ID: 7A96AB564BF498FB

View File

@ -3,7 +3,7 @@
EAPI=8 EAPI=8
inherit cmake desktop flag-o-matic inherit cmake desktop flag-o-matic xdg-utils
DESCRIPTION="Emulator of x86-based machines based on PCem" DESCRIPTION="Emulator of x86-based machines based on PCem"
HOMEPAGE="https://github.com/86Box/86Box" HOMEPAGE="https://github.com/86Box/86Box"
@ -86,6 +86,14 @@ src_install() {
} }
pkg_postinst() { pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
elog "In order to use 86Box, you will need some roms for various emulated systems." elog "In order to use 86Box, you will need some roms for various emulated systems."
elog "See https://github.com/86Box/roms for more information." elog "See https://github.com/86Box/roms for more information."
} }
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}