diff options
author | Tristan Heaven <tristan@gentoo.org> | 2009-09-30 20:27:48 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2009-09-30 20:27:48 +0000 |
commit | 27f144aea0a559213444306f1787b65e90e495e9 (patch) | |
tree | 801a9ded1212a65952ed87c52e304796f44a5f49 /eclass | |
parent | amd64 stable wrt #282290 (diff) | |
download | historical-27f144aea0a559213444306f1787b65e90e495e9.tar.gz historical-27f144aea0a559213444306f1787b65e90e495e9.tar.bz2 historical-27f144aea0a559213444306f1787b65e90e495e9.zip |
don't specify icon filename extensions in desktop entries
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/games-mods.eclass | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/eclass/games-mods.eclass b/eclass/games-mods.eclass index e4375415802b..7e5bb0b8c0cf 100644 --- a/eclass/games-mods.eclass +++ b/eclass/games-mods.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.19 2009/09/30 19:47:00 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.20 2009/09/30 20:27:48 nyhm Exp $ # Variables to specify in an ebuild which uses this eclass: # GAME - (doom3, quake4 or ut2004, etc), unless ${PN} starts with e.g. "doom3-" @@ -21,7 +21,7 @@ EXPORT_FUNCTIONS pkg_setup src_unpack src_install pkg_postinst case "${GAME}" in "doom3") GAME_TITLE="Doom III" - DEFAULT_MOD_ICON="doom3.png" + DEFAULT_MOD_ICON="doom3" SELECT_MOD="+set fs_game " GAME_EXE="doom3" DED_EXE="doom3-ded" @@ -29,7 +29,7 @@ case "${GAME}" in ;; "enemy-territory") GAME_TITLE="Enemy Territory" - DEFAULT_MOD_ICON="ET.xpm" + DEFAULT_MOD_ICON="ET" SELECT_MOD="+set fs_game " GAME_EXE="et" DED_EXE="et-ded" @@ -37,7 +37,7 @@ case "${GAME}" in ;; "quake3") GAME_TITLE="Quake III" - DEFAULT_MOD_ICON="quake3.xpm" + DEFAULT_MOD_ICON="quake3" SELECT_MOD="+set fs_game " GAME_EXE="quake3" DED_EXE="quake3-ded" @@ -45,7 +45,7 @@ case "${GAME}" in ;; "quake4") GAME_TITLE="Quake IV" - DEFAULT_MOD_ICON="quake4.bmp" + DEFAULT_MOD_ICON="/usr/share/pixmaps/quake4.bmp" SELECT_MOD="+set fs_game " GAME_EXE="quake4" DED_EXE="quake4-ded" @@ -53,7 +53,7 @@ case "${GAME}" in ;; "ut2003") GAME_TITLE="UT2003" - DEFAULT_MOD_ICON="ut2003.xpm" + DEFAULT_MOD_ICON="ut2003" SELECT_MOD="-mod=" GAME_EXE="ut2003" DED_EXE="ucc" @@ -61,7 +61,7 @@ case "${GAME}" in ;; "ut2004") GAME_TITLE="UT2004" - DEFAULT_MOD_ICON="ut2004.xpm" + DEFAULT_MOD_ICON="ut2004" SELECT_MOD="-mod=" GAME_EXE="ut2004" DED_EXE="ucc" @@ -195,7 +195,7 @@ games-mods_src_install() { MOD_ICON=/usr/share/pixmaps/${PN}.${MOD_ICON_EXT} ;; *) - MOD_ICON=${PN}.${MOD_ICON_EXT} + MOD_ICON=${PN} ;; esac else |