games-strategy/freeciv: Drop obsolete/invalid desktop file creation

I did not question the micromanaging of .../man6/freeciv-sdl2.6 when the
same is not done for other frontend versions, someone else could though.

Bug: https://bugs.gentoo.org/967222
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-12-08 18:20:59 +01:00
parent e60af1e32d
commit 45a817e572
2 changed files with 4 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ EAPI=8
LUA_COMPAT=( lua5-4 )
inherit desktop lua-single meson xdg
inherit lua-single meson xdg
DESCRIPTION="Multiplayer strategy game (Civilization Clone)"
HOMEPAGE="https://www.freeciv.org/ https://github.com/freeciv/freeciv/"
@@ -214,9 +214,7 @@ src_install() {
-o -name 'freeciv-ruleup.6' -o -name 'freeciv-server.6' \) -mindepth 1 -delete || die
else
# sdl client needs some special handling
if use sdl ; then
make_desktop_entry freeciv-sdl "Freeciv (SDL)" freeciv-client
else
if ! use sdl ; then
rm "${ED}"/usr/share/man/man6/freeciv-sdl2.6 || die
fi
fi

View File

@@ -5,7 +5,7 @@ EAPI=8
LUA_COMPAT=( lua5-4 )
inherit desktop lua-single meson xdg
inherit lua-single meson xdg
DESCRIPTION="Multiplayer strategy game (Civilization Clone)"
HOMEPAGE="https://www.freeciv.org/ https://github.com/freeciv/freeciv/"
@@ -235,9 +235,7 @@ src_install() {
-o -name 'freeciv-ruleup.6' -o -name 'freeciv-server.6' \) -mindepth 1 -delete || die
else
# sdl client needs some special handling
if use sdl ; then
make_desktop_entry freeciv-sdl "Freeciv (SDL)" freeciv-client
else
if ! use sdl ; then
rm "${ED}"/usr/share/man/man6/freeciv-sdl2.6 || die
fi
fi