From 02af97fa58f1a14c1ee64c6356e5ee9cb888fe43 Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Sat, 1 Feb 2025 23:58:59 +0900 Subject: [PATCH] games-strategy/unciv-bin: use xdg eclass This ebuild installs desktop/icon files. Signed-off-by: Takuya Wakazono --- 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 6efb8c437f..b5b5e30387 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 +}