|
|
| |
insinto ${GAMES_DATADIR}/${PN}/data | insinto ${GAMES_DATADIR}/${PN}/data |
doins data/* || die "failed installing data" | doins data/* || die "failed installing data" |
|
doins sources/darkplaces/nexuiz.ico || die "failed installing icon" |
| |
games_make_wrapper nexuiz-glx ./nexuiz-glx ${GAMES_DATADIR}/${PN} | games_make_wrapper nexuiz-glx ./nexuiz-glx ${GAMES_DATADIR}/${PN} |
use sdl && games_make_wrapper nexuiz-sdl ./nexuiz-sdl ${GAMES_DATADIR}/${PN} | use sdl && games_make_wrapper nexuiz-sdl ./nexuiz-sdl ${GAMES_DATADIR}/${PN} |
use dedicated && games_make_wrapper nexuiz-ded ./nexuiz-dedicated ${GAMES_DATADIR}/${PN} | use dedicated && games_make_wrapper nexuiz-ded ./nexuiz-dedicated ${GAMES_DATADIR}/${PN} |
| |
|
if use sdl; then |
|
make_desktop_entry nexuiz-sdl "Nexuiz" \ |
|
${GAMES_DATADIR}/${PN}/data/nexuiz.ico Game \ |
|
|| die "failed creating desktop entry" |
|
else |
|
make_desktop_entry nexuiz-glx "Nexuiz" \ |
|
${GAMES_DATADIR}/${PN}/data/nexuiz.ico Game \ |
|
|| die "failed creating desktop entry" |
|
fi |
|
|
prepgamesdirs | prepgamesdirs |
} | } |
| |