Lines 56-66
Link Here
|
56 |
|
56 |
|
57 |
insinto ${GAMES_DATADIR}/${PN}/data |
57 |
insinto ${GAMES_DATADIR}/${PN}/data |
58 |
doins data/* || die "failed installing data" |
58 |
doins data/* || die "failed installing data" |
|
|
59 |
doins sources/darkplaces/nexuiz.ico || die "failed installing icon" |
59 |
|
60 |
|
60 |
games_make_wrapper nexuiz-glx ./nexuiz-glx ${GAMES_DATADIR}/${PN} |
61 |
games_make_wrapper nexuiz-glx ./nexuiz-glx ${GAMES_DATADIR}/${PN} |
61 |
use sdl && games_make_wrapper nexuiz-sdl ./nexuiz-sdl ${GAMES_DATADIR}/${PN} |
62 |
use sdl && games_make_wrapper nexuiz-sdl ./nexuiz-sdl ${GAMES_DATADIR}/${PN} |
62 |
use dedicated && games_make_wrapper nexuiz-ded ./nexuiz-dedicated ${GAMES_DATADIR}/${PN} |
63 |
use dedicated && games_make_wrapper nexuiz-ded ./nexuiz-dedicated ${GAMES_DATADIR}/${PN} |
63 |
|
64 |
|
|
|
65 |
if use sdl; then |
66 |
make_desktop_entry nexuiz-sdl "Nexuiz" \ |
67 |
${GAMES_DATADIR}/${PN}/data/nexuiz.ico Game \ |
68 |
|| die "failed creating desktop entry" |
69 |
else |
70 |
make_desktop_entry nexuiz-glx "Nexuiz" \ |
71 |
${GAMES_DATADIR}/${PN}/data/nexuiz.ico Game \ |
72 |
|| die "failed creating desktop entry" |
73 |
fi |
74 |
|
64 |
prepgamesdirs |
75 |
prepgamesdirs |
65 |
} |
76 |
} |
66 |
|
77 |
|