From 55aca3b6cbd1aa6f6ef125e5227bfac8005868c5 Mon Sep 17 00:00:00 2001 From: Alberto Gireud Date: Thu, 4 Apr 2024 10:39:19 -0500 Subject: [PATCH] net-irc/halloy: Handle desktop, icon, and mime info database updates Closes: https://bugs.gentoo.org/928582 Signed-off-by: Alberto Gireud --- net-irc/halloy/halloy-2024.5.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/net-irc/halloy/halloy-2024.5.ebuild b/net-irc/halloy/halloy-2024.5.ebuild index b263d56848..33ace8182a 100644 --- a/net-irc/halloy/halloy-2024.5.ebuild +++ b/net-irc/halloy/halloy-2024.5.ebuild @@ -489,7 +489,7 @@ declare -A GIT_CRATES=( [winit]='https://github.com/iced-rs/winit;b91e39ece2c0d378c3b80da7f3ab50e17bb798a5;winit-%commit%' ) -inherit cargo desktop +inherit cargo desktop xdg DESCRIPTION="IRC application written in Rust" HOMEPAGE="https://halloy.squidowl.org" @@ -572,3 +572,11 @@ src_install() { cargo_src_install } + +pkg_postinst() { + xdg_pkg_postinst +} + +pkg_postrm() { + xdg_pkg_postrm +}