1 |
nyhm 09/09/30 20:27:50 |
2 |
|
3 |
Modified: games-mods.eclass |
4 |
Log: |
5 |
don't specify icon filename extensions in desktop entries |
6 |
|
7 |
Revision Changes Path |
8 |
1.20 eclass/games-mods.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-mods.eclass?rev=1.20&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-mods.eclass?rev=1.20&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/games-mods.eclass?r1=1.19&r2=1.20 |
13 |
|
14 |
Index: games-mods.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v |
17 |
retrieving revision 1.19 |
18 |
retrieving revision 1.20 |
19 |
diff -u -r1.19 -r1.20 |
20 |
--- games-mods.eclass 30 Sep 2009 19:47:00 -0000 1.19 |
21 |
+++ games-mods.eclass 30 Sep 2009 20:27:48 -0000 1.20 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2006 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.19 2009/09/30 19:47:00 nyhm Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/games-mods.eclass,v 1.20 2009/09/30 20:27:48 nyhm Exp $ |
27 |
|
28 |
# Variables to specify in an ebuild which uses this eclass: |
29 |
# GAME - (doom3, quake4 or ut2004, etc), unless ${PN} starts with e.g. "doom3-" |
30 |
@@ -21,7 +21,7 @@ |
31 |
case "${GAME}" in |
32 |
"doom3") |
33 |
GAME_TITLE="Doom III" |
34 |
- DEFAULT_MOD_ICON="doom3.png" |
35 |
+ DEFAULT_MOD_ICON="doom3" |
36 |
SELECT_MOD="+set fs_game " |
37 |
GAME_EXE="doom3" |
38 |
DED_EXE="doom3-ded" |
39 |
@@ -29,7 +29,7 @@ |
40 |
;; |
41 |
"enemy-territory") |
42 |
GAME_TITLE="Enemy Territory" |
43 |
- DEFAULT_MOD_ICON="ET.xpm" |
44 |
+ DEFAULT_MOD_ICON="ET" |
45 |
SELECT_MOD="+set fs_game " |
46 |
GAME_EXE="et" |
47 |
DED_EXE="et-ded" |
48 |
@@ -37,7 +37,7 @@ |
49 |
;; |
50 |
"quake3") |
51 |
GAME_TITLE="Quake III" |
52 |
- DEFAULT_MOD_ICON="quake3.xpm" |
53 |
+ DEFAULT_MOD_ICON="quake3" |
54 |
SELECT_MOD="+set fs_game " |
55 |
GAME_EXE="quake3" |
56 |
DED_EXE="quake3-ded" |
57 |
@@ -45,7 +45,7 @@ |
58 |
;; |
59 |
"quake4") |
60 |
GAME_TITLE="Quake IV" |
61 |
- DEFAULT_MOD_ICON="quake4.bmp" |
62 |
+ DEFAULT_MOD_ICON="/usr/share/pixmaps/quake4.bmp" |
63 |
SELECT_MOD="+set fs_game " |
64 |
GAME_EXE="quake4" |
65 |
DED_EXE="quake4-ded" |
66 |
@@ -53,7 +53,7 @@ |
67 |
;; |
68 |
"ut2003") |
69 |
GAME_TITLE="UT2003" |
70 |
- DEFAULT_MOD_ICON="ut2003.xpm" |
71 |
+ DEFAULT_MOD_ICON="ut2003" |
72 |
SELECT_MOD="-mod=" |
73 |
GAME_EXE="ut2003" |
74 |
DED_EXE="ucc" |
75 |
@@ -61,7 +61,7 @@ |
76 |
;; |
77 |
"ut2004") |
78 |
GAME_TITLE="UT2004" |
79 |
- DEFAULT_MOD_ICON="ut2004.xpm" |
80 |
+ DEFAULT_MOD_ICON="ut2004" |
81 |
SELECT_MOD="-mod=" |
82 |
GAME_EXE="ut2004" |
83 |
DED_EXE="ucc" |
84 |
@@ -195,7 +195,7 @@ |
85 |
MOD_ICON=/usr/share/pixmaps/${PN}.${MOD_ICON_EXT} |
86 |
;; |
87 |
*) |
88 |
- MOD_ICON=${PN}.${MOD_ICON_EXT} |
89 |
+ MOD_ICON=${PN} |
90 |
;; |
91 |
esac |
92 |
else |