commit: 6d2bf75fc6d74e466b1610a2bf47457b12330964
Author: Vincent Ahluwalia <vincentahluwalia <AT> protonmail <DOT> com>
AuthorDate: Thu Jan 30 12:14:29 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Jan 30 12:15:45 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6d2bf75f
games-util/curseforge: Fix bugs 949065, 949066 and 949067
Signed-off-by: Vincent Ahluwalia <vincentahluwalia <AT> protonmail.com>
games-util/curseforge/curseforge-1.269.2.22204.ebuild | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/games-util/curseforge/curseforge-1.269.2.22204.ebuild
b/games-util/curseforge/curseforge-1.269.2.22204.ebuild
index 22cd1d8be..50e6153b9 100644
--- a/games-util/curseforge/curseforge-1.269.2.22204.ebuild
+++ b/games-util/curseforge/curseforge-1.269.2.22204.ebuild
@@ -9,7 +9,7 @@ CHROMIUM_LANGS="
sw ta te th tr uk ur vi zh-CN zh-TW
"
-inherit chromium-2 desktop unpacker linux-info
+inherit chromium-2 desktop unpacker linux-info xdg-utils
DESCRIPTION="The CurseForge Electron App"
HOMEPAGE="https://www.curseforge.com/"
@@ -21,7 +21,7 @@ SLOT="0"
KEYWORDS="~amd64"
RESTRICT="bindist mirror strip test"
-DEPEND="
+RDEPEND="
app-accessibility/at-spi2-core
dev-libs/expat
dev-libs/glib
@@ -48,6 +48,7 @@ DEPEND="
x11-libs/pango
x11-misc/xdg-utils
"
+DEPEND="${RDEPEND}"
DESTDIR="/opt/${PN}"
@@ -89,4 +90,11 @@ pkg_postinst() {
elog "This package will keep itself up-to-date."
elog "No need to download any ebuilds in the future."
elog "CurseForge is not open-source."
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
}