mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user