commit: 02af97fa58f1a14c1ee64c6356e5ee9cb888fe43
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Feb 1 14:58:59 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Feb 1 15:00:36 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=02af97fa
games-strategy/unciv-bin: use xdg eclass
This ebuild installs desktop/icon files.
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
games-strategy/unciv-bin/unciv-bin-4.15.6_p1.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/games-strategy/unciv-bin/unciv-bin-4.15.6_p1.ebuild
b/games-strategy/unciv-bin/unciv-bin-4.15.6_p1.ebuild
index 6efb8c437..b5b5e3038 100644
--- a/games-strategy/unciv-bin/unciv-bin-4.15.6_p1.ebuild
+++ b/games-strategy/unciv-bin/unciv-bin-4.15.6_p1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit desktop java-pkg-2
+inherit desktop java-pkg-2 xdg
MY_PV=${PV/_p/-patch}
DESCRIPTION="Turn-based historical strategy game, a remake of Civ V"
@@ -32,3 +32,8 @@ src_install() {
# this desktop file is better than upstream's
make_desktop_entry "${PN}" Unciv-bin unciv "Game;StrategyGame"
"Terminal=false"
}
+
+pkg_preinst() {
+ java-pkg-2_pkg_preinst
+ xdg_pkg_preinst
+}