From c13bf061b00e203c102e59986e9a066ece053b78 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Sat, 15 Nov 2025 22:26:35 +0100 Subject: [PATCH] app-emulation/86Box: update desktop and icons on install/remove Closes: https://bugs.gentoo.org/966072 Signed-off-by: Conrad Kostecki --- .../86Box/{86Box-5.2.ebuild => 86Box-5.2-r1.ebuild} | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) rename app-emulation/86Box/{86Box-5.2.ebuild => 86Box-5.2-r1.ebuild} (92%) diff --git a/app-emulation/86Box/86Box-5.2.ebuild b/app-emulation/86Box/86Box-5.2-r1.ebuild similarity index 92% rename from app-emulation/86Box/86Box-5.2.ebuild rename to app-emulation/86Box/86Box-5.2-r1.ebuild index 86e23faa05be4..8f1a8de5b4a97 100644 --- a/app-emulation/86Box/86Box-5.2.ebuild +++ b/app-emulation/86Box/86Box-5.2-r1.ebuild @@ -3,7 +3,7 @@ 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" HOMEPAGE="https://github.com/86Box/86Box" @@ -86,6 +86,14 @@ src_install() { } 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 "See https://github.com/86Box/roms for more information." } + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}