commit:     c13bf061b00e203c102e59986e9a066ece053b78
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 15 21:26:35 2025 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Nov 15 21:26:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c13bf061

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

Closes: https://bugs.gentoo.org/966072
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-emulation/86Box/{86Box-5.2.ebuild => 86Box-5.2-r1.ebuild} | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

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 86e23faa05be..8f1a8de5b4a9 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
+}

Reply via email to