summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/advancemame/ChangeLog50
-rw-r--r--games-emulation/advancemame/Manifest12
-rw-r--r--games-emulation/advancemame/advancemame-0.61.1.ebuild95
-rw-r--r--games-emulation/advancemame/advancemame-0.62.0.ebuild115
-rw-r--r--games-emulation/advancemame/advancemame-0.62.2.ebuild115
-rw-r--r--games-emulation/advancemame/advancemame-0.63.0.ebuild111
-rw-r--r--games-emulation/advancemame/advancemame-0.70.0.ebuild113
-rw-r--r--games-emulation/advancemame/files/advancemame-0.62.0-sdl-configure.patch24
-rw-r--r--games-emulation/advancemame/files/digest-advancemame-0.61.12
-rw-r--r--games-emulation/advancemame/files/digest-advancemame-0.62.03
-rw-r--r--games-emulation/advancemame/files/digest-advancemame-0.62.23
-rw-r--r--games-emulation/advancemame/files/digest-advancemame-0.63.03
-rw-r--r--games-emulation/advancemame/files/digest-advancemame-0.70.03
-rw-r--r--games-emulation/atari800/ChangeLog45
-rw-r--r--games-emulation/atari800/Manifest17
-rw-r--r--games-emulation/atari800/atari800-1.2.2.ebuild98
-rw-r--r--games-emulation/atari800/atari800-1.2.5.ebuild97
-rw-r--r--games-emulation/atari800/atari800-1.3.0-r1.ebuild91
-rw-r--r--games-emulation/atari800/atari800-1.3.0.ebuild86
-rw-r--r--games-emulation/atari800/files/1.2.2/atari800.1661
-rw-r--r--games-emulation/atari800/files/1.2.2/atari800.cfg24
-rw-r--r--games-emulation/atari800/files/1.2.5/atari800.1661
-rw-r--r--games-emulation/atari800/files/1.2.5/atari800.cfg24
-rw-r--r--games-emulation/atari800/files/1.3.0/atari800.cfg24
-rw-r--r--games-emulation/atari800/files/atari800-1.2.2-gentoo.diff12
-rw-r--r--games-emulation/atari800/files/atari800-1.2.5-gentoo.diff46
-rw-r--r--games-emulation/atari800/files/atari800-1.3.0-security.patch73
-rw-r--r--games-emulation/atari800/files/digest-atari800-1.2.22
-rw-r--r--games-emulation/atari800/files/digest-atari800-1.2.52
-rw-r--r--games-emulation/atari800/files/digest-atari800-1.3.02
-rw-r--r--games-emulation/atari800/files/digest-atari800-1.3.0-r12
-rw-r--r--games-emulation/blight-glN64/ChangeLog16
-rw-r--r--games-emulation/blight-glN64/Manifest5
-rw-r--r--games-emulation/blight-glN64/blight-glN64-0.3.1.ebuild28
-rw-r--r--games-emulation/blight-glN64/blight-glN64-0.4.1_pre1.ebuild28
-rw-r--r--games-emulation/blight-glN64/files/digest-blight-glN64-0.3.11
-rw-r--r--games-emulation/blight-glN64/files/digest-blight-glN64-0.4.1_pre11
-rw-r--r--games-emulation/blight-tr64gl/ChangeLog14
-rw-r--r--games-emulation/blight-tr64gl/Manifest3
-rw-r--r--games-emulation/blight-tr64gl/blight-tr64gl-0.7.4_pre1.ebuild28
-rw-r--r--games-emulation/blight-tr64gl/files/digest-blight-tr64gl-0.7.4_pre11
-rw-r--r--games-emulation/blight-uhleaudio/ChangeLog14
-rw-r--r--games-emulation/blight-uhleaudio/Manifest3
-rw-r--r--games-emulation/blight-uhleaudio/blight-uhleaudio-0.1a.ebuild27
-rw-r--r--games-emulation/blight-uhleaudio/files/digest-blight-uhleaudio-0.1a1
-rw-r--r--games-emulation/blight_input/ChangeLog35
-rw-r--r--games-emulation/blight_input/Manifest7
-rw-r--r--games-emulation/blight_input/blight_input-0.0.4.ebuild30
-rw-r--r--games-emulation/blight_input/blight_input-0.0.7.ebuild31
-rw-r--r--games-emulation/blight_input/blight_input-0.0.8.ebuild32
-rw-r--r--games-emulation/blight_input/files/digest-blight_input-0.0.41
-rw-r--r--games-emulation/blight_input/files/digest-blight_input-0.0.71
-rw-r--r--games-emulation/blight_input/files/digest-blight_input-0.0.81
-rw-r--r--games-emulation/daphne/ChangeLog8
-rw-r--r--games-emulation/daphne/Manifest3
-rw-r--r--games-emulation/daphne/daphne-0.99.6.ebuild60
-rw-r--r--games-emulation/daphne/files/digest-daphne-0.99.61
-rw-r--r--games-emulation/darcnes/ChangeLog25
-rw-r--r--games-emulation/darcnes/Manifest3
-rw-r--r--games-emulation/darcnes/darcnes-0401-r1.ebuild51
-rw-r--r--games-emulation/darcnes/files/digest-darcnes-0401-r11
-rw-r--r--games-emulation/dgen-sdl/ChangeLog13
-rw-r--r--games-emulation/dgen-sdl/Manifest3
-rw-r--r--games-emulation/dgen-sdl/dgen-sdl-1.23.ebuild29
-rw-r--r--games-emulation/dgen-sdl/files/digest-dgen-sdl-1.231
-rw-r--r--games-emulation/dosbox-cvs/ChangeLog10
-rw-r--r--games-emulation/dosbox-cvs/Manifest3
-rw-r--r--games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild45
-rw-r--r--games-emulation/dosbox-cvs/files/digest-dosbox-cvs-200308090
-rw-r--r--games-emulation/dosbox/ChangeLog16
-rw-r--r--games-emulation/dosbox/Manifest5
-rw-r--r--games-emulation/dosbox/dosbox-0.57.ebuild26
-rw-r--r--games-emulation/dosbox/dosbox-0.58.ebuild22
-rw-r--r--games-emulation/dosbox/files/digest-dosbox-0.571
-rw-r--r--games-emulation/dosbox/files/digest-dosbox-0.581
-rw-r--r--games-emulation/epsxe/ChangeLog60
-rw-r--r--games-emulation/epsxe/Manifest6
-rw-r--r--games-emulation/epsxe/epsxe-1.5.2-r1.ebuild44
-rw-r--r--games-emulation/epsxe/epsxe-1.6.0-r3.ebuild44
-rw-r--r--games-emulation/epsxe/files/digest-epsxe-1.5.2-r11
-rw-r--r--games-emulation/epsxe/files/digest-epsxe-1.6.0-r31
-rw-r--r--games-emulation/epsxe/files/epsxe77
-rw-r--r--games-emulation/fakenes/ChangeLog8
-rw-r--r--games-emulation/fakenes/Manifest4
-rw-r--r--games-emulation/fakenes/fakenes-0.1.5.ebuild36
-rw-r--r--games-emulation/fakenes/files/0.1.5-datadir.patch15
-rw-r--r--games-emulation/fakenes/files/digest-fakenes-0.1.51
-rw-r--r--games-emulation/fceultra/ChangeLog60
-rw-r--r--games-emulation/fceultra/Manifest7
-rw-r--r--games-emulation/fceultra/fceultra-093.ebuild55
-rw-r--r--games-emulation/fceultra/fceultra-096.ebuild57
-rw-r--r--games-emulation/fceultra/files/096-joystick.patch99
-rw-r--r--games-emulation/fceultra/files/096-stereo.patch87
-rw-r--r--games-emulation/fceultra/files/digest-fceultra-0931
-rw-r--r--games-emulation/fceultra/files/digest-fceultra-0961
-rw-r--r--games-emulation/game-launcher/ChangeLog19
-rw-r--r--games-emulation/game-launcher/Manifest5
-rw-r--r--games-emulation/game-launcher/files/0.9.8-digi-oss.patch7
-rw-r--r--games-emulation/game-launcher/files/0.9.8-gcc3.patch11
-rw-r--r--games-emulation/game-launcher/files/digest-game-launcher-0.9.81
-rw-r--r--games-emulation/game-launcher/game-launcher-0.9.8.ebuild51
-rw-r--r--games-emulation/generator/ChangeLog8
-rw-r--r--games-emulation/generator/Manifest3
-rw-r--r--games-emulation/generator/files/digest-generator-0.351
-rw-r--r--games-emulation/generator/generator-0.35.ebuild51
-rw-r--r--games-emulation/gens/ChangeLog9
-rw-r--r--games-emulation/gens/Manifest3
-rw-r--r--games-emulation/gens/files/digest-gens-2.121
-rw-r--r--games-emulation/gens/gens-2.12.ebuild45
-rw-r--r--games-emulation/gngb/ChangeLog37
-rw-r--r--games-emulation/gngb/Manifest5
-rw-r--r--games-emulation/gngb/files/digest-gngb-200208191
-rw-r--r--games-emulation/gngb/files/digest-gngb-200308091
-rw-r--r--games-emulation/gngb/gngb-20020819.ebuild27
-rw-r--r--games-emulation/gngb/gngb-20030809.ebuild26
-rw-r--r--games-emulation/gngeo/ChangeLog9
-rw-r--r--games-emulation/gngeo/Manifest3
-rw-r--r--games-emulation/gngeo/files/digest-gngeo-0.5.9a1
-rw-r--r--games-emulation/gngeo/gngeo-0.5.9a.ebuild27
-rw-r--r--games-emulation/gnomame/ChangeLog8
-rw-r--r--games-emulation/gnomame/Manifest3
-rw-r--r--games-emulation/gnomame/files/digest-gnomame-1.00_beta61
-rw-r--r--games-emulation/gnomame/gnomame-1.00_beta6.ebuild25
-rw-r--r--games-emulation/gnomeboyadvance/ChangeLog14
-rw-r--r--games-emulation/gnomeboyadvance/Manifest3
-rw-r--r--games-emulation/gnomeboyadvance/files/digest-gnomeboyadvance-0.11
-rw-r--r--games-emulation/gnomeboyadvance/gnomeboyadvance-0.1.ebuild40
-rw-r--r--games-emulation/gnuboy/ChangeLog7
-rw-r--r--games-emulation/gnuboy/Manifest3
-rw-r--r--games-emulation/gnuboy/files/digest-gnuboy-1.0.31
-rw-r--r--games-emulation/gnuboy/gnuboy-1.0.3.ebuild23
-rw-r--r--games-emulation/goosnes/ChangeLog8
-rw-r--r--games-emulation/goosnes/Manifest3
-rw-r--r--games-emulation/goosnes/files/digest-goosnes-0.5.21
-rw-r--r--games-emulation/goosnes/goosnes-0.5.2.ebuild31
-rw-r--r--games-emulation/grustibus/ChangeLog45
-rw-r--r--games-emulation/grustibus/Manifest3
-rw-r--r--games-emulation/grustibus/files/digest-grustibus-0.43-r41
-rw-r--r--games-emulation/grustibus/grustibus-0.43-r4.ebuild28
-rw-r--r--games-emulation/gtuxnes/ChangeLog9
-rw-r--r--games-emulation/gtuxnes/Manifest3
-rw-r--r--games-emulation/gtuxnes/files/digest-gtuxnes-0.751
-rw-r--r--games-emulation/gtuxnes/gtuxnes-0.75.ebuild36
-rw-r--r--games-emulation/gxmame/ChangeLog25
-rw-r--r--games-emulation/gxmame/Manifest3
-rw-r--r--games-emulation/gxmame/files/digest-gxmame-0.331
-rw-r--r--games-emulation/gxmame/gxmame-0.33.ebuild29
-rw-r--r--games-emulation/hatari/ChangeLog19
-rw-r--r--games-emulation/hatari/Manifest3
-rw-r--r--games-emulation/hatari/files/digest-hatari-0.401
-rw-r--r--games-emulation/hatari/hatari-0.40.ebuild39
-rw-r--r--games-emulation/infones/ChangeLog10
-rw-r--r--games-emulation/infones/Manifest3
-rw-r--r--games-emulation/infones/files/digest-infones-0.911
-rw-r--r--games-emulation/infones/infones-0.91.ebuild34
-rw-r--r--games-emulation/mekanix/ChangeLog8
-rw-r--r--games-emulation/mekanix/Manifest4
-rw-r--r--games-emulation/mekanix/files/digest-mekanix-0651
-rw-r--r--games-emulation/mekanix/files/mekanix3
-rw-r--r--games-emulation/mekanix/mekanix-065.ebuild27
-rw-r--r--games-emulation/mupen64/ChangeLog21
-rw-r--r--games-emulation/mupen64/Manifest6
-rw-r--r--games-emulation/mupen64/files/digest-mupen64-0.11
-rw-r--r--games-emulation/mupen64/files/digest-mupen64-0.21
-rw-r--r--games-emulation/mupen64/files/mupen6411
-rw-r--r--games-emulation/mupen64/mupen64-0.1.ebuild46
-rw-r--r--games-emulation/mupen64/mupen64-0.2.ebuild44
-rw-r--r--games-emulation/nestra/ChangeLog11
-rw-r--r--games-emulation/nestra/Manifest3
-rw-r--r--games-emulation/nestra/files/digest-nestra-0.662
-rw-r--r--games-emulation/nestra/nestra-0.66.ebuild40
-rw-r--r--games-emulation/nwwine/ChangeLog26
-rw-r--r--games-emulation/nwwine/Manifest10
-rw-r--r--games-emulation/nwwine/files/digest-nwwine-200207031
-rw-r--r--games-emulation/nwwine/files/digest-nwwine-200306184
-rw-r--r--games-emulation/nwwine/files/digest-nwwine-200307093
-rw-r--r--games-emulation/nwwine/files/nwwine-20020703-fake_windows.tar.bz2bin0 -> 500 bytes
-rw-r--r--games-emulation/nwwine/files/nwwine-20020703-misc.tar.bz2bin0 -> 4603 bytes
-rw-r--r--games-emulation/nwwine/metadata.xml8
-rw-r--r--games-emulation/nwwine/nwwine-20020703.ebuild114
-rw-r--r--games-emulation/nwwine/nwwine-20030618.ebuild124
-rw-r--r--games-emulation/nwwine/nwwine-20030709.ebuild122
-rw-r--r--games-emulation/pcsx/ChangeLog48
-rw-r--r--games-emulation/pcsx/Manifest5
-rw-r--r--games-emulation/pcsx/files/1.5-gentoo.patch11
-rw-r--r--games-emulation/pcsx/files/digest-pcsx-1.5-r11
-rw-r--r--games-emulation/pcsx/files/pcsx56
-rw-r--r--games-emulation/pcsx/pcsx-1.5-r1.ebuild60
-rw-r--r--games-emulation/pcsx2/ChangeLog8
-rw-r--r--games-emulation/pcsx2/Manifest5
-rw-r--r--games-emulation/pcsx2/files/0.41-time-renames.patch16
-rw-r--r--games-emulation/pcsx2/files/digest-pcsx2-0.411
-rw-r--r--games-emulation/pcsx2/files/pcsx250
-rw-r--r--games-emulation/pcsx2/pcsx2-0.41.ebuild46
-rw-r--r--games-emulation/ps2emu-cddvdlinuz/ChangeLog8
-rw-r--r--games-emulation/ps2emu-cddvdlinuz/Manifest4
-rw-r--r--games-emulation/ps2emu-cddvdlinuz/files/0.3-makefile.patch11
-rw-r--r--games-emulation/ps2emu-cddvdlinuz/files/digest-ps2emu-cddvdlinuz-0.31
-rw-r--r--games-emulation/ps2emu-cddvdlinuz/ps2emu-cddvdlinuz-0.3.ebuild37
-rw-r--r--games-emulation/ps2emu-cdvdiso/ChangeLog8
-rw-r--r--games-emulation/ps2emu-cdvdiso/Manifest4
-rw-r--r--games-emulation/ps2emu-cdvdiso/files/0.2-makefile.patch11
-rw-r--r--games-emulation/ps2emu-cdvdiso/files/digest-ps2emu-cdvdiso-0.21
-rw-r--r--games-emulation/ps2emu-cdvdiso/ps2emu-cdvdiso-0.2.ebuild38
-rw-r--r--games-emulation/ps2emu-gssoft/ChangeLog8
-rw-r--r--games-emulation/ps2emu-gssoft/Manifest4
-rw-r--r--games-emulation/ps2emu-gssoft/files/0.5-makefile.patch21
-rw-r--r--games-emulation/ps2emu-gssoft/files/digest-ps2emu-gssoft-0.51
-rw-r--r--games-emulation/ps2emu-gssoft/ps2emu-gssoft-0.5.ebuild48
-rw-r--r--games-emulation/ps2emu-padxwin/ChangeLog8
-rw-r--r--games-emulation/ps2emu-padxwin/Manifest4
-rw-r--r--games-emulation/ps2emu-padxwin/files/0.3-makefile.patch11
-rw-r--r--games-emulation/ps2emu-padxwin/files/digest-ps2emu-padxwin-0.31
-rw-r--r--games-emulation/ps2emu-padxwin/ps2emu-padxwin-0.3.ebuild37
-rw-r--r--games-emulation/ps2emu-spu2null/ChangeLog8
-rw-r--r--games-emulation/ps2emu-spu2null/Manifest4
-rw-r--r--games-emulation/ps2emu-spu2null/files/0.2-makefile.patch11
-rw-r--r--games-emulation/ps2emu-spu2null/files/digest-ps2emu-spu2null-0.21
-rw-r--r--games-emulation/ps2emu-spu2null/ps2emu-spu2null-0.2.ebuild36
-rw-r--r--games-emulation/psemu-cdr/ChangeLog23
-rw-r--r--games-emulation/psemu-cdr/Manifest4
-rw-r--r--games-emulation/psemu-cdr/files/1.8-makefile-cflags.patch11
-rw-r--r--games-emulation/psemu-cdr/files/digest-psemu-cdr-1.81
-rw-r--r--games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild52
-rw-r--r--games-emulation/psemu-cdriso/ChangeLog25
-rw-r--r--games-emulation/psemu-cdriso/Manifest4
-rw-r--r--games-emulation/psemu-cdriso/files/1.4-makefile-cflags.patch11
-rw-r--r--games-emulation/psemu-cdriso/files/digest-psemu-cdriso-1.41
-rw-r--r--games-emulation/psemu-cdriso/psemu-cdriso-1.4.ebuild41
-rw-r--r--games-emulation/psemu-eternalspu/ChangeLog13
-rw-r--r--games-emulation/psemu-eternalspu/Manifest3
-rw-r--r--games-emulation/psemu-eternalspu/files/digest-psemu-eternalspu-1.41-r11
-rw-r--r--games-emulation/psemu-eternalspu/psemu-eternalspu-1.41-r1.ebuild24
-rw-r--r--games-emulation/psemu-gpupetemesagl/ChangeLog58
-rw-r--r--games-emulation/psemu-gpupetemesagl/Manifest5
-rw-r--r--games-emulation/psemu-gpupetemesagl/files/digest-psemu-gpupetemesagl-1.731
-rw-r--r--games-emulation/psemu-gpupetemesagl/files/digest-psemu-gpupetemesagl-1.741
-rw-r--r--games-emulation/psemu-gpupetemesagl/psemu-gpupetemesagl-1.73.ebuild28
-rw-r--r--games-emulation/psemu-gpupetemesagl/psemu-gpupetemesagl-1.74.ebuild28
-rw-r--r--games-emulation/psemu-padjoy/ChangeLog28
-rw-r--r--games-emulation/psemu-padjoy/Manifest4
-rw-r--r--games-emulation/psemu-padjoy/files/0.81-makefile-cflags.patch11
-rw-r--r--games-emulation/psemu-padjoy/files/digest-psemu-padjoy-0.811
-rw-r--r--games-emulation/psemu-padjoy/psemu-padjoy-0.81.ebuild38
-rw-r--r--games-emulation/psemu-padxwin/ChangeLog25
-rw-r--r--games-emulation/psemu-padxwin/Manifest4
-rw-r--r--games-emulation/psemu-padxwin/files/1.6-makefile-cflags.patch20
-rw-r--r--games-emulation/psemu-padxwin/files/digest-psemu-padxwin-1.61
-rw-r--r--games-emulation/psemu-padxwin/psemu-padxwin-1.6.ebuild37
-rw-r--r--games-emulation/psemu-peopssoftgpu/ChangeLog35
-rw-r--r--games-emulation/psemu-peopssoftgpu/Manifest4
-rw-r--r--games-emulation/psemu-peopssoftgpu/files/1.15-makefile-cflags.patch28
-rw-r--r--games-emulation/psemu-peopssoftgpu/files/digest-psemu-peopssoftgpu-1.151
-rw-r--r--games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild51
-rw-r--r--games-emulation/psemu-peopsspu/ChangeLog49
-rw-r--r--games-emulation/psemu-peopsspu/Manifest3
-rw-r--r--games-emulation/psemu-peopsspu/files/digest-psemu-peopsspu-1.0.7-r11
-rw-r--r--games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r1.ebuild61
-rw-r--r--games-emulation/psemu-spunull/ChangeLog8
-rw-r--r--games-emulation/psemu-spunull/Manifest4
-rw-r--r--games-emulation/psemu-spunull/files/1.0-makefile-cflags.patch11
-rw-r--r--games-emulation/psemu-spunull/files/digest-psemu-spunull-1.01
-rw-r--r--games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild33
-rw-r--r--games-emulation/qmamecat/ChangeLog8
-rw-r--r--games-emulation/qmamecat/Manifest3
-rw-r--r--games-emulation/qmamecat/files/digest-qmamecat-0.44.451
-rw-r--r--games-emulation/qmamecat/qmamecat-0.44.45.ebuild31
-rw-r--r--games-emulation/raine/ChangeLog8
-rw-r--r--games-emulation/raine/Manifest5
-rw-r--r--games-emulation/raine/files/Raine.desktop11
-rw-r--r--games-emulation/raine/files/digest-raine-0.36.23
-rw-r--r--games-emulation/raine/files/raine-allegro_4.1.5_fix.patch20
-rw-r--r--games-emulation/raine/raine-0.36.2.ebuild77
-rw-r--r--games-emulation/snes9x/ChangeLog53
-rw-r--r--games-emulation/snes9x/Manifest8
-rw-r--r--games-emulation/snes9x/files/digest-snes9x-1391
-rw-r--r--games-emulation/snes9x/files/digest-snes9x-139-r11
-rw-r--r--games-emulation/snes9x/files/snes9x-139-r1-BE-sound-fix.diff26
-rw-r--r--games-emulation/snes9x/files/snes9x-139-r1-Makefile-ppc.diff37
-rw-r--r--games-emulation/snes9x/files/snes9x-gcc3.diff35
-rw-r--r--games-emulation/snes9x/snes9x-139-r1.ebuild71
-rw-r--r--games-emulation/snes9x/snes9x-139.ebuild23
-rw-r--r--games-emulation/stella/ChangeLog13
-rw-r--r--games-emulation/stella/Manifest5
-rw-r--r--games-emulation/stella/files/digest-stella-1.21
-rw-r--r--games-emulation/stella/files/digest-stella-1.31
-rw-r--r--games-emulation/stella/stella-1.2.ebuild47
-rw-r--r--games-emulation/stella/stella-1.3.ebuild50
-rw-r--r--games-emulation/tuxnes/ChangeLog12
-rw-r--r--games-emulation/tuxnes/Manifest4
-rw-r--r--games-emulation/tuxnes/files/configure.in-tuxnes-0.75-gentoo.diff46
-rw-r--r--games-emulation/tuxnes/files/digest-tuxnes-0.751
-rw-r--r--games-emulation/tuxnes/tuxnes-0.75.ebuild51
-rw-r--r--games-emulation/vgba/ChangeLog8
-rw-r--r--games-emulation/vgba/Manifest3
-rw-r--r--games-emulation/vgba/files/digest-vgba-2.01
-rw-r--r--games-emulation/vgba/vgba-2.0.ebuild28
-rw-r--r--games-emulation/visualboyadvance/ChangeLog17
-rw-r--r--games-emulation/visualboyadvance/Manifest4
-rw-r--r--games-emulation/visualboyadvance/files/digest-visualboyadvance-1.5.11
-rw-r--r--games-emulation/visualboyadvance/files/playvisualboyadvance18
-rw-r--r--games-emulation/visualboyadvance/visualboyadvance-1.5.1.ebuild50
-rw-r--r--games-emulation/xmame/ChangeLog110
-rw-r--r--games-emulation/xmame/Manifest4
-rw-r--r--games-emulation/xmame/files/0.72.1-glx-fix.patch19
-rw-r--r--games-emulation/xmame/files/digest-xmame-0.72.11
-rw-r--r--games-emulation/xmame/xmame-0.72.1.ebuild128
-rw-r--r--games-emulation/xmess/ChangeLog27
-rw-r--r--games-emulation/xmess/Manifest4
-rw-r--r--games-emulation/xmess/files/0.72.1-glx-fix.patch19
-rw-r--r--games-emulation/xmess/files/digest-xmess-0.72.11
-rw-r--r--games-emulation/xmess/xmess-0.72.1.ebuild128
-rw-r--r--games-emulation/zinc/ChangeLog21
-rw-r--r--games-emulation/zinc/Manifest3
-rw-r--r--games-emulation/zinc/files/digest-zinc-0.91
-rw-r--r--games-emulation/zinc/zinc-0.9.ebuild20
-rw-r--r--games-emulation/zsnes/ChangeLog77
-rw-r--r--games-emulation/zsnes/Manifest6
-rw-r--r--games-emulation/zsnes/files/digest-zsnes-1.35-r11
-rw-r--r--games-emulation/zsnes/files/digest-zsnes-1.361
-rw-r--r--games-emulation/zsnes/files/zsnes-1.35-cvs.patch855
-rw-r--r--games-emulation/zsnes/zsnes-1.35-r1.ebuild37
-rw-r--r--games-emulation/zsnes/zsnes-1.36.ebuild42
323 files changed, 9089 insertions, 0 deletions
diff --git a/games-emulation/advancemame/ChangeLog b/games-emulation/advancemame/ChangeLog
new file mode 100644
index 000000000000..35521119d930
--- /dev/null
+++ b/games-emulation/advancemame/ChangeLog
@@ -0,0 +1,50 @@
+# ChangeLog for app-emulation/advancemame
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+*advancemame-0.70.0 (13 Jul 2003)
+
+ 13 Jul 2003; Martin Schlemmer <azarah@gentoo.org> advancemame-0.70.0.ebuild:
+ New version. Closes bug #18798.
+
+ 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org> advancemame-0.63.0.ebuild :
+
+ Add missing 'mkdir -p ${S}' to src_unpack(), closing bug #15046.
+
+*advancemame-0.63.0 (03 Feb 2003)
+
+ 03 Feb 2003; Martin Schlemmer <azarah@gentoo.org> advancemame-0.63.0.ebuild :
+
+ New version.
+
+*advancemame-0.62.2 (25 Dec 2002)
+
+ 25 Dec 2002; Martin Schlemmer <azarah@gentoo.org> advancemame-0.62.2.ebuild :
+
+ New version.
+
+ 23 Dec 2002; Martin Schlemmer <azarah@gentoo.org> advancemame-0.61.1.ebuild :
+
+ Replace econf with ./configure, as it breaks if we pass --host.
+
+ 28 Nov 2002; Mark Guertin <gerk@gentoo.org> advancemame-0.62.0.ebuild,
+ advancemame-0.61.1.ebuild:
+
+ Set -ppc in keywords, uses x86 asm
+
+*advancemame-0.62.0 (20 Nov 2002)
+
+ 20 Nov 2002; Martin Schlemmer <azarah@gentoo.org> advancemame-0.62.0.ebuild :
+
+ New version. Close bugs #10537 and #10540.
+
+ 26 Aug 2002; Martin Schlemmer <azarah@gentoo.org> advancemame-0.61.1.ebuild :
+
+ Add dev-lang/nasm to the DEPEND.
+
+*advancemame-0.61.1 (24 Aug 2002)
+
+ 24 Aug 2002; Martin Schlemmer <azarah@gentoo.org> :
+
+ Initial version contributed by myself.
+
diff --git a/games-emulation/advancemame/Manifest b/games-emulation/advancemame/Manifest
new file mode 100644
index 000000000000..4ebf551be00c
--- /dev/null
+++ b/games-emulation/advancemame/Manifest
@@ -0,0 +1,12 @@
+MD5 5d344eab9fe52384e88a60dd8b9dced0 ChangeLog 1499
+MD5 c77dd8b5d33b755e4734f735286d023c advancemame-0.61.1.ebuild 2646
+MD5 82f6d009c5f0dd5ed5bfb968f57afd85 advancemame-0.62.0.ebuild 3198
+MD5 8e0c36b9601c7a8b5f2ac405d14b57ca advancemame-0.62.2.ebuild 3206
+MD5 f2d282f9c9d7faf4e1c893cda231eeb6 advancemame-0.63.0.ebuild 3094
+MD5 4c0a94d65bb607f8f09c82492b265a6b advancemame-0.70.0.ebuild 3124
+MD5 4d7d397cf540940e71c667361581d127 files/advancemame-0.62.0-sdl-configure.patch 554
+MD5 7812312b3641187db0f30ff037027b23 files/digest-advancemame-0.61.1 131
+MD5 0314d1f11af61854729da012fb909434 files/digest-advancemame-0.62.0 199
+MD5 4387f627f641988bb29e0c2e6c3fae3e files/digest-advancemame-0.62.2 199
+MD5 59be053759f2df7e5f963b3c658124a1 files/digest-advancemame-0.63.0 199
+MD5 bb31238cf4cfb54bf35a79fde7447686 files/digest-advancemame-0.70.0 199
diff --git a/games-emulation/advancemame/advancemame-0.61.1.ebuild b/games-emulation/advancemame/advancemame-0.61.1.ebuild
new file mode 100644
index 000000000000..bbb2d56301a6
--- /dev/null
+++ b/games-emulation/advancemame/advancemame-0.61.1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/advancemame-0.61.1.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+# This build we configure to explicitly use SDL, as it is very
+# difficult to get it working with fb or svgalib support. Anyway,
+# it do not look as good ;-)
+
+# Snapshot support
+SNAPSHOT="20020824"
+
+MY_PV="$(echo ${PV} | cut -d. -f1,2)"
+S="${WORKDIR}/advmame"
+DESCRIPTION="GNU/Linux port of the MAME emulator, with GUI menu."
+# Handle snapshots differently
+if [ -z "${SNAPSHOT}" ] ; then
+ SRC_URI="mirror://sourceforge/advancemame/${P}.zip"
+ MY_A="${P}.zip"
+else
+ SRC_URI="mirror://gentoo/${PN}-${SNAPSHOT}.tar.bz2"
+ MY_A="${PN}-${SNAPSHOT}.tar.bz2"
+fi
+SRC_URI="${SRC_URI}
+ http://mbnet.fi/~gridle/mame${MY_PV/\.}s.zip
+ http://www.mame.net/zips/mame${MY_PV/\.}s.zip
+ http://roms.mame.dk/emu/mame${MY_PV/\.}s.zip"
+HOMEPAGE="http://advancemame.sourceforge.net/"
+
+LICENSE="GPL-2 xmame"
+SLOT="0"
+KEYWORDS="x86 -ppc"
+
+DEPEND="virtual/x11
+ app-arch/unzip
+ >=dev-lang/nasm-0.98
+ >=media-libs/libsdl-1.2.3"
+
+src_unpack() {
+ unpack mame${MY_PV/\.}s.zip
+
+ mkdir -p ${S}
+
+ cd ${S}
+ # Unpack mame and advacemame
+ unzip -aa ${WORKDIR}/MAME.ZIP || die
+ # Handle snapshots differently
+ if [ -z "${SNAPSHOT}" ] ; then
+ unzip -aa -o ${DISTDIR}/${P}.zip || die
+ else
+ tar -jxf ${DISTDIR}/${PN}-${SNAPSHOT}.tar.bz2 || die
+ fi
+
+ # This one is from MAME.ZIP, and breaks things if present
+ rm -f makefile
+
+ cd ${S}/src
+ # Apply the advancemame patch to the mame sources
+ patch -p1 < ../advance/advmame.dif || die
+
+ # Fix manpage/doc install location
+ cp ${S}/advance/advance.mak ${S}/advance/advance.mak.orig
+ sed -e 's:$(PREFIX)/doc/advance:$(PREFIX)/share/doc/$(PF):g' \
+ -e 's:$(PREFIX)/man/man1:$(PREFIX)/share/man/man1:g' \
+ ${S}/advance/advance.mak.orig > ${S}/advance/advance.mak
+}
+
+src_compile() {
+ # Configure with explicit SDL support
+ # NOTE: do not use econf, as we should not
+ # pass --host ...
+ ./configure \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-system=sdl \
+ --enable-pthread \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ # The install script do not create this one
+ dodir /usr/bin
+ make PREFIX=${D}/usr install || die
+
+ dodoc COPYING whatsnew.txt
+ dodoc docs/{ctrlr.txt,listinfo.txt,mame.txt}
+ # Zip the docs that was installed by 'make install'
+ gzip ${D}/usr/share/doc/${PF}/*.txt
+
+ # Move the html pages the the correct location
+ dodir /usr/share/doc/${PF}/html
+ mv ${D}/usr/share/doc/${PF}/*.html ${D}/usr/share/doc/${PF}/html
+}
diff --git a/games-emulation/advancemame/advancemame-0.62.0.ebuild b/games-emulation/advancemame/advancemame-0.62.0.ebuild
new file mode 100644
index 000000000000..eb557e1ee1f0
--- /dev/null
+++ b/games-emulation/advancemame/advancemame-0.62.0.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/advancemame-0.62.0.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+inherit eutils
+
+# This build we configure to explicitly use SDL, as it is very
+# difficult to get it working with fb or svgalib support. Anyway,
+# it do not look as good ;-)
+
+ADVMNU_VER="2.2.0"
+
+MY_PV="$(echo ${PV} | cut -d. -f1,2)"
+S="${WORKDIR}/advmame"
+DESCRIPTION="GNU/Linux port of the MAME emulator, with GUI menu."
+SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz
+ mirror://sourceforge/advancemame/advancemenu-${ADVMNU_VER}.tar.gz
+ http://mbnet.fi/~gridle/mame${MY_PV/\.}s.zip
+ http://www.mame.net/zips/mame${MY_PV/\.}s.zip
+ http://roms.mame.dk/emu/mame${MY_PV/\.}s.zip"
+HOMEPAGE="http://advancemame.sourceforge.net/"
+
+LICENSE="GPL-2 xmame"
+SLOT="0"
+KEYWORDS="~x86 -ppc"
+
+RDEPEND="virtual/glibc
+ app-arch/unzip
+ >=dev-lang/nasm-0.98
+ >=media-libs/libsdl-1.2.3
+ slang? ( sys-libs/slang )
+ svga? ( >=media-libs/svgalib-1.9 )"
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers"
+
+src_unpack() {
+ unpack ${A}
+
+ mkdir -p ${S}
+
+ cd ${S}
+ # Unpack mame and advacemame
+ unzip -aa ${WORKDIR}/MAME.ZIP || die
+ cp -adf ${WORKDIR}/${P}/* .
+ cp -adf ${WORKDIR}/advancemenu-${ADVMNU_VER}/* .
+
+ # This one is from MAME.ZIP, and breaks things if present
+ rm -f makefile
+
+ # Fix type-o in configue script
+ # <azarah@gentoo.org> (20 Nov 2002)
+ epatch ${FILESDIR}/${P}-sdl-configure.patch
+
+ cd ${S}/src
+ # Apply the advancemame patch to the mame sources
+ epatch ../advance/advmame.dif
+
+ for x in os.c vslang.c
+ do
+ cp -f ${S}/advance/linux/${x} ${S}/advance/linux/${x}.orig
+ sed -e 's:slang/slang.h:slang.h:' \
+ ${S}/advance/linux/${x}.orig > ${S}/advance/linux/${x}
+ rm -f ${S}/advance/linux/${x}.orig
+ done
+
+ # Fix manpage/doc install location
+ cp -f ${S}/advance/advance.mak ${S}/advance/advance.mak.orig
+ sed -e 's:$(PREFIX)/doc/advance:$(PREFIX)/share/doc/$(PF):g' \
+ -e 's:$(PREFIX)/man/man1:$(PREFIX)/share/man/man1:g' \
+ ${S}/advance/advance.mak.orig > ${S}/advance/advance.mak
+ rm -f ${S}/advance/advance.mak.orig
+}
+
+src_compile() {
+ local myconf=""
+
+ use fbcon || myconf="${myconf} --disable-fb"
+
+ use oss || myconf="${myconf} --disable-oss"
+
+ use slang || myconf="${myconf} --disable-slang"
+
+ use svga || myconf="${myconf} --disable-svgalib"
+
+ # Configure with explicit SDL support
+ # NOTE: do not use econf, as we should not
+ # pass --host ...
+ ./configure \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-system=sdl \
+ --enable-pthread \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ # The install script do not create this one
+ dodir /usr/bin
+ make PREFIX=${D}/usr install || die
+
+ dodir /usr/share/advance/{artwork,diff,image,rom,sample,snap}
+
+ dodoc COPYING HISTORY README RELEASE whatsnew.txt
+ dodoc docs/{ctrlr.txt,listinfo.txt,mame.txt}
+ # Zip the docs that was installed by 'make install'
+ gzip ${D}/usr/share/doc/${PF}/*.txt
+
+ # Move the html pages the the correct location
+ dodir /usr/share/doc/${PF}/html
+ mv -f ${D}/usr/share/doc/${PF}/*.html ${D}/usr/share/doc/${PF}/html
+}
+
diff --git a/games-emulation/advancemame/advancemame-0.62.2.ebuild b/games-emulation/advancemame/advancemame-0.62.2.ebuild
new file mode 100644
index 000000000000..3fd9edd02929
--- /dev/null
+++ b/games-emulation/advancemame/advancemame-0.62.2.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/advancemame-0.62.2.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+inherit eutils
+
+# This build we configure to explicitly use SDL, as it is very
+# difficult to get it working with fb or svgalib support. Anyway,
+# it do not look as good ;-)
+
+ADVMNU_VER="2.2.2"
+
+MY_PV="$(echo ${PV} | cut -d. -f1,2)"
+S="${WORKDIR}/advmame"
+DESCRIPTION="GNU/Linux port of the MAME emulator, with GUI menu."
+SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz
+ mirror://sourceforge/advancemame/advancemenu-${ADVMNU_VER}.tar.gz
+ http://mbnet.fi/~gridle/mame${MY_PV/\.}s.zip
+ http://www.mame.net/zips/mame${MY_PV/\.}s.zip
+ http://roms.mame.dk/emu/mame${MY_PV/\.}s.zip"
+HOMEPAGE="http://advancemame.sourceforge.net/"
+
+LICENSE="GPL-2 xmame"
+SLOT="0"
+KEYWORDS="~x86 -ppc"
+
+RDEPEND="virtual/glibc
+ app-arch/unzip
+ >=dev-lang/nasm-0.98
+ >=media-libs/libsdl-1.2.3
+ slang? ( sys-libs/slang )
+ svga? ( >=media-libs/svgalib-1.9 )"
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers"
+
+src_unpack() {
+ unpack ${A}
+
+ mkdir -p ${S}
+
+ cd ${S}
+ # Unpack mame and advacemame
+ unzip -aa ${WORKDIR}/MAME.ZIP || die
+ cp -adf ${WORKDIR}/${P}/* .
+ cp -adf ${WORKDIR}/advancemenu-${ADVMNU_VER}/* .
+
+ # This one is from MAME.ZIP, and breaks things if present
+ rm -f makefile
+
+ # Fix type-o in configue script
+ # <azarah@gentoo.org> (20 Nov 2002)
+ epatch ${FILESDIR}/${PN}-0.62.0-sdl-configure.patch
+
+ cd ${S}/src
+ # Apply the advancemame patch to the mame sources
+ epatch ../advance/advmame.dif
+
+ for x in os.c vslang.c
+ do
+ cp -f ${S}/advance/linux/${x} ${S}/advance/linux/${x}.orig
+ sed -e 's:slang/slang.h:slang.h:' \
+ ${S}/advance/linux/${x}.orig > ${S}/advance/linux/${x}
+ rm -f ${S}/advance/linux/${x}.orig
+ done
+
+ # Fix manpage/doc install location
+ cp -f ${S}/advance/advance.mak ${S}/advance/advance.mak.orig
+ sed -e 's:$(PREFIX)/doc/advance:$(PREFIX)/share/doc/$(PF):g' \
+ -e 's:$(PREFIX)/man/man1:$(PREFIX)/share/man/man1:g' \
+ ${S}/advance/advance.mak.orig > ${S}/advance/advance.mak
+ rm -f ${S}/advance/advance.mak.orig
+}
+
+src_compile() {
+ local myconf=""
+
+ use fbcon || myconf="${myconf} --disable-fb"
+
+ use oss || myconf="${myconf} --disable-oss"
+
+ use slang || myconf="${myconf} --disable-slang"
+
+ use svga || myconf="${myconf} --disable-svgalib"
+
+ # Configure with explicit SDL support
+ # NOTE: do not use econf, as we should not
+ # pass --host ...
+ ./configure \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-system=sdl \
+ --enable-pthread \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ # The install script do not create this one
+ dodir /usr/bin
+ make PREFIX=${D}/usr install || die
+
+ dodir /usr/share/advance/{artwork,diff,image,rom,sample,snap}
+
+ dodoc COPYING HISTORY README RELEASE whatsnew.txt
+ dodoc docs/{ctrlr.txt,listinfo.txt,mame.txt}
+ # Zip the docs that was installed by 'make install'
+ gzip ${D}/usr/share/doc/${PF}/*.txt
+
+ # Move the html pages the the correct location
+ dodir /usr/share/doc/${PF}/html
+ mv -f ${D}/usr/share/doc/${PF}/*.html ${D}/usr/share/doc/${PF}/html
+}
+
diff --git a/games-emulation/advancemame/advancemame-0.63.0.ebuild b/games-emulation/advancemame/advancemame-0.63.0.ebuild
new file mode 100644
index 000000000000..bec1d7605c24
--- /dev/null
+++ b/games-emulation/advancemame/advancemame-0.63.0.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/advancemame-0.63.0.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+inherit eutils
+
+# This build we configure to explicitly use SDL, as it is very
+# difficult to get it working with fb or svgalib support. Anyway,
+# it do not look as good ;-)
+
+ADVMNU_VER="2.2.3"
+
+MY_PV="$(echo ${PV} | cut -d. -f1,2)"
+S="${WORKDIR}/advmame"
+DESCRIPTION="GNU/Linux port of the MAME emulator, with GUI menu."
+SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz
+ mirror://sourceforge/advancemame/advancemenu-${ADVMNU_VER}.tar.gz
+ http://mbnet.fi/~gridle/mame${MY_PV/\.}s.zip
+ http://www.mame.net/zips/mame${MY_PV/\.}s.zip
+ http://roms.mame.dk/emu/mame${MY_PV/\.}s.zip"
+HOMEPAGE="http://advancemame.sourceforge.net/"
+
+LICENSE="GPL-2 xmame"
+SLOT="0"
+KEYWORDS="~x86 -ppc"
+
+RDEPEND="virtual/glibc
+ app-arch/unzip
+ >=dev-lang/nasm-0.98
+ >=media-libs/libsdl-1.2.3
+ slang? ( sys-libs/slang )
+ svga? ( >=media-libs/svgalib-1.9 )"
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers"
+
+src_unpack() {
+ unpack ${A}
+
+ mkdir -p ${S}
+
+ cd ${S}
+ # Unpack mame and advacemame
+ unzip -qaa ${WORKDIR}/MAME${MY_PV/\.}.ZIP || die
+ cp -adf ${WORKDIR}/${P}/* .
+ cp -adf ${WORKDIR}/advancemenu-${ADVMNU_VER}/* .
+
+ # This one is from MAME.ZIP, and breaks things if present
+ rm -f makefile
+
+ cd ${S}/src
+ # Apply the advancemame patch to the mame sources
+ epatch ../advance/advmame.dif
+
+ for x in os.c vslang.c
+ do
+ cp -f ${S}/advance/linux/${x} ${S}/advance/linux/${x}.orig
+ sed -e 's:slang/slang.h:slang.h:' \
+ ${S}/advance/linux/${x}.orig > ${S}/advance/linux/${x}
+ rm -f ${S}/advance/linux/${x}.orig
+ done
+
+ # Fix manpage/doc install location
+ cp -f ${S}/advance/advance.mak ${S}/advance/advance.mak.orig
+ sed -e 's:$(PREFIX)/doc/advance:$(PREFIX)/share/doc/$(PF):g' \
+ -e 's:$(PREFIX)/man/man1:$(PREFIX)/share/man/man1:g' \
+ ${S}/advance/advance.mak.orig > ${S}/advance/advance.mak
+ rm -f ${S}/advance/advance.mak.orig
+}
+
+src_compile() {
+ local myconf=""
+
+ use fbcon || myconf="${myconf} --disable-fb"
+
+ use oss || myconf="${myconf} --disable-oss"
+
+ use slang || myconf="${myconf} --disable-slang"
+
+ use svga || myconf="${myconf} --disable-svgalib"
+
+ # Configure with explicit SDL support
+ # NOTE: do not use econf, as we should not
+ # pass --host ...
+ ./configure \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-system=sdl \
+ --enable-pthread \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ # The install script do not create this one
+ dodir /usr/bin
+ make PREFIX=${D}/usr install || die
+
+ dodir /usr/share/advance/{artwork,diff,image,rom,sample,snap}
+
+ dodoc COPYING HISTORY README RELEASE whatsnew.txt
+ dodoc docs/{ctrlr.txt,listinfo.txt,mame.txt}
+ # Zip the docs that was installed by 'make install'
+ gzip ${D}/usr/share/doc/${PF}/*.txt
+
+ # Move the html pages the the correct location
+ dodir /usr/share/doc/${PF}/html
+ mv -f ${D}/usr/share/doc/${PF}/*.html ${D}/usr/share/doc/${PF}/html
+}
+
diff --git a/games-emulation/advancemame/advancemame-0.70.0.ebuild b/games-emulation/advancemame/advancemame-0.70.0.ebuild
new file mode 100644
index 000000000000..ae0ab0c97e9b
--- /dev/null
+++ b/games-emulation/advancemame/advancemame-0.70.0.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/advancemame-0.70.0.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+inherit eutils
+
+# This build we configure to explicitly use SDL, as it is very
+# difficult to get it working with fb or svgalib support. Anyway,
+# it do not look as good ;-)
+
+ADVMNU_VER="2.2.7"
+
+MY_PV="$(echo ${PV} | cut -d. -f1,2)"
+S="${WORKDIR}/advmame"
+DESCRIPTION="GNU/Linux port of the MAME emulator, with GUI menu."
+SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz
+ mirror://sourceforge/advancemame/advancemenu-${ADVMNU_VER}.tar.gz
+ http://mbnet.fi/~gridle/mame${MY_PV/\.}s.zip
+ http://www.mame.net/zips/mame${MY_PV/\.}s.zip
+ http://roms.mame.dk/emu/mame${MY_PV/\.}s.zip"
+HOMEPAGE="http://advancemame.sourceforge.net/"
+
+LICENSE="GPL-2 xmame"
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND="virtual/glibc
+ app-arch/unzip
+ >=dev-lang/nasm-0.98
+ >=media-libs/libsdl-1.2.3
+ slang? ( sys-libs/slang )
+ svga? ( >=media-libs/svgalib-1.9 )"
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers"
+
+src_unpack() {
+ unpack ${A}
+
+ mkdir -p ${S}
+
+ cd ${S}
+ # Unpack mame and advacemame
+ unzip -qaa ${WORKDIR}/mame.zip || die
+ cp -adf ${WORKDIR}/${P}/* .
+ cp -adf ${WORKDIR}/advancemenu-${ADVMNU_VER}/* .
+
+ # This one is from MAME.ZIP, and breaks things if present
+ rm -f makefile
+
+ cd ${S}/src
+ # Apply the advancemame patch to the mame sources
+ epatch ../advance/advmame.dif
+
+ for x in os.c vslang.c
+ do
+ cp -f ${S}/advance/linux/${x} ${S}/advance/linux/${x}.orig
+ sed -e 's:slang/slang.h:slang.h:' \
+ ${S}/advance/linux/${x}.orig > ${S}/advance/linux/${x}
+ rm -f ${S}/advance/linux/${x}.orig
+ done
+
+ # Fix manpage/doc install location
+ cp -f ${S}/advance/advance.mak ${S}/advance/advance.mak.orig
+ sed -e 's:$(PREFIX)/doc/advance:$(PREFIX)/share/doc/$(PF):g' \
+ -e 's:$(PREFIX)/man/man1:$(PREFIX)/share/man/man1:g' \
+ ${S}/advance/advance.mak.orig > ${S}/advance/advance.mak
+ rm -f ${S}/advance/advance.mak.orig
+}
+
+src_compile() {
+ local myconf=
+
+ use fbcon || myconf="${myconf} --disable-fb"
+
+ use oss || myconf="${myconf} --disable-oss"
+
+ use alsa || myconf="${myconf} --disable-alsa"
+
+ use slang || myconf="${myconf} --disable-slang"
+
+ use svga || myconf="${myconf} --disable-svgalib"
+
+ # Configure with explicit SDL support
+ # NOTE: do not use econf, as we should not
+ # pass --host ...
+ ./configure \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-system=sdl \
+ --enable-pthread \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+ # The install script do not create this one
+ dodir /usr/bin
+ make PREFIX=${D}/usr install || die
+
+ dodir /usr/share/advance/{artwork,diff,image,rom,sample,snap}
+
+ dodoc COPYING HISTORY README RELEASE whatsnew.txt
+ dodoc docs/{ctrlr.txt,listinfo.txt,mame.txt}
+ # Zip the docs that was installed by 'make install'
+ gzip ${D}/usr/share/doc/${PF}/*.txt
+
+ # Move the html pages the the correct location
+ dodir /usr/share/doc/${PF}/html
+ mv -f ${D}/usr/share/doc/${PF}/*.html ${D}/usr/share/doc/${PF}/html
+}
+
diff --git a/games-emulation/advancemame/files/advancemame-0.62.0-sdl-configure.patch b/games-emulation/advancemame/files/advancemame-0.62.0-sdl-configure.patch
new file mode 100644
index 000000000000..e25e247b65df
--- /dev/null
+++ b/games-emulation/advancemame/files/advancemame-0.62.0-sdl-configure.patch
@@ -0,0 +1,24 @@
+--- advmame/configure.orig 2002-11-20 11:31:46.000000000 +0200
++++ advmame/configure 2002-11-20 11:32:23.000000000 +0200
+@@ -4513,9 +4513,7 @@
+
+ test -n "$SDLCONFIG" && break
+ done
+-test -n "$SDLCONFIG" || SDLCONFIG="no
+- "
+-
++test -n "$SDLCONFIG" || SDLCONFIG="no"
+ else
+ for ac_prog in ${host_alias}-sdl-config
+ do
+@@ -4556,9 +4554,7 @@
+
+ test -n "$SDLCONFIG" && break
+ done
+-test -n "$SDLCONFIG" || SDLCONFIG="no
+- "
+-
++test -n "$SDLCONFIG" || SDLCONFIG="no"
+ fi
+ if test ! $SDLCONFIG = no; then
+ SDLCFLAGS=`$SDLCONFIG --cflags`
diff --git a/games-emulation/advancemame/files/digest-advancemame-0.61.1 b/games-emulation/advancemame/files/digest-advancemame-0.61.1
new file mode 100644
index 000000000000..95c7b989eaec
--- /dev/null
+++ b/games-emulation/advancemame/files/digest-advancemame-0.61.1
@@ -0,0 +1,2 @@
+MD5 189bcf88588017461ed8eafa0c086f58 advancemame-20020824.tar.bz2 943470
+MD5 069ba445724b236b315b1706bedfdb30 mame061s.zip 6072159
diff --git a/games-emulation/advancemame/files/digest-advancemame-0.62.0 b/games-emulation/advancemame/files/digest-advancemame-0.62.0
new file mode 100644
index 000000000000..a286b8000628
--- /dev/null
+++ b/games-emulation/advancemame/files/digest-advancemame-0.62.0
@@ -0,0 +1,3 @@
+MD5 a6a33e6f9a6b6380f607fd4029116925 advancemame-0.62.0.tar.gz 1028396
+MD5 354b6f7db4cfdb376f169e4933b310c3 advancemenu-2.2.0.tar.gz 1022057
+MD5 e1a175bb0265c2a03da3b881ee2a3a49 mame062s.zip 6375517
diff --git a/games-emulation/advancemame/files/digest-advancemame-0.62.2 b/games-emulation/advancemame/files/digest-advancemame-0.62.2
new file mode 100644
index 000000000000..9d6f7aa8a0e1
--- /dev/null
+++ b/games-emulation/advancemame/files/digest-advancemame-0.62.2
@@ -0,0 +1,3 @@
+MD5 b854f14be9db0984a9d87e57dc822993 advancemame-0.62.2.tar.gz 1041744
+MD5 7876e5eceac991e7cc559eb76e5349ff advancemenu-2.2.2.tar.gz 1033888
+MD5 e1a175bb0265c2a03da3b881ee2a3a49 mame062s.zip 6375517
diff --git a/games-emulation/advancemame/files/digest-advancemame-0.63.0 b/games-emulation/advancemame/files/digest-advancemame-0.63.0
new file mode 100644
index 000000000000..72b288e16ff2
--- /dev/null
+++ b/games-emulation/advancemame/files/digest-advancemame-0.63.0
@@ -0,0 +1,3 @@
+MD5 99e6645903b28ad438361b86a4f0d669 advancemame-0.63.0.tar.gz 1046668
+MD5 9f979e321b8fe47825c4c870844c9d26 advancemenu-2.2.3.tar.gz 1040606
+MD5 f51db33f439dc48ec396bf83385af113 mame063s.zip 6576345
diff --git a/games-emulation/advancemame/files/digest-advancemame-0.70.0 b/games-emulation/advancemame/files/digest-advancemame-0.70.0
new file mode 100644
index 000000000000..5c4ac2245b1d
--- /dev/null
+++ b/games-emulation/advancemame/files/digest-advancemame-0.70.0
@@ -0,0 +1,3 @@
+MD5 3f91dbe77df5d7ffd563d9f4eee4eb07 advancemame-0.70.0.tar.gz 1078285
+MD5 4dfd42997184969dbb9a9df77f78e20e advancemenu-2.2.7.tar.gz 1138523
+MD5 e400f8e6c50a0826d2da9113be725958 mame070s.zip 8655728
diff --git a/games-emulation/atari800/ChangeLog b/games-emulation/atari800/ChangeLog
new file mode 100644
index 000000000000..c603614dd3f8
--- /dev/null
+++ b/games-emulation/atari800/ChangeLog
@@ -0,0 +1,45 @@
+# ChangeLog for app-emulation/atari800
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+*atari800-1.3.0-r1 (02 Sep 2003)
+
+ 02 Sep 2003; Daniel Ahlberg <aliz@gentoo.org> atari800-1.3.0-r1.ebuild :
+ Security update.
+
+ 10 Jul 2003; Michael Sterrett <msterret@gentoo.org> atari800-1.3.0.ebuild,
+ files/1.3.0/atari800.cfg:
+ marked stable on everything; cleaned up the pkg_postinst(); error checking;
+ tidy
+
+ 26 Jun 2003; <msterret@gentoo.org> atari800-1.3.0.ebuild:
+ removed invalid KEYWORD sparc64
+
+*atari800-1.3.0 (24 Jun 2003)
+
+ 24 Jun 2003; Ryan Phillips <rphillips@gentoo.org> atari800-1.3.0.ebuild:
+ New version. Fixes #16619
+
+*atari800-1.2.5 (31 Jan 2003)
+
+ 03 Mar 2003; <vladimir@gentoo.org> atari800-1.2.5.ebuild:
+ Automated removal of remaining sparc64 KEYWORDS
+
+ 31 Jan 2003; Ryan Phillips <rphillips@gentoo.org> :
+ new version. Fixes #11605
+
+*atari800-1.2.2 (21 Jul 2002)
+
+ 23 Sep 2002; Mike Frysinger <vapier@gentoo.org> :
+ Updated SRC_URI to use mirror: and LICENSE to GPL-2
+
+ 21 Jul 2002; Stuart Bouyer <stubear@gentoo.org> atari800-1.2.2.ebuild:
+
+ Added KEYWORDS and SLOT to meet lintool and repoman QA.
+
+ 24 Feb 2002; Rob McMullen <robm@flipturn.org> atari800-1.2.2.ebuild:
+
+ Atari 8-bit emulator (400/800/1200/XL/XE etc.) that will be compiled
+ with SDL if 'sdl' appears in your USE statement, otherwise as an X11
+ app. SDL switches to fullscreen mode by default, so a 400x300 entry
+ into your XF86Config-4 file is recommended.
diff --git a/games-emulation/atari800/Manifest b/games-emulation/atari800/Manifest
new file mode 100644
index 000000000000..77700231d2f7
--- /dev/null
+++ b/games-emulation/atari800/Manifest
@@ -0,0 +1,17 @@
+MD5 46037dfe0663878ef107638761a375ee ChangeLog 1602
+MD5 c5bf64554932c20c82274ffa4da1e657 atari800-1.2.2.ebuild 3346
+MD5 80bb20c830cf67df6a06665facf5bda0 atari800-1.2.5.ebuild 3151
+MD5 7dc897613126ef739ca7335e3fa037b1 atari800-1.3.0.ebuild 2760
+MD5 d68b2f5be9ee4a4a8c0b2e8e03caa5e6 atari800-1.3.0-r1.ebuild 2847
+MD5 eb8a8b62973cd8789aad8dee8a839842 files/atari800-1.2.2-gentoo.diff 378
+MD5 51143eeb7bd76c8cca8a80bbf5ab7e88 files/atari800-1.2.5-gentoo.diff 1876
+MD5 39a9ab82d0c6639ee234c9d422aa6fb2 files/digest-atari800-1.2.2 119
+MD5 a6366b321577c3ea381f387be52f4212 files/digest-atari800-1.2.5 119
+MD5 f85f4f8f75bb8202fb9d720a73b99365 files/digest-atari800-1.3.0 119
+MD5 72addfdd20ffd541c060e56e25e1268f files/atari800-1.3.0-security.patch 2512
+MD5 f85f4f8f75bb8202fb9d720a73b99365 files/digest-atari800-1.3.0-r1 119
+MD5 1d6cdbf0913428f3ace81314e78fb9e5 files/1.2.2/atari800.1 11812
+MD5 888bd3ecb979f2095569f1dd8c95a2f8 files/1.2.2/atari800.cfg 449
+MD5 1d6cdbf0913428f3ace81314e78fb9e5 files/1.2.5/atari800.1 11812
+MD5 888bd3ecb979f2095569f1dd8c95a2f8 files/1.2.5/atari800.cfg 449
+MD5 888bd3ecb979f2095569f1dd8c95a2f8 files/1.3.0/atari800.cfg 449
diff --git a/games-emulation/atari800/atari800-1.2.2.ebuild b/games-emulation/atari800/atari800-1.2.2.ebuild
new file mode 100644
index 000000000000..03b961dc3a62
--- /dev/null
+++ b/games-emulation/atari800/atari800-1.2.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-1.2.2.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="Atari 800 emulator"
+HOMEPAGE="http://atari800.sourceforge.net/"
+SRC_URI="mirror://sourceforge/atari800/${P}.tar.gz
+ mirror://sourceforge/atari800/xf25.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="sdl"
+
+DEPEND="virtual/x11
+ app-arch/unzip
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+RDEPEND="virtual/x11
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+
+# The atari800-1.2.2-gentoo.diff includes a fix for configure such
+# that configure will recognize linux as spit out by config.guess
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff || die
+}
+
+# The commands here in compile are taken almost verbatim from the
+# atari800.spec file included in the archive. We build the X11
+# version unless SDL is specified in make.conf
+src_compile() {
+ local target
+ target="x11"
+ use sdl && target="sdl"
+ cd src
+ ./configure --prefix=/usr --target=$target --disable-VERY_SLOW \
+ --disable-NO_CYCLE_EXACT \
+ --enable-CRASH_MENU --enable-MONITOR_BREAK \
+ --enable-MONITOR_HINTS --enable-MONITOR_ASSEMBLER \
+ --enable-COMPILED_PALETTE --enable-SNAILMETER \
+ --enable-USE_CURSORBLOCK --enable-LINUX_JOYSTICK \
+ --enable-SOUND --disable-NO_VOL_ONLY --disable-NO_CONSOL_SOUND \
+ --disable-SERIO_SOUND --disable-NOSNDINTER --enable-CLIP \
+ --disable-STEREO --enable-BUFFERED_LOG --enable-SET_LED \
+ --disable-NO_LED_ON_SCREEN --disable-SVGA_SPEEDUP --disable-JOYMOUSE
+ emake
+}
+
+# The makefile doesn't supply an install routine, so we have to do it
+# ourselves.
+src_install () {
+ into /usr
+ dodir /usr/bin /usr/share/man/man1 /usr/share/atari800
+ dobin src/atari800
+ doman ${FILESDIR}/${PVR}/atari800.1
+ dodoc COPYING README.1ST DOC/USAGE DOC/README DOC/NEWS DOC/FAQ DOC/CREDITS DOC/BUGS DOC/LPTjoy.txt DOC/cart.txt DOC/pokeysnd.txt
+ insinto /usr/share/atari800
+ doins ${WORKDIR}/*.ROM
+
+ # Basic config file for /etc directory. An atari800.cfg file
+ # in the current directory will be loaded instead of the
+ # global file, if it exists. Run "atari800 -configure" to
+ # have the emulator prompt for new values
+ insinto /etc
+ doins ${FILESDIR}/${PVR}/atari800.cfg
+}
+
+pkg_postinst() {
+ if [ "`use sdl`" ]
+ then
+ echo ' '
+ echo ' '
+ echo 'The emulator has been compiled using the SDL libraries. By default,'
+ echo 'atari800 switches to fullscreen mode, so a 400x300 entry in your'
+ echo 'XF86Config-4 file is recommended. Otherwise, the emulated Atari'
+ echo 'screen is postage-stamp sized in the middle of your display.'
+ echo ' '
+ echo 'For example, in the "Screen" section of your /etc/XF86Config-4 file,'
+ echo 'add the entry "400x300" to the end of the list of modes:'
+ echo ' '
+ echo ' Section "Screen"'
+ echo ' [...]'
+ echo ' '
+ echo ' Subsection "Display"'
+ echo ' Depth 16'
+ echo ' Modes "1600x1200" "1024x768" "400x300"'
+ echo ' ViewPort 0 0'
+ echo ' EndSubsection'
+ echo ' EndSection'
+ echo ' '
+ echo 'You should not need to specify a modeline for this mode, since in most'
+ echo 'cases it is a standard mode calculated by the X server.'
+ echo ' '
+ echo ' '
+ echo ' '
+ fi
+}
diff --git a/games-emulation/atari800/atari800-1.2.5.ebuild b/games-emulation/atari800/atari800-1.2.5.ebuild
new file mode 100644
index 000000000000..4bb75bb31d3f
--- /dev/null
+++ b/games-emulation/atari800/atari800-1.2.5.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-1.2.5.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="Atari 800 emulator"
+HOMEPAGE="http://atari800.sourceforge.net/"
+SRC_URI="mirror://sourceforge/atari800/${P}.tar.gz
+ mirror://sourceforge/atari800/xf25.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc ~alpha"
+IUSE="sdl"
+
+DEPEND="virtual/x11
+ app-arch/unzip
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+RDEPEND="virtual/x11
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+
+# The atari800-1.2.5-gentoo.diff backs out a "fix" in 1.2.5 over 1.2.4
+# that was supposed to improve sound quality. However, in my testing on
+# two different machines and even ALSA vs. normal sound support, the 1.2.5
+# version was far worse.
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff || die
+}
+
+# The configure script in 1.2.5 changed syntax, but the change wasn't
+# updated in the atari800.spec file as in the previous versions.
+src_compile() {
+ local target
+ target="x11"
+ use sdl && target="sdl"
+
+ local myconf
+ myconf="--enable-crashmenu --enable-break --enable-hints \
+ --enable-asm --enable-cursorblk --enable-led --enable-displayled \
+ --enable-sndclip --enable-linuxjoy --enable-sound"
+
+ cd src
+ ./configure --prefix=/usr --target=$target ${myconf}
+ emake
+ mv atari800.man atari800.1
+}
+
+# The makefile doesn't supply an install routine, so we have to do it
+# ourselves.
+src_install () {
+ into /usr
+ dodir /usr/bin /usr/share/man/man1 /usr/share/atari800
+ dobin src/atari800
+ doman src/atari800.1
+ dodoc COPYING README.1ST DOC/USAGE DOC/README DOC/NEWS DOC/FAQ DOC/CREDITS DOC/BUGS DOC/LPTjoy.txt DOC/cart.txt DOC/pokeysnd.txt
+ insinto /usr/share/atari800
+ doins ${WORKDIR}/*.ROM
+
+ # Basic config file for /etc directory. An atari800.cfg file
+ # in the current directory will be loaded instead of the
+ # global file, if it exists. Run "atari800 -configure" to
+ # have the emulator prompt for new values
+ insinto /etc
+ doins ${FILESDIR}/${PVR}/atari800.cfg
+}
+
+pkg_postinst() {
+ if [ "`use sdl`" ]
+ then
+ echo ' '
+ echo ' '
+ echo 'The emulator has been compiled using the SDL libraries. By default,'
+ echo 'atari800 switches to fullscreen mode, so a 400x300 entry in your'
+ echo 'XF86Config-4 file is recommended. Otherwise, the emulated Atari'
+ echo 'screen is postage-stamp sized in the middle of your display.'
+ echo ' '
+ echo 'For example, in the "Screen" section of your /etc/XF86Config-4 file,'
+ echo 'add the entry "400x300" to the end of the list of modes:'
+ echo ' '
+ echo ' Section "Screen"'
+ echo ' [...]'
+ echo ' '
+ echo ' Subsection "Display"'
+ echo ' Depth 16'
+ echo ' Modes "1600x1200" "1024x768" "400x300"'
+ echo ' ViewPort 0 0'
+ echo ' EndSubsection'
+ echo ' EndSection'
+ echo ' '
+ echo 'You should not need to specify a modeline for this mode, since in most'
+ echo 'cases it is a standard mode calculated by the X server.'
+ echo ' '
+ echo ' '
+ echo ' '
+ fi
+}
diff --git a/games-emulation/atari800/atari800-1.3.0-r1.ebuild b/games-emulation/atari800/atari800-1.3.0-r1.ebuild
new file mode 100644
index 000000000000..e28a1820b058
--- /dev/null
+++ b/games-emulation/atari800/atari800-1.3.0-r1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-1.3.0-r1.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="Atari 800 emulator"
+HOMEPAGE="http://atari800.sourceforge.net/"
+SRC_URI="mirror://sourceforge/atari800/${P}.tar.gz
+ mirror://sourceforge/atari800/xf25.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc sparc alpha"
+IUSE="sdl"
+
+RDEPEND="virtual/x11
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}/src
+ epatch ${FILESDIR}/${P}-security.patch
+}
+
+# The configure script in 1.2.5 changed syntax, but the change wasn't
+# updated in the atari800.spec file as in the previous versions.
+src_compile() {
+ local target
+ target="x11"
+ use sdl && target="sdl"
+
+ local myconf
+ myconf="--enable-crashmenu --enable-break --enable-hints \
+ --enable-asm --enable-cursorblk --enable-led --enable-displayled \
+ --enable-sndclip --enable-linuxjoy --enable-sound"
+
+ cd src
+ ./configure --prefix=/usr --target=$target ${myconf}
+ emake || die "emake failed"
+ mv atari800.man atari800.1
+}
+
+# The makefile doesn't supply an install routine, so we have to do it
+# ourselves.
+src_install () {
+ into /usr
+ dodir /usr/bin /usr/share/man/man1 /usr/share/atari800
+ dobin src/atari800
+ doman src/atari800.1
+ dodoc COPYING README.1ST DOC/USAGE DOC/README DOC/NEWS DOC/FAQ DOC/CREDITS DOC/BUGS DOC/LPTjoy.txt DOC/cart.txt DOC/pokeysnd.txt
+ insinto /usr/share/atari800
+ doins ${WORKDIR}/*.ROM
+
+ # Basic config file for /etc directory. An atari800.cfg file
+ # in the current directory will be loaded instead of the
+ # global file, if it exists. Run "atari800 -configure" to
+ # have the emulator prompt for new values
+ insinto /etc
+ doins ${FILESDIR}/${PV}/atari800.cfg
+}
+
+pkg_postinst() {
+ if [ "`use sdl`" ] ; then
+ echo
+ echo
+ einfo 'The emulator has been compiled using the SDL libraries. By default,'
+ einfo 'atari800 switches to fullscreen mode, so a 400x300 entry in your'
+ einfo 'XF86Config-4 file is recommended. Otherwise, the emulated Atari'
+ einfo 'screen is postage-stamp sized in the middle of your display.'
+ echo
+ einfo 'For example, in the "Screen" section of your /etc/XF86Config-4 file,'
+ einfo 'add the entry "400x300" to the end of the list of modes:'
+ echo
+ einfo ' Section "Screen"'
+ einfo ' [...]'
+ einfo
+ einfo ' Subsection "Display"'
+ einfo ' Depth 16'
+ einfo ' Modes "1600x1200" "1024x768" "400x300"'
+ einfo ' ViewPort 0 0'
+ einfo ' EndSubsection'
+ einfo ' EndSection'
+ echo
+ einfo 'You should not need to specify a modeline for this mode,'
+ einfo 'since in most cases it is a standard mode calculated by'
+ einfo 'the X server.'
+ echo
+ echo
+ echo
+ fi
+}
diff --git a/games-emulation/atari800/atari800-1.3.0.ebuild b/games-emulation/atari800/atari800-1.3.0.ebuild
new file mode 100644
index 000000000000..c2d79061ee17
--- /dev/null
+++ b/games-emulation/atari800/atari800-1.3.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/atari800/atari800-1.3.0.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="Atari 800 emulator"
+HOMEPAGE="http://atari800.sourceforge.net/"
+SRC_URI="mirror://sourceforge/atari800/${P}.tar.gz
+ mirror://sourceforge/atari800/xf25.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc sparc alpha"
+IUSE="sdl"
+
+RDEPEND="virtual/x11
+ sdl? ( >=media-libs/libsdl-1.2.0 )"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+# The configure script in 1.2.5 changed syntax, but the change wasn't
+# updated in the atari800.spec file as in the previous versions.
+src_compile() {
+ local target
+ target="x11"
+ use sdl && target="sdl"
+
+ local myconf
+ myconf="--enable-crashmenu --enable-break --enable-hints \
+ --enable-asm --enable-cursorblk --enable-led --enable-displayled \
+ --enable-sndclip --enable-linuxjoy --enable-sound"
+
+ cd src
+ ./configure --prefix=/usr --target=$target ${myconf}
+ emake || die "emake failed"
+ mv atari800.man atari800.1
+}
+
+# The makefile doesn't supply an install routine, so we have to do it
+# ourselves.
+src_install () {
+ into /usr
+ dodir /usr/bin /usr/share/man/man1 /usr/share/atari800
+ dobin src/atari800
+ doman src/atari800.1
+ dodoc COPYING README.1ST DOC/USAGE DOC/README DOC/NEWS DOC/FAQ DOC/CREDITS DOC/BUGS DOC/LPTjoy.txt DOC/cart.txt DOC/pokeysnd.txt
+ insinto /usr/share/atari800
+ doins ${WORKDIR}/*.ROM
+
+ # Basic config file for /etc directory. An atari800.cfg file
+ # in the current directory will be loaded instead of the
+ # global file, if it exists. Run "atari800 -configure" to
+ # have the emulator prompt for new values
+ insinto /etc
+ doins ${FILESDIR}/${PVR}/atari800.cfg
+}
+
+pkg_postinst() {
+ if [ "`use sdl`" ] ; then
+ echo
+ echo
+ einfo 'The emulator has been compiled using the SDL libraries. By default,'
+ einfo 'atari800 switches to fullscreen mode, so a 400x300 entry in your'
+ einfo 'XF86Config-4 file is recommended. Otherwise, the emulated Atari'
+ einfo 'screen is postage-stamp sized in the middle of your display.'
+ echo
+ einfo 'For example, in the "Screen" section of your /etc/XF86Config-4 file,'
+ einfo 'add the entry "400x300" to the end of the list of modes:'
+ echo
+ einfo ' Section "Screen"'
+ einfo ' [...]'
+ einfo
+ einfo ' Subsection "Display"'
+ einfo ' Depth 16'
+ einfo ' Modes "1600x1200" "1024x768" "400x300"'
+ einfo ' ViewPort 0 0'
+ einfo ' EndSubsection'
+ einfo ' EndSection'
+ echo
+ einfo 'You should not need to specify a modeline for this mode,'
+ einfo 'since in most cases it is a standard mode calculated by'
+ einfo 'the X server.'
+ echo
+ echo
+ echo
+ fi
+}
diff --git a/games-emulation/atari800/files/1.2.2/atari800.1 b/games-emulation/atari800/files/1.2.2/atari800.1
new file mode 100644
index 000000000000..3484b327e6f2
--- /dev/null
+++ b/games-emulation/atari800/files/1.2.2/atari800.1
@@ -0,0 +1,661 @@
+.TH ATARI800 1 "26 February 2002"
+.SH NAME
+atari800 \- Atari 800 Emulator, Version 1.2.2
+.SH SYNOPSIS
+\fBatari800\fP [options] [diskfiles...]
+.SH DESCRIPTION
+\fIatari800\fP emulates the Atari 800, Atari 800 XL, Atari 130 XE and
+Atari 5200 Games System.
+.SS Options
+.TP
+\fB-help
+Print emulator version.
+.TP
+\fB-v
+Print emulator version.
+.TP
+\fB-verbose
+Display framerate when exiting
+.TP
+\fB-configure
+Starts emulator in run-time configuration mode.
+.TP
+\fB-config filename
+Specify an alternative configuration filename.
+
+.TP
+\fB-osa_rom filename
+Path to file containing Atari Rev.A Operating System.
+Used to override paths defined at compile time.
+.TP
+\fB-osb_rom filename
+Path to file containing Atari Rev.B Operating System.
+Used to override paths defined at compile time.
+.TP
+\fB-xlxe_rom filename
+Path to file containing Atari XL/XE Operating System.
+Used to override paths defined at compile time.
+.TP
+\fB-5200_rom filename
+Path to file containing Atari 5200 Games System ROM.
+Used to override paths defined at compile time.
+.TP
+\fB-basic_rom filename
+Path to file containing Atari BASIC ROM.
+Used to override paths defined at compile time.
+
+.TP
+\fB-xl
+Emulate Atari 800 XL.
+.TP
+\fB-xe
+Emulate Atari 130 XE - but Antic accesses the same bank the CPU is using.
+.TP
+\fB-320xe
+Emulate Atari 320 XE (Compy Shop)
+.TP
+\fB-rambo
+Emulate Atari 320 XE (Rambo)
+.TP
+\fB-5200
+Emulate Atari 5200 - Games controller emulation has not been implemented yet!
+.TP
+\fB-emuos
+Use EmuOS
+
+.TP
+\fB-a
+Use Atari OS/A.
+.TP
+\fB-b
+Use Atari OS/B.
+.TP
+\fB-c
+Enable RAM between $c000 and $d000.
+
+.TP
+\fB-pal
+Emulate PAL TV mode
+.TP
+\fB-ntsc
+Emulate NTSC TV mode
+
+.TP
+\fB-nobasic
+Used to disable Basic when starting the emulator in XL/XE mode.
+Simulates the Option key being held down during system boot.
+.TP
+\fB-basic
+Turn on Atari BASIC ROM
+
+.TP
+\fB-cart <filename>
+Insert cartridge (CART or raw format)
+.TP
+\fB-run <filename>
+Run Atari executable file (EXE, COM, XEX)
+.TP
+\fB-tape <filename>
+Attach cassette image (CAS format or raw file)
+.TP
+\fB-boottape <filename>
+Attach cassette image and boot it
+
+.TP
+\fB-nopatch
+Normally the OS is patched giving very fast I/O. This options prevents
+the patch from being applied so that the OS accesses the serial port
+hardware directly. This option will probably never be needed since
+programs that access the serial hardware should work even if the OS
+has been patched.
+.TP
+\fB-nopatchall
+Don't patch OS at all, H: and P: devices won't work
+
+.TP
+\fB-H1 <path>
+Set path for H1: device
+.TP
+\fB-H2 <path>
+Set path for H2: device
+.TP
+\fB-H3 <path>
+Set path for H3: device
+.TP
+\fB-H4 <path>
+Set path for H4: device
+.TP
+\fB-hdreadonly <onoff>
+Enable (1) or disable (0) read-only mode for H: device
+.TP
+\fB-devbug
+Put debugging messages for H: and P: devices in log file
+
+.TP
+\fB-rtime <onoff>
+Enable (1) or disable (0) R-Time 8 emulation
+
+.TP
+\fB-mouse off
+Do not use mouse
+.TP
+\fB-mouse pad
+Emulate paddles
+.TP
+\fB-mouse touch
+Emulate Atari Touch Tablet
+.TP
+\fB-mouse koala
+Emulate Koala Pad
+.TP
+\fB-mouse pen
+Emulate Light Pen
+.TP
+\fB-mouse gun
+Emulate Light Gun
+.TP
+\fB-mouse amiga
+Emulate Amiga mouse
+.TP
+\fB-mouse st
+Emulate Atari ST mouse
+.TP
+\fB-mouse trak
+Emulate Atari Trak-Ball
+.TP
+\fB-mouse joy
+Emulate joystick using mouse
+.TP
+\fB-mouseport <num>
+Set mouse port 1-4 (default 1)
+.TP
+\fB-mousespeed <num>
+Set mouse speed 1-9 (default 3)
+
+.TP
+\fB-refresh
+Controls screen refresh rate. A numerical value follows this option
+which specifies how many emulated screen updates are required before
+the actual screen is updated. This value effects the speed of the
+emulation: A higher value results in faster CPU emulation but a
+less frequently updated screen.
+
+.TP
+\fB-artif <mode>
+Set artifacting mode 0-4 (0 = disable)
+.TP
+\fB-palette <filename>
+Read Atari colors from ACT file
+.TP
+\fB-black <num>
+Set black level 0-255
+.TP
+\fB-while <num>
+Set white level 0-255
+.TP
+\fB-colors <num>
+Set color intensity
+.TP
+\fB-colshift <num>
+Set color shift
+.TP
+\fB-realpal
+Use palette created by Zdenek Eisenhammer
+.TP
+\fB-oldpal
+Use old Atari800 palette
+.TP
+\fB-foxpal
+Use palette created by Piotr Fusik
+
+.TP
+\fB-sound
+Enable sound
+.TP
+\fB-nosound
+Disable sound
+.TP
+\fB-dsprate <freq>
+Set mixing frequency (Hz)
+.TP
+\fB-snddelay <time>
+Set sound delay (milliseconds)
+
+
+.SS Curses Options
+.TP
+\fB-left
+Use columns 0 to 39.
+.TP
+\fB-central
+Use columns 20 to 59.
+.TP
+\fB-right
+Use columns 40 to 79.
+.TP
+\fB-wide1
+Use columns 0 to 79. In this mode only the even character positions
+are used. The odd locations are filled with spaces.
+.TP
+\fB-wide2
+Use columns 0 to 79. This mode is similar to \fB-wide1\fP except that
+the spaces are in reverse video if the previous character was also
+in reverse video.
+
+
+.SS Falcon Options
+.TP
+\fB-interlace <x>
+Generate Falcon screen only every x frame
+.TP
+\fB-videl
+Direct VIDEL programming (Falcon/VGA only)
+.TP
+\fB-double
+Double the screen size on NOVA
+.TP
+\fB-delta
+Delta screen output (differences only)
+
+.SS SVGALIB Options
+.TP
+\fB-interlace
+Enable screen interlace option
+
+
+.SS DOS/VGA Options
+.TP
+\fB-interlace
+Generate screen with interlace
+.TP
+\fB-video <mode>
+0=320x200, 1=320x240, 2=320x480 interlaced with black lines, 3=320x480 interlaced with darker lines
+.TP
+\fB-novesa
+Do not use VESA 2 video modes
+.TP
+\fB-vretrace
+Use vertical retrace control
+
+.TP
+\fB-LPTjoy1
+Read joystick connected to LPT1
+.TP
+\fB-LPTjoy2
+Read joystick connected to LPT2
+.TP
+\fB-LPTjoy3
+Read joystick connected to LPT3
+.TP
+\fB-joyswap
+Swap joysticks
+
+.TP
+\fB-keyboard 0
+PC keyboard layout
+.TP
+\fB-keyboard 1
+Atari keyboard layout
+
+
+.SS X11 Options
+.TP
+\fB-small
+Runs the emulator in a small window where each Atari 800 pixel is
+represented by one X Window pixel.
+.TP
+\fB-large
+Runs the emulator in a large window where each Atari 800 pixel is
+represented by a 2x2 X Window rectange. This mode is selected by
+default.
+.TP
+\fB-huge
+Runs the emulator in a huge window where each Atari 800 pixel is
+represented by a 3x3 X Window rectange.
+.TP
+\fB-clip_x number-of-pixels
+Sets left offset for clipping.
+.TP
+\fB-clip_width number-of-pixels
+Sets the width of the clipping-area.
+.TP
+\fB-clip_y number-of-pixels
+Sets top offset for clipping.
+.TP
+\fB-clip_height number-of-pixels
+Sets the height of the clipping-area.
+.TP
+\fB-private_cmap
+Tells the Emulator to use its own private colormap.
+.TP
+\fB-fps
+Show framerate
+.TP
+\fB-sio
+Show SIO monitor
+.TP
+\fB-x11bug
+Enable debug code in atari_x11.c
+
+.TP
+\fB-keypad
+Keypad mode
+
+.SS SDL Options
+.PP
+No SDL-specific options at this time
+
+.PD 0
+
+.SH KEYBOARD, JOYSTICK & PADDLE CONTROLS
+
+.SS Curses
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+Cold Reset
+.TP
+\fBF9
+Exit Emulator
+.TP
+\fBF10
+---
+.TP
+\fBF11
+---
+.TP
+\fBF12
+---
+
+.PP
+Some control have special meaning within curses and should not be used.
+
+ Avoid Control + C, J, M, Q, S and Z
+
+The remaining control characters can be typed. Control characters are
+displayed on the screen with the associated upper case character in bold.
+
+No Joystick or Paddle support in this version.
+
+.SS Falcon
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+Enter monitor
+.TP
+\fBF9
+EXIT Emulator
+.TP
+\fBHelp
+HELP key (800XL/130XE)
+
+.PP
+Joystick 0 is operated by the numeric keypad (make sure that the numeric
+keypad has been enabled).
+
+ 7 8 9
+ \\|/
+ 4 5 6
+ /|\\
+ 1 2 3
+
+ And 0 is the fire key.
+
+At the moment it is not possible to use a Paddle with this version.
+
+.SS SVGALIB
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+Enter monitor
+.TP
+\fBF9
+Exit Emulator
+.TP
+\fBF10
+Save Screenshot (+Shift=interlaced screenshot)
+.TP
+\fBF11
+Joystick Autofire On/Off
+.TP
+\fBF12
+---
+.TP
+\fB`
+This character replaces the CAPS lock key because I have not found a
+way of detecting it. A future solution maybe to automatically issue a
+CAPS lock key when a transition is made between lower and upper case
+keys. i.e. If svgalib return 'a' followed by 'A' it could send 'a'
+'CAPS' 'A' to the Atari.
+
+.PP
+The CTRL+SHIFT keyboard combinations are implemented using the left
+ALT key.
+
+Joystick 0 is operated by the numeric keypad (make sure that the numeric
+keypad has been enabled).
+
+ 7 8 9
+ \\|/
+ 4 5 6
+ /|\\
+ 1 2 3
+
+ And 0 is the fire key.
+
+At the moment it is not possible to use a Paddle with the SVGALIB
+version.
+
+.SS DOS/VGA
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option Key
+.TP
+\fBF3
+Select Key
+.TP
+\fBF4
+Start Key
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+PIL Mode (Atari800) / Help Key (XL/XE)
+.TP
+\fBF7
+Switch between Emulated joysticks mode and Normal keyboard
+.TP
+\fBF8
+Enter monitor
+.TP
+\fBF9
+EXIT Emulator
+.TP
+\fBF10
+Save Screenshot (+Shift=interlaced screenshot)
+
+.PP
+Control-C terminates the program; to type Control-c, type ALT-c instead.
+` is used as the Atari-Invers key
+
+Joysticks can be either real one connected to game port, or old 8-bit
+digital CX-40 joysticks connected to parallel port or keyboard joysticks
+(try out JOYCFG.EXE).
+
+At the moment it is not possible to use a Paddle with this version.
+
+.SS X11
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+---
+.TP
+\fBF9
+Exit Emulator
+.TP
+\fBF10
+---
+.TP
+\fBF11
+Vertical Positioning: Scroll Screen Downwards
+.TP
+\fBF12
+Vertical Positioning: Scroll Screen Upwards
+.TP
+\fBALT
+Atari Key (Either ALT Key will work)
+
+.PP
+Joystick 0 is operated by the mouse position relative to the center of
+the screen. The mouse button acts as the trigger. On Linux, standard
+joysticks are also supported.
+
+Paddle 0 is operated by moving the mouse pointer across the window.
+
+.SS SDL
+.TP
+\fBLALT+f
+switching FULLSCREEN (probably doesn't work in Windows)
+.TP
+\fBLALT+g
+switching WIDTH_MODE (so you can set 320x240)
+.TP
+\fBLALT+b
+switching BLACK-AND-WHITE (feel to power of BW monitor!)
+.TP
+\fBLALT+j
+swapping _keyboard_emulated_ joysticks
+.TP
+\fBLALT+e
+switching bpp (for debug only, will be removed soon)
+
+.PP
+To redefine keys for joystick emulation you must modify SDL_TRIG_* and
+SDL_JOY_* in atari_sdl.c, then recompile Atari800. In source you can
+also turn off sound or change defaults (FULLSCREEN, BW,
+SWAP_JOYSTICKS, WIDTH_MODE).
+
+On Linux, standard joysticks are supported.
+
+
+.PD 1
+
+.SH FILES
+.TP
+\fI/usr/share/atari800/ATARIOSA.ROM\fR
+Atari O/S A
+.TP
+\fI/usr/share/atari800/ATARIOSB.ROM\fR
+Atari O/S B
+.TP
+\fI/usr/share/atari800/ATARIXL.ROM\fR
+Atari 800 XL O/S
+.TP
+\fI/usr/share/atari800/ATARI5200.ROM\fR
+Atari 5200 O/S
+.TP
+\fI/usr/share/atari800/ATARIBAS.ROM\fR
+Atari Basic
+.SH BUGS
+A few programs cause the emulator to enter its built in debugger. The
+reason for this is unknown at the moment.
+
+The SDL port doesn't seem to recognize the
+.B -help
+option. \ No newline at end of file
diff --git a/games-emulation/atari800/files/1.2.2/atari800.cfg b/games-emulation/atari800/files/1.2.2/atari800.cfg
new file mode 100644
index 000000000000..aae3f9b51fa2
--- /dev/null
+++ b/games-emulation/atari800/files/1.2.2/atari800.cfg
@@ -0,0 +1,24 @@
+Atari 800 Emulator, Version 1.2.2
+OS/A_ROM=atariosa.rom
+OS/B_ROM=/usr/share/atari800/ATARIOSB.ROM
+XL/XE_ROM=/usr/share/atari800/ATARIXL.ROM
+BASIC_ROM=/usr/share/atari800/ATARIBAS.ROM
+5200_ROM=
+DISK_DIR=
+ROM_DIR=
+H1_DIR=
+H2_DIR=
+H3_DIR=
+H4_DIR=
+HD_READ_ONLY=1
+EXE_DIR=
+STATE_DIR=
+PRINT_COMMAND=lpr %s
+SCREEN_REFRESH_RATIO=1
+MACHINE_TYPE=Atari OS/B
+RAM_SIZE=48
+DEFAULT_TV_MODE=NTSC
+DISABLE_BASIC=1
+ENABLE_SIO_PATCH=1
+ENABLE_H_PATCH=1
+ENABLE_P_PATCH=1
diff --git a/games-emulation/atari800/files/1.2.5/atari800.1 b/games-emulation/atari800/files/1.2.5/atari800.1
new file mode 100644
index 000000000000..3484b327e6f2
--- /dev/null
+++ b/games-emulation/atari800/files/1.2.5/atari800.1
@@ -0,0 +1,661 @@
+.TH ATARI800 1 "26 February 2002"
+.SH NAME
+atari800 \- Atari 800 Emulator, Version 1.2.2
+.SH SYNOPSIS
+\fBatari800\fP [options] [diskfiles...]
+.SH DESCRIPTION
+\fIatari800\fP emulates the Atari 800, Atari 800 XL, Atari 130 XE and
+Atari 5200 Games System.
+.SS Options
+.TP
+\fB-help
+Print emulator version.
+.TP
+\fB-v
+Print emulator version.
+.TP
+\fB-verbose
+Display framerate when exiting
+.TP
+\fB-configure
+Starts emulator in run-time configuration mode.
+.TP
+\fB-config filename
+Specify an alternative configuration filename.
+
+.TP
+\fB-osa_rom filename
+Path to file containing Atari Rev.A Operating System.
+Used to override paths defined at compile time.
+.TP
+\fB-osb_rom filename
+Path to file containing Atari Rev.B Operating System.
+Used to override paths defined at compile time.
+.TP
+\fB-xlxe_rom filename
+Path to file containing Atari XL/XE Operating System.
+Used to override paths defined at compile time.
+.TP
+\fB-5200_rom filename
+Path to file containing Atari 5200 Games System ROM.
+Used to override paths defined at compile time.
+.TP
+\fB-basic_rom filename
+Path to file containing Atari BASIC ROM.
+Used to override paths defined at compile time.
+
+.TP
+\fB-xl
+Emulate Atari 800 XL.
+.TP
+\fB-xe
+Emulate Atari 130 XE - but Antic accesses the same bank the CPU is using.
+.TP
+\fB-320xe
+Emulate Atari 320 XE (Compy Shop)
+.TP
+\fB-rambo
+Emulate Atari 320 XE (Rambo)
+.TP
+\fB-5200
+Emulate Atari 5200 - Games controller emulation has not been implemented yet!
+.TP
+\fB-emuos
+Use EmuOS
+
+.TP
+\fB-a
+Use Atari OS/A.
+.TP
+\fB-b
+Use Atari OS/B.
+.TP
+\fB-c
+Enable RAM between $c000 and $d000.
+
+.TP
+\fB-pal
+Emulate PAL TV mode
+.TP
+\fB-ntsc
+Emulate NTSC TV mode
+
+.TP
+\fB-nobasic
+Used to disable Basic when starting the emulator in XL/XE mode.
+Simulates the Option key being held down during system boot.
+.TP
+\fB-basic
+Turn on Atari BASIC ROM
+
+.TP
+\fB-cart <filename>
+Insert cartridge (CART or raw format)
+.TP
+\fB-run <filename>
+Run Atari executable file (EXE, COM, XEX)
+.TP
+\fB-tape <filename>
+Attach cassette image (CAS format or raw file)
+.TP
+\fB-boottape <filename>
+Attach cassette image and boot it
+
+.TP
+\fB-nopatch
+Normally the OS is patched giving very fast I/O. This options prevents
+the patch from being applied so that the OS accesses the serial port
+hardware directly. This option will probably never be needed since
+programs that access the serial hardware should work even if the OS
+has been patched.
+.TP
+\fB-nopatchall
+Don't patch OS at all, H: and P: devices won't work
+
+.TP
+\fB-H1 <path>
+Set path for H1: device
+.TP
+\fB-H2 <path>
+Set path for H2: device
+.TP
+\fB-H3 <path>
+Set path for H3: device
+.TP
+\fB-H4 <path>
+Set path for H4: device
+.TP
+\fB-hdreadonly <onoff>
+Enable (1) or disable (0) read-only mode for H: device
+.TP
+\fB-devbug
+Put debugging messages for H: and P: devices in log file
+
+.TP
+\fB-rtime <onoff>
+Enable (1) or disable (0) R-Time 8 emulation
+
+.TP
+\fB-mouse off
+Do not use mouse
+.TP
+\fB-mouse pad
+Emulate paddles
+.TP
+\fB-mouse touch
+Emulate Atari Touch Tablet
+.TP
+\fB-mouse koala
+Emulate Koala Pad
+.TP
+\fB-mouse pen
+Emulate Light Pen
+.TP
+\fB-mouse gun
+Emulate Light Gun
+.TP
+\fB-mouse amiga
+Emulate Amiga mouse
+.TP
+\fB-mouse st
+Emulate Atari ST mouse
+.TP
+\fB-mouse trak
+Emulate Atari Trak-Ball
+.TP
+\fB-mouse joy
+Emulate joystick using mouse
+.TP
+\fB-mouseport <num>
+Set mouse port 1-4 (default 1)
+.TP
+\fB-mousespeed <num>
+Set mouse speed 1-9 (default 3)
+
+.TP
+\fB-refresh
+Controls screen refresh rate. A numerical value follows this option
+which specifies how many emulated screen updates are required before
+the actual screen is updated. This value effects the speed of the
+emulation: A higher value results in faster CPU emulation but a
+less frequently updated screen.
+
+.TP
+\fB-artif <mode>
+Set artifacting mode 0-4 (0 = disable)
+.TP
+\fB-palette <filename>
+Read Atari colors from ACT file
+.TP
+\fB-black <num>
+Set black level 0-255
+.TP
+\fB-while <num>
+Set white level 0-255
+.TP
+\fB-colors <num>
+Set color intensity
+.TP
+\fB-colshift <num>
+Set color shift
+.TP
+\fB-realpal
+Use palette created by Zdenek Eisenhammer
+.TP
+\fB-oldpal
+Use old Atari800 palette
+.TP
+\fB-foxpal
+Use palette created by Piotr Fusik
+
+.TP
+\fB-sound
+Enable sound
+.TP
+\fB-nosound
+Disable sound
+.TP
+\fB-dsprate <freq>
+Set mixing frequency (Hz)
+.TP
+\fB-snddelay <time>
+Set sound delay (milliseconds)
+
+
+.SS Curses Options
+.TP
+\fB-left
+Use columns 0 to 39.
+.TP
+\fB-central
+Use columns 20 to 59.
+.TP
+\fB-right
+Use columns 40 to 79.
+.TP
+\fB-wide1
+Use columns 0 to 79. In this mode only the even character positions
+are used. The odd locations are filled with spaces.
+.TP
+\fB-wide2
+Use columns 0 to 79. This mode is similar to \fB-wide1\fP except that
+the spaces are in reverse video if the previous character was also
+in reverse video.
+
+
+.SS Falcon Options
+.TP
+\fB-interlace <x>
+Generate Falcon screen only every x frame
+.TP
+\fB-videl
+Direct VIDEL programming (Falcon/VGA only)
+.TP
+\fB-double
+Double the screen size on NOVA
+.TP
+\fB-delta
+Delta screen output (differences only)
+
+.SS SVGALIB Options
+.TP
+\fB-interlace
+Enable screen interlace option
+
+
+.SS DOS/VGA Options
+.TP
+\fB-interlace
+Generate screen with interlace
+.TP
+\fB-video <mode>
+0=320x200, 1=320x240, 2=320x480 interlaced with black lines, 3=320x480 interlaced with darker lines
+.TP
+\fB-novesa
+Do not use VESA 2 video modes
+.TP
+\fB-vretrace
+Use vertical retrace control
+
+.TP
+\fB-LPTjoy1
+Read joystick connected to LPT1
+.TP
+\fB-LPTjoy2
+Read joystick connected to LPT2
+.TP
+\fB-LPTjoy3
+Read joystick connected to LPT3
+.TP
+\fB-joyswap
+Swap joysticks
+
+.TP
+\fB-keyboard 0
+PC keyboard layout
+.TP
+\fB-keyboard 1
+Atari keyboard layout
+
+
+.SS X11 Options
+.TP
+\fB-small
+Runs the emulator in a small window where each Atari 800 pixel is
+represented by one X Window pixel.
+.TP
+\fB-large
+Runs the emulator in a large window where each Atari 800 pixel is
+represented by a 2x2 X Window rectange. This mode is selected by
+default.
+.TP
+\fB-huge
+Runs the emulator in a huge window where each Atari 800 pixel is
+represented by a 3x3 X Window rectange.
+.TP
+\fB-clip_x number-of-pixels
+Sets left offset for clipping.
+.TP
+\fB-clip_width number-of-pixels
+Sets the width of the clipping-area.
+.TP
+\fB-clip_y number-of-pixels
+Sets top offset for clipping.
+.TP
+\fB-clip_height number-of-pixels
+Sets the height of the clipping-area.
+.TP
+\fB-private_cmap
+Tells the Emulator to use its own private colormap.
+.TP
+\fB-fps
+Show framerate
+.TP
+\fB-sio
+Show SIO monitor
+.TP
+\fB-x11bug
+Enable debug code in atari_x11.c
+
+.TP
+\fB-keypad
+Keypad mode
+
+.SS SDL Options
+.PP
+No SDL-specific options at this time
+
+.PD 0
+
+.SH KEYBOARD, JOYSTICK & PADDLE CONTROLS
+
+.SS Curses
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+Cold Reset
+.TP
+\fBF9
+Exit Emulator
+.TP
+\fBF10
+---
+.TP
+\fBF11
+---
+.TP
+\fBF12
+---
+
+.PP
+Some control have special meaning within curses and should not be used.
+
+ Avoid Control + C, J, M, Q, S and Z
+
+The remaining control characters can be typed. Control characters are
+displayed on the screen with the associated upper case character in bold.
+
+No Joystick or Paddle support in this version.
+
+.SS Falcon
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+Enter monitor
+.TP
+\fBF9
+EXIT Emulator
+.TP
+\fBHelp
+HELP key (800XL/130XE)
+
+.PP
+Joystick 0 is operated by the numeric keypad (make sure that the numeric
+keypad has been enabled).
+
+ 7 8 9
+ \\|/
+ 4 5 6
+ /|\\
+ 1 2 3
+
+ And 0 is the fire key.
+
+At the moment it is not possible to use a Paddle with this version.
+
+.SS SVGALIB
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+Enter monitor
+.TP
+\fBF9
+Exit Emulator
+.TP
+\fBF10
+Save Screenshot (+Shift=interlaced screenshot)
+.TP
+\fBF11
+Joystick Autofire On/Off
+.TP
+\fBF12
+---
+.TP
+\fB`
+This character replaces the CAPS lock key because I have not found a
+way of detecting it. A future solution maybe to automatically issue a
+CAPS lock key when a transition is made between lower and upper case
+keys. i.e. If svgalib return 'a' followed by 'A' it could send 'a'
+'CAPS' 'A' to the Atari.
+
+.PP
+The CTRL+SHIFT keyboard combinations are implemented using the left
+ALT key.
+
+Joystick 0 is operated by the numeric keypad (make sure that the numeric
+keypad has been enabled).
+
+ 7 8 9
+ \\|/
+ 4 5 6
+ /|\\
+ 1 2 3
+
+ And 0 is the fire key.
+
+At the moment it is not possible to use a Paddle with the SVGALIB
+version.
+
+.SS DOS/VGA
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option Key
+.TP
+\fBF3
+Select Key
+.TP
+\fBF4
+Start Key
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+PIL Mode (Atari800) / Help Key (XL/XE)
+.TP
+\fBF7
+Switch between Emulated joysticks mode and Normal keyboard
+.TP
+\fBF8
+Enter monitor
+.TP
+\fBF9
+EXIT Emulator
+.TP
+\fBF10
+Save Screenshot (+Shift=interlaced screenshot)
+
+.PP
+Control-C terminates the program; to type Control-c, type ALT-c instead.
+` is used as the Atari-Invers key
+
+Joysticks can be either real one connected to game port, or old 8-bit
+digital CX-40 joysticks connected to parallel port or keyboard joysticks
+(try out JOYCFG.EXE).
+
+At the moment it is not possible to use a Paddle with this version.
+
+.SS X11
+.TP
+\fBF1
+Built in User Interface
+.TP
+\fBF2
+Option
+.TP
+\fBF3
+Select
+.TP
+\fBF4
+Start
+.TP
+\fBF5
+Warm Reset
+.TP
+\fBShft+F5
+Cold Reset
+.TP
+\fBF6
+Toggle RAM/ROM between 0x8000 and 0xbfff (PIL Mode)
+.TP
+\fBF7
+Break Key
+.TP
+\fBF8
+---
+.TP
+\fBF9
+Exit Emulator
+.TP
+\fBF10
+---
+.TP
+\fBF11
+Vertical Positioning: Scroll Screen Downwards
+.TP
+\fBF12
+Vertical Positioning: Scroll Screen Upwards
+.TP
+\fBALT
+Atari Key (Either ALT Key will work)
+
+.PP
+Joystick 0 is operated by the mouse position relative to the center of
+the screen. The mouse button acts as the trigger. On Linux, standard
+joysticks are also supported.
+
+Paddle 0 is operated by moving the mouse pointer across the window.
+
+.SS SDL
+.TP
+\fBLALT+f
+switching FULLSCREEN (probably doesn't work in Windows)
+.TP
+\fBLALT+g
+switching WIDTH_MODE (so you can set 320x240)
+.TP
+\fBLALT+b
+switching BLACK-AND-WHITE (feel to power of BW monitor!)
+.TP
+\fBLALT+j
+swapping _keyboard_emulated_ joysticks
+.TP
+\fBLALT+e
+switching bpp (for debug only, will be removed soon)
+
+.PP
+To redefine keys for joystick emulation you must modify SDL_TRIG_* and
+SDL_JOY_* in atari_sdl.c, then recompile Atari800. In source you can
+also turn off sound or change defaults (FULLSCREEN, BW,
+SWAP_JOYSTICKS, WIDTH_MODE).
+
+On Linux, standard joysticks are supported.
+
+
+.PD 1
+
+.SH FILES
+.TP
+\fI/usr/share/atari800/ATARIOSA.ROM\fR
+Atari O/S A
+.TP
+\fI/usr/share/atari800/ATARIOSB.ROM\fR
+Atari O/S B
+.TP
+\fI/usr/share/atari800/ATARIXL.ROM\fR
+Atari 800 XL O/S
+.TP
+\fI/usr/share/atari800/ATARI5200.ROM\fR
+Atari 5200 O/S
+.TP
+\fI/usr/share/atari800/ATARIBAS.ROM\fR
+Atari Basic
+.SH BUGS
+A few programs cause the emulator to enter its built in debugger. The
+reason for this is unknown at the moment.
+
+The SDL port doesn't seem to recognize the
+.B -help
+option. \ No newline at end of file
diff --git a/games-emulation/atari800/files/1.2.5/atari800.cfg b/games-emulation/atari800/files/1.2.5/atari800.cfg
new file mode 100644
index 000000000000..aae3f9b51fa2
--- /dev/null
+++ b/games-emulation/atari800/files/1.2.5/atari800.cfg
@@ -0,0 +1,24 @@
+Atari 800 Emulator, Version 1.2.2
+OS/A_ROM=atariosa.rom
+OS/B_ROM=/usr/share/atari800/ATARIOSB.ROM
+XL/XE_ROM=/usr/share/atari800/ATARIXL.ROM
+BASIC_ROM=/usr/share/atari800/ATARIBAS.ROM
+5200_ROM=
+DISK_DIR=
+ROM_DIR=
+H1_DIR=
+H2_DIR=
+H3_DIR=
+H4_DIR=
+HD_READ_ONLY=1
+EXE_DIR=
+STATE_DIR=
+PRINT_COMMAND=lpr %s
+SCREEN_REFRESH_RATIO=1
+MACHINE_TYPE=Atari OS/B
+RAM_SIZE=48
+DEFAULT_TV_MODE=NTSC
+DISABLE_BASIC=1
+ENABLE_SIO_PATCH=1
+ENABLE_H_PATCH=1
+ENABLE_P_PATCH=1
diff --git a/games-emulation/atari800/files/1.3.0/atari800.cfg b/games-emulation/atari800/files/1.3.0/atari800.cfg
new file mode 100644
index 000000000000..aae3f9b51fa2
--- /dev/null
+++ b/games-emulation/atari800/files/1.3.0/atari800.cfg
@@ -0,0 +1,24 @@
+Atari 800 Emulator, Version 1.2.2
+OS/A_ROM=atariosa.rom
+OS/B_ROM=/usr/share/atari800/ATARIOSB.ROM
+XL/XE_ROM=/usr/share/atari800/ATARIXL.ROM
+BASIC_ROM=/usr/share/atari800/ATARIBAS.ROM
+5200_ROM=
+DISK_DIR=
+ROM_DIR=
+H1_DIR=
+H2_DIR=
+H3_DIR=
+H4_DIR=
+HD_READ_ONLY=1
+EXE_DIR=
+STATE_DIR=
+PRINT_COMMAND=lpr %s
+SCREEN_REFRESH_RATIO=1
+MACHINE_TYPE=Atari OS/B
+RAM_SIZE=48
+DEFAULT_TV_MODE=NTSC
+DISABLE_BASIC=1
+ENABLE_SIO_PATCH=1
+ENABLE_H_PATCH=1
+ENABLE_P_PATCH=1
diff --git a/games-emulation/atari800/files/atari800-1.2.2-gentoo.diff b/games-emulation/atari800/files/atari800-1.2.2-gentoo.diff
new file mode 100644
index 000000000000..a9df9fdc32ce
--- /dev/null
+++ b/games-emulation/atari800/files/atari800-1.2.2-gentoo.diff
@@ -0,0 +1,12 @@
+diff -u -r atari800-1.2.2-ORIG/src/configure atari800-1.2.2/src/configure
+--- atari800-1.2.2-ORIG/src/configure Mon Dec 31 06:16:27 2001
++++ atari800-1.2.2/src/configure Mon Feb 25 10:15:47 2002
+@@ -883,7 +883,7 @@
+ ;;
+ mingw32 ) a800_host=win;;
+ msdosdjgpp ) a800_host=dos;;
+- linux ) a800_host=linux;;
++ *linux* ) a800_host=linux;;
+ mint ) a800_host=falcon;;
+ esac
+
diff --git a/games-emulation/atari800/files/atari800-1.2.5-gentoo.diff b/games-emulation/atari800/files/atari800-1.2.5-gentoo.diff
new file mode 100644
index 000000000000..9af2474f97e0
--- /dev/null
+++ b/games-emulation/atari800/files/atari800-1.2.5-gentoo.diff
@@ -0,0 +1,46 @@
+--- atari800-1.2.5/src/pokeysnd.c 2002-12-04 22:21:39.000000000 -0500
++++ atari800-1.2.4/src/pokeysnd.c 2001-07-22 04:24:47.000000000 -0400
+@@ -1,4 +1,4 @@
+-/* $Id: atari800-1.2.5-gentoo.diff,v 1.1 2003/09/09 16:26:49 vapier Exp $ */
++/* $Id: atari800-1.2.5-gentoo.diff,v 1.1 2003/09/09 16:26:49 vapier Exp $ */
+ /*****************************************************************************/
+ /* */
+ /* Module: POKEY Chip Emulator, V2.4 */
+@@ -533,8 +533,8 @@
+ /* or the channel is off (volume == 0) */
+ /* or the channel freq is greater than the playback freq */
+ if ( (AUDC[chan + chip_offs] & VOL_ONLY) ||
+- ((AUDC[chan + chip_offs] & VOLUME_MASK) == 0)
+- /* || (Div_n_max[chan + chip_offs] < (Samp_n_max >> 8))*/) {
++ ((AUDC[chan + chip_offs] & VOLUME_MASK) == 0) ||
++ (Div_n_max[chan + chip_offs] < (Samp_n_max >> 8))) {
+ /* indicate the channel is 'on' */
+ Outvol[chan + chip_offs] = 1;
+
+@@ -542,8 +542,8 @@
+ if ((chan == CHAN3 && !(AUDCTL[chip] & CH1_FILTER)) ||
+ (chan == CHAN4 && !(AUDCTL[chip] & CH2_FILTER)) ||
+ (chan == CHAN1) ||
+- (chan == CHAN2)
+- /* || (Div_n_max[chan + chip_offs] < (Samp_n_max >> 8))*/) {
++ (chan == CHAN2) ||
++ (Div_n_max[chan + chip_offs] < (Samp_n_max >> 8))) {
+ /* and set channel freq to max to reduce processing */
+ Div_n_max[chan + chip_offs] = 0x7fffffffL;
+ Div_n_cnt[chan + chip_offs] = 0x7fffffffL;
+@@ -1068,9 +1068,6 @@
+
+ /*
+ $Log: atari800-1.2.5-gentoo.diff,v $
+ Revision 1.1 2003/09/09 16:26:49 vapier
+ welcome to games-emulation
+
+ Revision 1.1 2003/01/31 22:01:10 rphillips
+ new version. masked. fixes #11605
+
+-Revision 1.9 2002/08/26 05:44:22 pfusik
+-Adam Bienias's fix for better sound quality
+-
+ Revision 1.8 2001/07/22 08:24:47 knik
+ PURE -> PURETONE to avoid windows headers interference
+
diff --git a/games-emulation/atari800/files/atari800-1.3.0-security.patch b/games-emulation/atari800/files/atari800-1.3.0-security.patch
new file mode 100644
index 000000000000..4f25ab684a6f
--- /dev/null
+++ b/games-emulation/atari800/files/atari800-1.3.0-security.patch
@@ -0,0 +1,73 @@
+--- atari.c-orig 2003-02-10 11:22:32.000000000 +0000
++++ atari.c 2003-07-31 23:58:35.000000000 +0100
+@@ -389,16 +389,57 @@
+ tv_mode = TV_PAL;
+ else if (strcmp(argv[i], "-ntsc") == 0)
+ tv_mode = TV_NTSC;
+- else if (strcmp(argv[i], "-osa_rom") == 0)
+- strcpy(atari_osa_filename, argv[++i]);
+- else if (strcmp(argv[i], "-osb_rom") == 0)
+- strcpy(atari_osb_filename, argv[++i]);
+- else if (strcmp(argv[i], "-xlxe_rom") == 0)
+- strcpy(atari_xlxe_filename, argv[++i]);
+- else if (strcmp(argv[i], "-5200_rom") == 0)
+- strcpy(atari_5200_filename, argv[++i]);
+- else if (strcmp(argv[i], "-basic_rom") == 0)
+- strcpy(atari_basic_filename, argv[++i]);
++ else if (strcmp(argv[i], "-osa_rom") == 0) {
++ if ( (i+1) < *argc ) {
++ memset(atari_osa_filename,'\0',sizeof(atari_osa_filename));
++ strncpy(atari_osa_filename, argv[++i], sizeof(atari_osa_filename)-1);
++ }
++ else {
++ printf("Missing argument for '-osa_rom'\n");
++ return( 1 );
++ }
++
++ }
++ else if (strcmp(argv[i], "-osb_rom") == 0) {
++ if ( (i+1) < *argc ) {
++ memset(atari_osb_filename,'\0',sizeof(atari_osb_filename));
++ strncpy(atari_osb_filename, argv[++i],sizeof(atari_osb_filename)-1);
++ }
++ else {
++ printf("Missing argument for '-osb_rom'\n");
++ return( 1 );
++ }
++ }
++ else if (strcmp(argv[i], "-xlxe_rom") == 0) {
++ if ( (i+1) < *argc ) {
++ memset(atari_xlxe_filename,'\0',sizeof(atari_xlxe_filename));
++ strncpy(atari_xlxe_filename, argv[++i], sizeof(atari_xlxe_filename)-1);
++ }
++ else {
++ printf("Missing argument for '-xlxe_rom'\n");
++ return( 1 );
++ }
++ }
++ else if (strcmp(argv[i], "-5200_rom") == 0) {
++ if ( (i+1) < *argc ) {
++ memset(atari_5200_filename,'\0',sizeof(atari_5200_filename));
++ strncpy(atari_5200_filename, argv[++i], sizeof(atari_5200_filename)-1);
++ }
++ else {
++ printf("Missing argument for '-5200_rom'\n");
++ return( 1 );
++ }
++ }
++ else if (strcmp(argv[i], "-basic_rom") == 0) {
++ if ( (i+1) < *argc ) {
++ memset(atari_basic_filename,'\0',sizeof(atari_basic_filename));
++ strncpy(atari_basic_filename, argv[++i], sizeof(atari_basic_filename)-1);
++ }
++ else {
++ printf("Missing argument for '-basic_rom'\n");
++ return( 1 );
++ }
++ }
+ else if (strcmp(argv[i], "-cart") == 0) {
+ rom_filename = argv[++i];
+ }
+
+
+
diff --git a/games-emulation/atari800/files/digest-atari800-1.2.2 b/games-emulation/atari800/files/digest-atari800-1.2.2
new file mode 100644
index 000000000000..94e7a21c1990
--- /dev/null
+++ b/games-emulation/atari800/files/digest-atari800-1.2.2
@@ -0,0 +1,2 @@
+MD5 8e44b40722b4711af7affb135a13960f atari800-1.2.2.tar.gz 462135
+MD5 4dc3b6b4313e9596c4d474785a37b94d xf25.zip 188942
diff --git a/games-emulation/atari800/files/digest-atari800-1.2.5 b/games-emulation/atari800/files/digest-atari800-1.2.5
new file mode 100644
index 000000000000..6e2564a845d6
--- /dev/null
+++ b/games-emulation/atari800/files/digest-atari800-1.2.5
@@ -0,0 +1,2 @@
+MD5 9f4e90498414c307170b62ae3b8ade18 atari800-1.2.5.tar.gz 482781
+MD5 4dc3b6b4313e9596c4d474785a37b94d xf25.zip 188942
diff --git a/games-emulation/atari800/files/digest-atari800-1.3.0 b/games-emulation/atari800/files/digest-atari800-1.3.0
new file mode 100644
index 000000000000..3a9b403feff4
--- /dev/null
+++ b/games-emulation/atari800/files/digest-atari800-1.3.0
@@ -0,0 +1,2 @@
+MD5 2998586f3c69f8a7e50439722e30ffc6 atari800-1.3.0.tar.gz 671467
+MD5 4dc3b6b4313e9596c4d474785a37b94d xf25.zip 188942
diff --git a/games-emulation/atari800/files/digest-atari800-1.3.0-r1 b/games-emulation/atari800/files/digest-atari800-1.3.0-r1
new file mode 100644
index 000000000000..3a9b403feff4
--- /dev/null
+++ b/games-emulation/atari800/files/digest-atari800-1.3.0-r1
@@ -0,0 +1,2 @@
+MD5 2998586f3c69f8a7e50439722e30ffc6 atari800-1.3.0.tar.gz 671467
+MD5 4dc3b6b4313e9596c4d474785a37b94d xf25.zip 188942
diff --git a/games-emulation/blight-glN64/ChangeLog b/games-emulation/blight-glN64/ChangeLog
new file mode 100644
index 000000000000..5d118e5f9120
--- /dev/null
+++ b/games-emulation/blight-glN64/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for app-emulation/blight-glN64
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/blight-glN64/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+*blight-glN64-0.4.1_pre1 (02 Sep 2003)
+
+ 02 Sep 2003; Michael Sterrett <msterret@gentoo.org>
+ blight-glN64-0.4.1_pre1.ebuild:
+ version bump
+
+*blight-glN64-0.3.1 (09 Aug 2003)
+
+ 09 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ blight-glN64-0.3.1.ebuild:
+ initial commit (bug 24887)
+
diff --git a/games-emulation/blight-glN64/Manifest b/games-emulation/blight-glN64/Manifest
new file mode 100644
index 000000000000..b76862b31090
--- /dev/null
+++ b/games-emulation/blight-glN64/Manifest
@@ -0,0 +1,5 @@
+MD5 574d39131d07bd5afd10d3d68a850532 ChangeLog 528
+MD5 04230fe08247e2c22c322c5d0371e73d blight-glN64-0.3.1.ebuild 746
+MD5 d02286e3b48d20ade7e7cc2a19b521ef blight-glN64-0.4.1_pre1.ebuild 748
+MD5 c25840536ecbf07ec58a88566a3d49a1 files/digest-blight-glN64-0.3.1 66
+MD5 d2f2bca612361154241f2b899673230e files/digest-blight-glN64-0.4.1_pre1 64
diff --git a/games-emulation/blight-glN64/blight-glN64-0.3.1.ebuild b/games-emulation/blight-glN64/blight-glN64-0.3.1.ebuild
new file mode 100644
index 000000000000..a91b482b2a8b
--- /dev/null
+++ b/games-emulation/blight-glN64/blight-glN64-0.3.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/blight-glN64/blight-glN64-0.3.1.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+inherit games
+
+S=${WORKDIR}
+MY_P="glNintendo64-${PV}"
+DESCRIPTION="An audio plugin for the mupen64 N64 emulator"
+SRC_URI="http://deltaanime.ath.cx/~blight/n64/blight_glN64_port/${MY_P}.so"
+HOMEPAGE="http://deltaanime.ath.cx/~blight/n64/"
+
+KEYWORDS="x86"
+LICENSE="as-is"
+SLOT="0"
+IUSE=""
+
+RDEPEND="media-libs/libsdl"
+
+src_unpack() {
+ cp ${DISTDIR}/${A} ${WORKDIR} || die "cp failed"
+}
+
+src_install () {
+ exeinto ${GAMES_LIBDIR}/mupen64/plugins
+ doexe ${MY_P}.so || die "doexe failed"
+ prepgamesdirs
+}
diff --git a/games-emulation/blight-glN64/blight-glN64-0.4.1_pre1.ebuild b/games-emulation/blight-glN64/blight-glN64-0.4.1_pre1.ebuild
new file mode 100644
index 000000000000..fb22863301c5
--- /dev/null
+++ b/games-emulation/blight-glN64/blight-glN64-0.4.1_pre1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/blight-glN64/blight-glN64-0.4.1_pre1.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+inherit games
+
+S=${WORKDIR}
+MY_P="glN64-${PV/_/-}"
+DESCRIPTION="An audio plugin for the mupen64 N64 emulator"
+SRC_URI="http://deltaanime.ath.cx/~blight/n64/blight_glN64_port/${MY_P}.so"
+HOMEPAGE="http://deltaanime.ath.cx/~blight/n64/"
+
+KEYWORDS="x86"
+LICENSE="as-is"
+SLOT="0"
+IUSE=""
+
+RDEPEND="media-libs/libsdl"
+
+src_unpack() {
+ cp ${DISTDIR}/${A} ${WORKDIR} || die "cp failed"
+}
+
+src_install () {
+ exeinto ${GAMES_LIBDIR}/mupen64/plugins
+ doexe ${MY_P}.so || die "doexe failed"
+ prepgamesdirs
+}
diff --git a/games-emulation/blight-glN64/files/digest-blight-glN64-0.3.1 b/games-emulation/blight-glN64/files/digest-blight-glN64-0.3.1
new file mode 100644
index 000000000000..d7c92aaa5791
--- /dev/null
+++ b/games-emulation/blight-glN64/files/digest-blight-glN64-0.3.1
@@ -0,0 +1 @@
+MD5 a051de6e53602df6cdc08d653214a205 glNintendo64-0.3.1.so 157296
diff --git a/games-emulation/blight-glN64/files/digest-blight-glN64-0.4.1_pre1 b/games-emulation/blight-glN64/files/digest-blight-glN64-0.4.1_pre1
new file mode 100644
index 000000000000..8e038672d326
--- /dev/null
+++ b/games-emulation/blight-glN64/files/digest-blight-glN64-0.4.1_pre1
@@ -0,0 +1 @@
+MD5 4ee96713c240c1124f78c47cefc0e983 glN64-0.4.1-pre1.so 315452
diff --git a/games-emulation/blight-tr64gl/ChangeLog b/games-emulation/blight-tr64gl/ChangeLog
new file mode 100644
index 000000000000..f05860b220db
--- /dev/null
+++ b/games-emulation/blight-tr64gl/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for app-emulation/blight-tr64gl
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/blight-tr64gl/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+ 09 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ blight-tr64gl-0.7.4_pre1.ebuild:
+ added prepgamesdirs
+
+*blight-tr64gl-0.7.4_pre1 (09 Aug 2003)
+
+ 09 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ blight-tr64gl-0.7.4_pre1.ebuild:
+ initial commit (bug 24890)
+
diff --git a/games-emulation/blight-tr64gl/Manifest b/games-emulation/blight-tr64gl/Manifest
new file mode 100644
index 000000000000..cd30e423ccea
--- /dev/null
+++ b/games-emulation/blight-tr64gl/Manifest
@@ -0,0 +1,3 @@
+MD5 4e5c14e8cb8980f62f06ad7c535b4c86 blight-tr64gl-0.7.4_pre1.ebuild 726
+MD5 dcf4bdc8c97395b3d901e178517f7074 ChangeLog 510
+MD5 408f2a595b0a70418853c2e07aeba30f files/digest-blight-tr64gl-0.7.4_pre1 75
diff --git a/games-emulation/blight-tr64gl/blight-tr64gl-0.7.4_pre1.ebuild b/games-emulation/blight-tr64gl/blight-tr64gl-0.7.4_pre1.ebuild
new file mode 100644
index 000000000000..1846988026ea
--- /dev/null
+++ b/games-emulation/blight-tr64gl/blight-tr64gl-0.7.4_pre1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/blight-tr64gl/blight-tr64gl-0.7.4_pre1.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+inherit games
+
+S=${WORKDIR}
+MY_P="blight_tr64gl-0.7.4-pre1"
+DESCRIPTION="An audio plugin for the mupen64 N64 emulator"
+SRC_URI="http://deltaanime.ath.cx/~blight/n64/blight_tr64gl_port/${MY_P}.so.gz"
+HOMEPAGE="http://deltaanime.ath.cx/~blight/n64/"
+
+KEYWORDS="x86"
+LICENSE="as-is"
+SLOT="0"
+IUSE=""
+
+RDEPEND="media-libs/libsdl"
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_install () {
+ exeinto ${GAMES_LIBDIR}/mupen64/plugins
+ doexe ${MY_P}.so || die "doexe failed"
+ prepgamesdirs
+}
diff --git a/games-emulation/blight-tr64gl/files/digest-blight-tr64gl-0.7.4_pre1 b/games-emulation/blight-tr64gl/files/digest-blight-tr64gl-0.7.4_pre1
new file mode 100644
index 000000000000..7c306f7a1793
--- /dev/null
+++ b/games-emulation/blight-tr64gl/files/digest-blight-tr64gl-0.7.4_pre1
@@ -0,0 +1 @@
+MD5 202cad8a7227728a51aafe1096bfc3d8 blight_tr64gl-0.7.4-pre1.so.gz 275106
diff --git a/games-emulation/blight-uhleaudio/ChangeLog b/games-emulation/blight-uhleaudio/ChangeLog
new file mode 100644
index 000000000000..406a7c553988
--- /dev/null
+++ b/games-emulation/blight-uhleaudio/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for app-emulation/blight-uhleaudio
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/blight-uhleaudio/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+ 09 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ blight-uhleaudio-0.1a.ebuild:
+ added prepgamesdirs
+
+*blight-uhleaudio-0.1a (09 Aug 2003)
+
+ 09 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ blight-uhleaudio-0.1a.ebuild:
+ initial commit (bug 24892) ebuild from David Holm (modified)
+
diff --git a/games-emulation/blight-uhleaudio/Manifest b/games-emulation/blight-uhleaudio/Manifest
new file mode 100644
index 000000000000..17b51993953c
--- /dev/null
+++ b/games-emulation/blight-uhleaudio/Manifest
@@ -0,0 +1,3 @@
+MD5 5642abe633804dccbc4a1400c3a92649 blight-uhleaudio-0.1a.ebuild 747
+MD5 f1b0c8857f276afced337971eb6ef699 ChangeLog 541
+MD5 00d866d7605426eed40b134a1a33e26d files/digest-blight-uhleaudio-0.1a 61
diff --git a/games-emulation/blight-uhleaudio/blight-uhleaudio-0.1a.ebuild b/games-emulation/blight-uhleaudio/blight-uhleaudio-0.1a.ebuild
new file mode 100644
index 000000000000..a2271277d04c
--- /dev/null
+++ b/games-emulation/blight-uhleaudio/blight-uhleaudio-0.1a.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/blight-uhleaudio/blight-uhleaudio-0.1a.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+inherit games
+
+MY_P="uhleaudio-${PV}"
+DESCRIPTION="An audio plugin for the mupen64 N64 emulator"
+SRC_URI="http://deltaanime.ath.cx/~blight/n64/uhleaudio_plugin/${MY_P}.so"
+HOMEPAGE="http://deltaanime.ath.cx/~blight/n64/"
+
+KEYWORDS="x86"
+LICENSE="as-is"
+SLOT="0"
+IUSE=""
+
+RDEPEND="media-libs/libsdl"
+
+src_unpack() {
+ cp ${DISTDIR}/${A} ${WORKDIR} || die "cp failed"
+}
+
+src_install () {
+ exeinto ${GAMES_LIBDIR}/mupen64/plugins
+ doexe ${WORKDIR}/${MY_P}.so || die "doexe failed"
+ prepgamesdirs
+}
diff --git a/games-emulation/blight-uhleaudio/files/digest-blight-uhleaudio-0.1a b/games-emulation/blight-uhleaudio/files/digest-blight-uhleaudio-0.1a
new file mode 100644
index 000000000000..5aebf9bd1446
--- /dev/null
+++ b/games-emulation/blight-uhleaudio/files/digest-blight-uhleaudio-0.1a
@@ -0,0 +1 @@
+MD5 9a94e78afb9a8c8d763f268f03ce6c92 uhleaudio-0.1a.so 26465
diff --git a/games-emulation/blight_input/ChangeLog b/games-emulation/blight_input/ChangeLog
new file mode 100644
index 000000000000..0ab506c98570
--- /dev/null
+++ b/games-emulation/blight_input/ChangeLog
@@ -0,0 +1,35 @@
+# ChangeLog for app-emulation/blight_input
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/blight_input/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+*blight_input-0.0.8 (02 Sep 2003)
+
+ 02 Sep 2003; Michael Sterrett <msterret@gentoo.org>
+ blight_input-0.0.8.ebuild:
+ version bump
+
+ 09 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ blight_input-0.0.7.ebuild:
+ install the .so in ${GAMES_LIBDIR}/mupen64/plugins, instead of
+ /usr/lib/mupen64/plugins; inherit games
+
+*blight_input-0.0.7 (07 Aug 2003)
+
+ 07 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ blight_input-0.0.7.ebuild:
+ version bump (bug 24888)
+
+ 03 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ blight_input-0.0.4.ebuild:
+ tidy
+
+ 12 Jun 2003; <msterret@gentoo.org> blight_input-0.0.4.ebuild:
+ add Header
+
+*blight_input-0.0.4 (26 Dec 2002)
+
+ 03 Mar 2003; <vladimir@gentoo.org> blight_input-0.0.4.ebuild:
+ Automated removal of remaining sparc64 KEYWORDS
+
+ 26 Dec 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ initial release
diff --git a/games-emulation/blight_input/Manifest b/games-emulation/blight_input/Manifest
new file mode 100644
index 000000000000..d6d8e40749cc
--- /dev/null
+++ b/games-emulation/blight_input/Manifest
@@ -0,0 +1,7 @@
+MD5 03992a1cd65caadf3624c7eadbdb17a0 ChangeLog 1108
+MD5 2571b9875b4cf37e7827c02fd4c4a092 blight_input-0.0.4.ebuild 816
+MD5 c3d6c6e4658470149a958459c35874cb blight_input-0.0.7.ebuild 894
+MD5 bd74720d3684b4a5cd321234e07744b6 blight_input-0.0.8.ebuild 901
+MD5 f0c8aaf569bafff78daf0614d04e7083 files/digest-blight_input-0.0.4 71
+MD5 2e60105fad2f58e0d4742d859d704bd8 files/digest-blight_input-0.0.7 68
+MD5 146026873ebbcbdd9829bb0406cc7acd files/digest-blight_input-0.0.8 71
diff --git a/games-emulation/blight_input/blight_input-0.0.4.ebuild b/games-emulation/blight_input/blight_input-0.0.4.ebuild
new file mode 100644
index 000000000000..a653a1d25829
--- /dev/null
+++ b/games-emulation/blight_input/blight_input-0.0.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/blight_input/blight_input-0.0.4.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="An input plugin for the mupen64 N64 emulator"
+SRC_URI="http://deltaanime.ath.cx/~blight/n64/blight_input_plugin/${P}.tar.gz"
+HOMEPAGE="http://mupen64.emulation64.com/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 -ppc -sparc"
+
+DEPEND="media-libs/libsdl
+ media-libs/freetype"
+
+src_compile() {
+ cd ${S}/SDL_ttf2
+ rm config.cache
+ cp SDL_ttf.h ${S}
+ econf || die
+ emake || die "emake failed in ${S}/SDL_ttf2"
+ cd ${S}
+ emake || die "emake failed in ${S}"
+}
+
+src_install() {
+ dodir /usr/lib/mupen64/plugins
+ insinto /usr/lib/mupen64/plugins
+ doins blight_input.so
+}
diff --git a/games-emulation/blight_input/blight_input-0.0.7.ebuild b/games-emulation/blight_input/blight_input-0.0.7.ebuild
new file mode 100644
index 000000000000..5d022b10dc3d
--- /dev/null
+++ b/games-emulation/blight_input/blight_input-0.0.7.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/blight_input/blight_input-0.0.7.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+inherit games
+
+DESCRIPTION="An input plugin for the mupen64 N64 emulator"
+SRC_URI="http://deltaanime.ath.cx/~blight/n64/blight_input_plugin/${P}.tgz"
+HOMEPAGE="http://mupen64.emulation64.com/"
+
+KEYWORDS="x86 -ppc -sparc"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=media-libs/libsdl-1.2.4
+ media-libs/freetype"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Death to all who distribute their stinking config.cache files!
+ rm -f config.cache
+}
+
+src_install() {
+ make install || die "make install failed"
+ exeinto ${GAMES_LIBDIR}/mupen64/plugins
+ doexe src/blight_input.so || die "doexe failed"
+ dodoc AUTHORS ChangeLog README ToDo || die "dodoc failed"
+}
diff --git a/games-emulation/blight_input/blight_input-0.0.8.ebuild b/games-emulation/blight_input/blight_input-0.0.8.ebuild
new file mode 100644
index 000000000000..21adfab17fdd
--- /dev/null
+++ b/games-emulation/blight_input/blight_input-0.0.8.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/blight_input/blight_input-0.0.8.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+inherit games
+
+S=${WORKDIR}
+DESCRIPTION="An input plugin for the mupen64 N64 emulator"
+SRC_URI="http://deltaanime.ath.cx/~blight/n64/blight_input_plugin/${P}.tar.gz"
+HOMEPAGE="http://mupen64.emulation64.com/"
+
+KEYWORDS="-* x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=media-libs/libsdl-1.2.4
+ media-libs/freetype"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Death to all who distribute their stinking config.cache files!
+ rm -f config.cache
+}
+
+src_install() {
+ make install || die "make install failed"
+ exeinto ${GAMES_LIBDIR}/mupen64/plugins
+ doexe src/blight_input.so || die "doexe failed"
+ dodoc AUTHORS ChangeLog README ToDo || die "dodoc failed"
+}
diff --git a/games-emulation/blight_input/files/digest-blight_input-0.0.4 b/games-emulation/blight_input/files/digest-blight_input-0.0.4
new file mode 100644
index 000000000000..68a650924cdd
--- /dev/null
+++ b/games-emulation/blight_input/files/digest-blight_input-0.0.4
@@ -0,0 +1 @@
+MD5 c585131fff8e47d12c28a4278d35f9b6 blight_input-0.0.4.tar.gz 1592856
diff --git a/games-emulation/blight_input/files/digest-blight_input-0.0.7 b/games-emulation/blight_input/files/digest-blight_input-0.0.7
new file mode 100644
index 000000000000..e9d9db5a9a73
--- /dev/null
+++ b/games-emulation/blight_input/files/digest-blight_input-0.0.7
@@ -0,0 +1 @@
+MD5 6cdafdfaab48e9f5bdbcd04981a986b7 blight_input-0.0.7.tgz 1279549
diff --git a/games-emulation/blight_input/files/digest-blight_input-0.0.8 b/games-emulation/blight_input/files/digest-blight_input-0.0.8
new file mode 100644
index 000000000000..a6aecdf946fe
--- /dev/null
+++ b/games-emulation/blight_input/files/digest-blight_input-0.0.8
@@ -0,0 +1 @@
+MD5 031be750b86abfc504cc7b1df049cb73 blight_input-0.0.8.tar.gz 1231538
diff --git a/games-emulation/daphne/ChangeLog b/games-emulation/daphne/ChangeLog
new file mode 100644
index 000000000000..2e498107bab5
--- /dev/null
+++ b/games-emulation/daphne/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/daphne
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/daphne/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+*daphne-0.99.6 (15 Jul 2003)
+
+ 15 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Andrea Cerrito <cerrito@centromultimediale.it> #18807.
diff --git a/games-emulation/daphne/Manifest b/games-emulation/daphne/Manifest
new file mode 100644
index 000000000000..031fcdc8eb78
--- /dev/null
+++ b/games-emulation/daphne/Manifest
@@ -0,0 +1,3 @@
+MD5 8c819c5ceafbe235dfa7fb2a35bf84ce files/digest-daphne-0.99.6 70
+MD5 b135fe42e32517eac44a867f9d05787a daphne-0.99.6.ebuild 1741
+MD5 ef108c87c654c2330a686adacd4e381a ChangeLog 398
diff --git a/games-emulation/daphne/daphne-0.99.6.ebuild b/games-emulation/daphne/daphne-0.99.6.ebuild
new file mode 100644
index 000000000000..d5642b0ac7ed
--- /dev/null
+++ b/games-emulation/daphne/daphne-0.99.6.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/daphne/daphne-0.99.6.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+inherit games eutils flag-o-matic
+replace-flags -march=i686 -march=i586 # Bug 18807 Comment #11
+replace-flags -march=pentium3 -march=i586 # Bug 18807 Comment #4
+
+DESCRIPTION="Laserdisc Arcade Game Emulator"
+SRC_URI="http://www.daphne-emu.com/download/${P}-src.tar.gz"
+HOMEPAGE="http://www.daphne-emu.com/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND="virtual/glibc
+ media-libs/libogg
+ media-libs/libvorbis
+ media-libs/libsdl
+ media-libs/sdl-mixer
+ sys-libs/zlib"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}/src
+ sed -e "s:-march=i686:${CFLAGS}:" Makefile.vars.linux_x86 > Makefile.vars
+
+ # lets make this guy play nice with our filesystem setup
+ sed -i "s:pics/:${GAMES_DATADIR}/${PN}/pics/:g" video/video.cpp
+ sed -i "s:roms/:${GAMES_DATADIR}/${PN}/roms/:g" game/game.cpp
+ sed -i "s:sound/:${GAMES_DATADIR}/${PN}/sound/:g" sound/sound.cpp
+ sed -i "s:./lib:${GAMES_LIBDIR}/${PN}/lib:g" io/dll.h
+ sed -i "s:daphne_log.txt:/tmp/daphne_log.txt:g" daphne.cpp daphne.h io/error.cpp
+ sed -i "s:dapinput.ini:~/.dapinput.ini:" io/input.cpp
+}
+
+src_compile() {
+ cd ${S}/src
+ emake || die "src build failed"
+ cd ${S}/src/vldp
+ emake -f Makefile.linux || die "vldp build failed"
+ cd ${S}/src/vldp2
+ egamesconf || die
+ emake -f Makefile.linux || die "vldp2 build failed"
+}
+
+src_install() {
+ dogamesbin daphne
+ exeinto ${GAMES_LIBDIR}/${PN}
+ doexe libvldp*.so
+ dodir ${GAMES_DATADIR}/${PN}
+ cp -rf pics sound roms ${D}/${GAMES_DATADIR}/${PN}/
+ dodoc doc/*.{ini,txt}
+ dohtml -r doc/*
+ prepgamesdirs
+}
diff --git a/games-emulation/daphne/files/digest-daphne-0.99.6 b/games-emulation/daphne/files/digest-daphne-0.99.6
new file mode 100644
index 000000000000..115b93db4360
--- /dev/null
+++ b/games-emulation/daphne/files/digest-daphne-0.99.6
@@ -0,0 +1 @@
+MD5 7602c8c1c7d54f61e23e55fe55b44ffd daphne-0.99.6-src.tar.gz 2685633
diff --git a/games-emulation/darcnes/ChangeLog b/games-emulation/darcnes/ChangeLog
new file mode 100644
index 000000000000..528ae30d49f9
--- /dev/null
+++ b/games-emulation/darcnes/ChangeLog
@@ -0,0 +1,25 @@
+# ChangeLog for app-emulation/darcnes
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+*darcnes-0401-r1 (23 Jul 2002)
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 23 Jul 2002; Stuart Bouyer <stubear@gentoo.org> darcnes-0401-r1.ebuild:
+
+ Added LICENSE info to bring make repoman and lintool happy.
+
+* darcnes-0401-r1 (1 Feb 2002)
+ 5 Jun 2002 Moved ebuild from dn9b-0401-r1.ebuild to darcnes-0401-r1.ebuild
+
+*dn9b-0401-r1 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/darcnes/Manifest b/games-emulation/darcnes/Manifest
new file mode 100644
index 000000000000..255862667730
--- /dev/null
+++ b/games-emulation/darcnes/Manifest
@@ -0,0 +1,3 @@
+MD5 63edc29962275fde0bae0842635b64df ChangeLog 1037
+MD5 4cc94e343c566d8b73d3e1e2cad6cc11 darcnes-0401-r1.ebuild 1132
+MD5 97092964e106d48cc1b417ed92a14ed7 files/digest-darcnes-0401-r1 57
diff --git a/games-emulation/darcnes/darcnes-0401-r1.ebuild b/games-emulation/darcnes/darcnes-0401-r1.ebuild
new file mode 100644
index 000000000000..e523c920a88f
--- /dev/null
+++ b/games-emulation/darcnes/darcnes-0401-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/darcnes-0401-r1.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="A multi-system emulator"
+SRC_URI="http://www.dridus.com/~nyef/darcnes/download/dn9b${PV}.tgz"
+HOMEPAGE="http://www.dridus.com/~nyef/darcnes/"
+
+SLOT="0"
+KEYWORDS="x86 -ppc"
+LICENSE="GPL-2"
+IUSE="X gtk"
+
+DEPEND=">=media-libs/svgalib-1.4.2
+ X? ( virtual/x11 )
+ gtk? ( =x11-libs/gtk+-1.2* )"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+
+ cp cd_unix.c cd_unix.c.orig
+ cat cd_unix.c.orig | sed "s:CDROM_DEVICE \"/dev/cdrom\"$:CDROM_DEVICE \"/dev/cdroms/cdrom0\":"\
+ > cd_unix.c
+ cp Makefile Makefile.orig
+ if [ "`use X`" ]
+ then
+ if [ "`use gtk`" ]
+ then
+ cat Makefile.orig | sed "s:^TARGET?=Linux_X$:TARGET?=Linux_GTK:" \
+ > Makefile
+ fi
+ make || die
+ fi
+ cat Makefile.orig | sed "s:^TARGET?=Linux_X$:TARGET?=Linux_svgalib:" \
+ > Makefile
+ make || die
+
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe sdarcnes
+ if [ "`use X`" ]
+ then
+ exeinto /usr/bin
+ doexe darcnes
+ fi
+ dodoc readme
+
+}
diff --git a/games-emulation/darcnes/files/digest-darcnes-0401-r1 b/games-emulation/darcnes/files/digest-darcnes-0401-r1
new file mode 100644
index 000000000000..62580db3c8d6
--- /dev/null
+++ b/games-emulation/darcnes/files/digest-darcnes-0401-r1
@@ -0,0 +1 @@
+MD5 84d0cb6fc00017e5bf7cc09acd5e365b dn9b0401.tgz 199963
diff --git a/games-emulation/dgen-sdl/ChangeLog b/games-emulation/dgen-sdl/ChangeLog
new file mode 100644
index 000000000000..61a3e06447dd
--- /dev/null
+++ b/games-emulation/dgen-sdl/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-emulation/dgen-sdl
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dgen-sdl/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+*dgen-sdl-1.23 (1 Aug 2002)
+
+ 1 Aug 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/dgen-sdl/Manifest b/games-emulation/dgen-sdl/Manifest
new file mode 100644
index 000000000000..1e2a370c5ca4
--- /dev/null
+++ b/games-emulation/dgen-sdl/Manifest
@@ -0,0 +1,3 @@
+MD5 33a5cd8fea3cbea071bc188d4c61f24d ChangeLog 696
+MD5 8797bea5a8b5f98746f872f57a735f7d dgen-sdl-1.23.ebuild 842
+MD5 b62a7d15563b05b01fa3b382d6eb26d5 files/digest-dgen-sdl-1.23 65
diff --git a/games-emulation/dgen-sdl/dgen-sdl-1.23.ebuild b/games-emulation/dgen-sdl/dgen-sdl-1.23.ebuild
new file mode 100644
index 000000000000..61eda7e16a98
--- /dev/null
+++ b/games-emulation/dgen-sdl/dgen-sdl-1.23.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dgen-sdl/dgen-sdl-1.23.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="DGen/SDL is a Linux/SDL-Port of the famous DGen MegaDrive/Genesis-Emulator"
+HOMEPAGE="http://www.pknet.com/~joe/dgen-sdl.html"
+SRC_URI="http://www.pknet.com/~joe/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="x86"
+LICENSE="dgen-sdl"
+IUSE="X mmx opengl"
+
+DEPEND="media-libs/libsdl X? virtual/x11 opengl? virtual/opengl"
+RDEPEND="${DEPEND} dev-lang/nasm"
+
+src_compile() {
+ local myconf=""
+ use opengl || myconf="${myconf} --without-opengl"
+ use X && myconf="${myconf} --with-x"
+ use mmx || myconf="${myconf} --without-mmx"
+
+ econf ${myconf}
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+}
diff --git a/games-emulation/dgen-sdl/files/digest-dgen-sdl-1.23 b/games-emulation/dgen-sdl/files/digest-dgen-sdl-1.23
new file mode 100644
index 000000000000..9125ce4145f4
--- /dev/null
+++ b/games-emulation/dgen-sdl/files/digest-dgen-sdl-1.23
@@ -0,0 +1 @@
+MD5 b1896c1b21ddb152626aec2e8a157a3a dgen-sdl-1.23.tar.gz 340556
diff --git a/games-emulation/dosbox-cvs/ChangeLog b/games-emulation/dosbox-cvs/ChangeLog
new file mode 100644
index 000000000000..af3b6d8a991b
--- /dev/null
+++ b/games-emulation/dosbox-cvs/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-emulation/dosbox-cvs
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox-cvs/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+*dosbox-cvs-20030809 (09 Aug 2003)
+
+ 09 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ dosbox-cvs-20030809.ebuild:
+ initial commit. Ebuild from Alexander Minges (modified) via bug 25628.
+
diff --git a/games-emulation/dosbox-cvs/Manifest b/games-emulation/dosbox-cvs/Manifest
new file mode 100644
index 000000000000..e41bbba350e5
--- /dev/null
+++ b/games-emulation/dosbox-cvs/Manifest
@@ -0,0 +1,3 @@
+MD5 88e05696673177a4a1651a5c716f5014 dosbox-cvs-20030809.ebuild 1229
+MD5 c2398866b87c197ad0c28bc2ef2350df ChangeLog 427
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-dosbox-cvs-20030809 0
diff --git a/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild b/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild
new file mode 100644
index 000000000000..2f9a6e5c92f9
--- /dev/null
+++ b/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="DOS Emulator"
+HOMEPAGE="http://www.dosbox.sf.net"
+
+KEYWORDS="x86 ppc"
+LICENSE="GPL-2"
+IUSE="alsa"
+SLOT="0"
+
+# don't install this package and the stable one at the same time.
+# they use the same binary names.
+DEPEND="sys-libs/ncurses
+ >=media-libs/libsdl-1.2.0
+ media-libs/libpng
+ sys-libs/zlib
+ media-libs/sdl-net
+ alsa? ( media-libs/alsa-lib )
+ !app-emulation/dosbox"
+
+inherit cvs debug flag-o-matic
+
+strip-flags
+
+ECVS_SERVER="cvs.sourceforge.net:/cvsroot/dosbox"
+ECVS_MODULE="dosbox"
+ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}"
+S=${WORKDIR}/${ECVS_MODULE}
+
+src_compile() {
+ ln -s /usr/include/SDL/*.h ./include/ || \
+ die "Linking SDL-includes failed"
+ ./autogen.sh --prefix=/usr --host=${CHOST} || \
+ die "autogen.sh failed"
+ econf `use_enable alsa alsatest` || die
+ emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || \
+ die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS
+}
diff --git a/games-emulation/dosbox-cvs/files/digest-dosbox-cvs-20030809 b/games-emulation/dosbox-cvs/files/digest-dosbox-cvs-20030809
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/games-emulation/dosbox-cvs/files/digest-dosbox-cvs-20030809
diff --git a/games-emulation/dosbox/ChangeLog b/games-emulation/dosbox/ChangeLog
new file mode 100644
index 000000000000..ab9a5bb0c7a1
--- /dev/null
+++ b/games-emulation/dosbox/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for app-emulation/dosbox
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+ 07 Aug 2003; Michael Sterrett <msterret@gentoo.org> dosbox-0.58.ebuild:
+ tidy ebuild
+
+*dosbox-0.58 (15 Jul 2003)
+
+ 15 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #20561 + games.eclass support.
+
+*dosbox-0.57 (31 Jan 2003)
+
+ 31 Jan 2003; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ New package. Submitted by Dirk-Jan Heijs.
diff --git a/games-emulation/dosbox/Manifest b/games-emulation/dosbox/Manifest
new file mode 100644
index 000000000000..e04ffcf53c4d
--- /dev/null
+++ b/games-emulation/dosbox/Manifest
@@ -0,0 +1,5 @@
+MD5 aac9108e808257b609730cca9f34f441 ChangeLog 577
+MD5 7e6728600139f992de6833d952d59212 dosbox-0.57.ebuild 648
+MD5 da63ad9305e45480ef7098b158b3fb07 dosbox-0.58.ebuild 604
+MD5 0cb11f37c15336741cffc1543fd25f56 files/digest-dosbox-0.57 63
+MD5 709911d69c3fb90908508f4c3116a07f files/digest-dosbox-0.58 63
diff --git a/games-emulation/dosbox/dosbox-0.57.ebuild b/games-emulation/dosbox/dosbox-0.57.ebuild
new file mode 100644
index 000000000000..ef7d8545451f
--- /dev/null
+++ b/games-emulation/dosbox/dosbox-0.57.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.57.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+DESCRIPTION="DOSBox - DOS emulator"
+HOMEPAGE="http://dosbox.zophar.net"
+SRC_URI="mirror://sourceforge/dosbox/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+DEPEND="sys-libs/ncurses
+ >=media-libs/libsdl-1.2.0
+ sys-libs/zlib"
+S=${WORKDIR}/${P}
+
+src_compile() {
+ econf
+ emake || die
+}
+
+src_install() {
+ #make DESTDIR=${D} install || die
+ einstall
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEW README THANKS
+}
diff --git a/games-emulation/dosbox/dosbox-0.58.ebuild b/games-emulation/dosbox/dosbox-0.58.ebuild
new file mode 100644
index 000000000000..80e2448bff1c
--- /dev/null
+++ b/games-emulation/dosbox/dosbox-0.58.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.58.ebuild,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+inherit games
+
+DESCRIPTION="DOS emulator"
+HOMEPAGE="http://dosbox.sourceforge.net/"
+SRC_URI="mirror://sourceforge/dosbox/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+
+DEPEND="sys-libs/ncurses
+ >=media-libs/libsdl-1.2.0
+ sys-libs/zlib"
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS
+}
diff --git a/games-emulation/dosbox/files/digest-dosbox-0.57 b/games-emulation/dosbox/files/digest-dosbox-0.57
new file mode 100644
index 000000000000..f1e74fdb1099
--- /dev/null
+++ b/games-emulation/dosbox/files/digest-dosbox-0.57
@@ -0,0 +1 @@
+MD5 0b12c73d00fea1e8dc9dbc2df7276637 dosbox-0.57.tar.gz 351897
diff --git a/games-emulation/dosbox/files/digest-dosbox-0.58 b/games-emulation/dosbox/files/digest-dosbox-0.58
new file mode 100644
index 000000000000..d69a70486cca
--- /dev/null
+++ b/games-emulation/dosbox/files/digest-dosbox-0.58
@@ -0,0 +1 @@
+MD5 91c49a597134f35f899d32a8b253205b dosbox-0.58.tar.gz 421487
diff --git a/games-emulation/epsxe/ChangeLog b/games-emulation/epsxe/ChangeLog
new file mode 100644
index 000000000000..8192c6d30eb6
--- /dev/null
+++ b/games-emulation/epsxe/ChangeLog
@@ -0,0 +1,60 @@
+# ChangeLog for app-emulation/epsxe
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/epsxe/ChangeLog,v 1.1 2003/09/09 16:26:49 vapier Exp $
+
+*epsxe-1.6.0-r3 (24 Aug 2003)
+
+ 24 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added a better wrapper script, thanks to Benjamin Hamilton.
+
+*epsxe-1.6.0-r2 (17 Aug 2003)
+
+ 17 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Didnt merge all the changes to epsxe the first time :( #26767.
+
+*epsxe-1.6.0-r1 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add games.eclass support.
+
+*epsxe-1.6.0 (05 Aug 2003)
+
+ 05 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org> epsxe-1.6.0.ebuild:
+ Version bumped. Closes bug #25972. Ebuild by collapse@postmark.net
+
+*epsxe-1.5.2 (27 Jul 2002)
+
+ 17 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add games.eclass support.
+
+ 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Updated DEPEND to correctly include gl support #24387.
+
+ 07 Apr 2003; YAMAKURA Makoto <yakina@gentoo.org> files/epsxe:
+ get rid of a possibility of copyright infringement
+
+ 17 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> epsxe-1.5.2.ebuild :
+ Added IUSE.
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 27 Jul 2002; Stuart Bouyer <stubear@gentoo.org> epsxe-1.5.2.ebuild :
+
+ Added KEYWORDS="x86" and SLOT for QA requirements.
+
+*epsxe-1.5.2 (3 June 2002)
+
+ 3 June 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+
+ Fixed some incompatibilities with the ebuild
+
+*epsxe-1.5.2 (2 June 2002)
+
+ 2 June 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/epsxe/Manifest b/games-emulation/epsxe/Manifest
new file mode 100644
index 000000000000..6a834c5efb61
--- /dev/null
+++ b/games-emulation/epsxe/Manifest
@@ -0,0 +1,6 @@
+MD5 4d0cb4dcc8df6ac525817d8f9d133292 files/epsxe 2119
+MD5 12e7e95d604f2868670e6551ee07053e files/digest-epsxe-1.5.2-r1 60
+MD5 5fe6166fc9d5607a001ee05816ead07e files/digest-epsxe-1.6.0-r3 60
+MD5 a240ad448dc4c030b037a41da55afd16 ChangeLog 2036
+MD5 cb2ae99996d41a556dedc16c7b57525c epsxe-1.5.2-r1.ebuild 1029
+MD5 7005de9e114a2582be0838fabe5bfc15 epsxe-1.6.0-r3.ebuild 1029
diff --git a/games-emulation/epsxe/epsxe-1.5.2-r1.ebuild b/games-emulation/epsxe/epsxe-1.5.2-r1.ebuild
new file mode 100644
index 000000000000..2b81b5e04783
--- /dev/null
+++ b/games-emulation/epsxe/epsxe-1.5.2-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/epsxe/epsxe-1.5.2-r1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="ePSXe Playstation Emulator"
+HOMEPAGE="http://www.epsxe.com/"
+SRC_URI="http://download.epsxe.com/files/epsxe${PV//.}lin.zip"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="opengl"
+RESTRICT="nostrip" # For some strange reason, strip truncates the whole file
+
+DEPEND="app-arch/unzip"
+RDEPEND=">=dev-libs/glib-1.2
+ =x11-libs/gtk+-1.2*
+ =sys-libs/ncurses-5*
+ =sys-libs/zlib-1*
+ net-misc/wget
+ app-emulation/psemu-peopsspu
+ || (
+ opengl? ( app-emulation/psemu-gpupetemesagl )
+ app-emulation/psemu-peopssoftgpu
+ )"
+
+S=${WORKDIR}
+
+src_install() {
+ dogamesbin ${FILESDIR}/epsxe
+ exeinto ${GAMES_PREFIX_OPT}/${PN}
+ doexe epsxe
+ insinto ${GAMES_PREFIX_OPT}/${PN}
+ doins keycodes.lst
+
+ insinto ${GAMES_LIBDIR}/psemu/cheats
+ doins cheats/*
+
+ dodoc docs/*
+
+ prepgamesdirs
+}
diff --git a/games-emulation/epsxe/epsxe-1.6.0-r3.ebuild b/games-emulation/epsxe/epsxe-1.6.0-r3.ebuild
new file mode 100644
index 000000000000..6c887bd9edc2
--- /dev/null
+++ b/games-emulation/epsxe/epsxe-1.6.0-r3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/epsxe/epsxe-1.6.0-r3.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="ePSXe Playstation Emulator"
+HOMEPAGE="http://www.epsxe.com/"
+SRC_URI="http://download.epsxe.com/files/epsxe${PV//.}lin.zip"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="opengl"
+RESTRICT="nostrip" # For some strange reason, strip truncates the whole file
+
+DEPEND="app-arch/unzip"
+RDEPEND=">=dev-libs/glib-1.2
+ =x11-libs/gtk+-1.2*
+ =sys-libs/ncurses-5*
+ =sys-libs/zlib-1*
+ net-misc/wget
+ app-emulation/psemu-peopsspu
+ || (
+ opengl? ( app-emulation/psemu-gpupetemesagl )
+ app-emulation/psemu-peopssoftgpu
+ )"
+
+S=${WORKDIR}
+
+src_install() {
+ dogamesbin ${FILESDIR}/epsxe
+ exeinto ${GAMES_PREFIX_OPT}/${PN}
+ doexe epsxe
+ insinto ${GAMES_PREFIX_OPT}/${PN}
+ doins keycodes.lst
+
+ insinto ${GAMES_LIBDIR}/psemu/cheats
+ doins cheats/*
+
+ dodoc docs/*
+
+ prepgamesdirs
+}
diff --git a/games-emulation/epsxe/files/digest-epsxe-1.5.2-r1 b/games-emulation/epsxe/files/digest-epsxe-1.5.2-r1
new file mode 100644
index 000000000000..cc22445f82b5
--- /dev/null
+++ b/games-emulation/epsxe/files/digest-epsxe-1.5.2-r1
@@ -0,0 +1 @@
+MD5 5834f34cb904b08d95abda057eff3981 epsxe152lin.zip 166559
diff --git a/games-emulation/epsxe/files/digest-epsxe-1.6.0-r3 b/games-emulation/epsxe/files/digest-epsxe-1.6.0-r3
new file mode 100644
index 000000000000..a429bbfa02fe
--- /dev/null
+++ b/games-emulation/epsxe/files/digest-epsxe-1.6.0-r3
@@ -0,0 +1 @@
+MD5 32704cfc77939b9a1bd047f22b70eca2 epsxe160lin.zip 180407
diff --git a/games-emulation/epsxe/files/epsxe b/games-emulation/epsxe/files/epsxe
new file mode 100644
index 000000000000..186c75683357
--- /dev/null
+++ b/games-emulation/epsxe/files/epsxe
@@ -0,0 +1,77 @@
+#
+# Script for launching epsxe
+# $Header: /usr/games/bin/epsxe, v ?.?? 2003/08/17 21:22:07
+#!/bin/sh
+
+source /sbin/functions.sh
+
+PSEMUDIR=/usr/games/lib/psemu
+EPSXEDIR=/opt/epsxe
+
+mkdir -p ~/.epsxe
+cd ~/.epsxe
+cleanlinks
+mkdir -p memcards bios cfg cheats snap sstates patches plugins
+
+shopt -s nullglob
+
+for f in `find "${EPSXEDIR}" -maxdepth 1 -type f -printf '%f '` ; do
+ [ -e "${f}" ] && continue
+ ln -s "${EPSXEDIR}/${f}" "${f}" >& /dev/null
+done
+
+if [ -d "${PSEMUDIR}" ] ; then
+ if [ -d "${PSEMUDIR}/plugins" ]; then
+ for plugin in `find "${PSEMUDIR}/plugins" -maxdepth 1 -type f -printf '%f '` ; do
+ if [ ! -e "plugins/${plugin}" ]; then
+ einfo "Loading new plugin: ${plugin}"
+ ln -s "${PSEMUDIR}/plugins/${plugin}" "plugins/${plugin}"
+ fi
+ done
+ fi
+
+ if [ -d "${PSEMUDIR}/cfg" ]; then
+ for configlib in `find "${PSEMUDIR}/cfg" -maxdepth 1 -iname '*.cfg' -prune -o -type f -printf '%f '`; do
+ if [ ! -e "cfg/${configlib}" ]; then
+ einfo "Loading config utility: ${configlib}"
+ ln -s "${PSEMUDIR}/cfg/${configlib}" "cfg/${configlib}"
+ fi
+ done
+
+ for config in `find "${PSEMUDIR}/cfg" -maxdepth 1 -iname '*.cfg' -type f -printf '%f '`; do
+ if [ ! -e "cfg/${config}" ]; then
+ einfo "Loading default config: ${config}"
+ cp "${PSEMUDIR}/cfg/${config}" "cfg/${config}"
+ fi
+ done
+ fi
+
+ if [ -d "${PSEMUDIR}/cheats" ]; then
+ for cheat in `find "${PSEMUDIR}/cheats" -maxdepth 1 -type f -printf '%f '`; do
+ if [ ! -e "cheats/${cheat}" ]; then
+ ln -s "${PSEMUDIR}/cheats/${cheat}" "cheats/${cheat}"
+ fi
+ done
+ fi
+
+ if [ -d "${PSEMUDIR}/bios" ]; then
+ for bios in `find "${PSEMUDIR}/bios" -maxdepth 1 -type f -printf '%f '`; do
+ if [ ! -e "bios/${bios}" ] ; then
+ ln -s "${PSEMUDIR}/bios/${bios}" "bios/${bios}"
+ fi
+ done
+ fi
+fi
+
+# check for bios
+if [ -z "`cd bios && ls`" ] ; then
+ # if the bios directory is empty, then ... well ...
+ echo
+ ewarn "*** Put your BIOS file into ~/.epsxe/bios/"
+ ewarn " or ePSXe may not work!"
+ echo
+fi
+
+# execute program (with args)
+export LD_PRELOAD="libpthread.so.0:${LD_PRELOAD}" # fix for Bug #26121
+exec ./epsxe "$@"
diff --git a/games-emulation/fakenes/ChangeLog b/games-emulation/fakenes/ChangeLog
new file mode 100644
index 000000000000..9a90fba3cac5
--- /dev/null
+++ b/games-emulation/fakenes/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/fakenes
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*fakenes-0.1.5 (13 Jul 2003)
+
+ 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-emulation/fakenes/Manifest b/games-emulation/fakenes/Manifest
new file mode 100644
index 000000000000..c96fe8d15a7c
--- /dev/null
+++ b/games-emulation/fakenes/Manifest
@@ -0,0 +1,4 @@
+MD5 e9a9bc32452d154ce443765e2334b5a2 ChangeLog 349
+MD5 505cd59d8b6b15afd3849f86b1545e4b fakenes-0.1.5.ebuild 872
+MD5 55bbaf2c59dbeac27e9979c3c7412e23 files/0.1.5-datadir.patch 523
+MD5 061dfec5022863f5828ae0ab94ea623a files/digest-fakenes-0.1.5 65
diff --git a/games-emulation/fakenes/fakenes-0.1.5.ebuild b/games-emulation/fakenes/fakenes-0.1.5.ebuild
new file mode 100644
index 000000000000..fefbcb40b4be
--- /dev/null
+++ b/games-emulation/fakenes/fakenes-0.1.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/fakenes-0.1.5.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="portable, Open Source NES emulator which is written mostly in C"
+HOMEPAGE="http://fakenes.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fakenes/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="X gnome"
+
+DEPEND="media-libs/allegro
+ sys-libs/zlib"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ epatch ${FILESDIR}/${PV}-datadir.patch
+ sed -i "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}:" main.c
+}
+
+src_compile() {
+ egamesconf || die
+ make || die
+}
+
+src_install() {
+ dogamesbin src/fakenes
+ insinto ${GAMES_DATADIR}/${PN}
+ doins src/support/fakenes.{dat,ico,rc}
+ dodoc CHANGES README SOURCE SUPPORT
+}
diff --git a/games-emulation/fakenes/files/0.1.5-datadir.patch b/games-emulation/fakenes/files/0.1.5-datadir.patch
new file mode 100644
index 000000000000..f2c0606d2dd5
--- /dev/null
+++ b/games-emulation/fakenes/files/0.1.5-datadir.patch
@@ -0,0 +1,15 @@
+--- main.c.orig 2003-07-13 01:53:13.000000000 -0400
++++ main.c 2003-07-13 01:54:28.000000000 -0400
+@@ -442,10 +442,10 @@
+
+ if (! data)
+ {
+- fprintf (stderr, "Datafile not found in configuration path, trying cwd.\n");
++ fprintf (stderr, "Datafile not found in configuration path, trying GENTOO_DIR.\n");
+
+
+- datfile = "fakenes.dat";
++ datfile = "GENTOO_DIR/fakenes.dat";
+
+ data = load_datafile (datfile);
+ }
diff --git a/games-emulation/fakenes/files/digest-fakenes-0.1.5 b/games-emulation/fakenes/files/digest-fakenes-0.1.5
new file mode 100644
index 000000000000..0749c94b6853
--- /dev/null
+++ b/games-emulation/fakenes/files/digest-fakenes-0.1.5
@@ -0,0 +1 @@
+MD5 286b9f66b9dbce2ae9425a2ec26562e3 fakenes-0.1.5.tar.bz2 94978
diff --git a/games-emulation/fceultra/ChangeLog b/games-emulation/fceultra/ChangeLog
new file mode 100644
index 000000000000..ee919f51d947
--- /dev/null
+++ b/games-emulation/fceultra/ChangeLog
@@ -0,0 +1,60 @@
+# ChangeLog for app-emulation/fceultra
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+ 21 Jul 2003; Phil Bordelon <sunflare@gentoo.org> :
+ Just a note that the patches vapier committed are from Jeff Balk
+ <balk0016@umn.edu>.
+
+*fceultra-096 (24 Jun 2003)
+
+ 27 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Tweaked syntax and unmasked for #20320.
+
+ 24 Jun 2003; Phil Bordelon <sunflare@gentoo.org> fceultra-096.ebuild:
+ Version bump. Note that this version seems to have a couple of issues with
+ joystick control; only upgrade if necessary, until an upstream version with
+ fixes appears.
+
+*fceultra-093 (18 Mar 2003)
+
+ 18 Mar 2003; Phil Bordelon <sunflare@gentoo.org> fceultra-093.ebuild:
+ Updated to the latest version of fceultra. This requires GCC 3.2.2, so
+ it's got that as a requirement now. Marked as testing for obvious
+ reasons.
+
+*fceultra-081-r1 (22 Nov 2002)
+
+ 01 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Added a check that if the compiler is gcc3.x, the ebuild fails #11426
+
+ 22 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Added support for sdl version #11089
+
+*fceultra-081 (21 Nov 2002)
+
+ 21 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Version bumpage
+
+*fceultra-080 (24 Jul 2002)
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 24 July 2002; Sascha Schwabbauer <cybersystem@gentoo.org> fceultra-080.ebuild :
+ Updated to the newest version.
+
+*fceultra-070 (11 March 2002)
+
+ 11 March 2002; Donny Davies <woodchip@gentoo.org> fceultra-070.ebuild :
+ Renamed the ebuild to allow people to install it :) Closes #1057. Tidy
+ up the docs installed.
+
+*fceu-070 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/fceultra/Manifest b/games-emulation/fceultra/Manifest
new file mode 100644
index 000000000000..32e171df9729
--- /dev/null
+++ b/games-emulation/fceultra/Manifest
@@ -0,0 +1,7 @@
+MD5 637fe6dcdb2eddde6cc6d155954d6254 files/096-joystick.patch 2858
+MD5 2bea99b602547c36b835f373214b1286 files/096-stereo.patch 2203
+MD5 ec518d4868d947b4ce4ff1919933204a files/digest-fceultra-096 62
+MD5 c3258fd9a3fa0ee6c568f626c992d4eb files/digest-fceultra-093 62
+MD5 b4120bf8ea99134b9bd1fe9c3515c1be fceultra-093.ebuild 1329
+MD5 596a530a7cabfff7b437db14dc62f960 ChangeLog 2224
+MD5 92ca8db68fe5ae75282abbadb0ade7b3 fceultra-096.ebuild 1417
diff --git a/games-emulation/fceultra/fceultra-093.ebuild b/games-emulation/fceultra/fceultra-093.ebuild
new file mode 100644
index 000000000000..cb425c861486
--- /dev/null
+++ b/games-emulation/fceultra/fceultra-093.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/fceultra-093.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games gcc
+
+DESCRIPTION="A portable NES/Famicom emulator"
+HOMEPAGE="http://fceultra.sourceforge.net/"
+SRC_URI="http://fceultra.sourceforge.net/files/fceu${PV}src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="sdl svga"
+
+# Because of code generation bugs, FCEUltra now depends on a version
+# of gcc greater than or equal to GCC 3.2.2.
+DEPEND="|| (
+ svga? ( media-libs/svgalib )
+ sdl? ( media-libs/libsdl )
+ media-libs/libsdl
+ )
+ >=sys-devel/gcc-3.2.2
+ sys-libs/zlib"
+
+S=${WORKDIR}/fceu
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ sed -i \
+ -e "s:\${TFLAGS}:\${TFLAGS} ${CFLAGS}:" \
+ Makefile.base
+}
+
+src_compile() {
+ if [ `use sdl` ] || [ -z "`use sdl``use svga`" ] ; then
+ make -f Makefile.unixsdl || die "sdl make failed"
+ mv fceu fceu-sdl
+ make -f Makefile.unixsdl clean
+ fi
+ if [ `use svga` ] ; then
+ make -f Makefile.linuxvga || die "svga make failed"
+ mv fceu fceu-svga
+ fi
+}
+
+src_install() {
+ use sdl && dogamesbin fceu-sdl
+ use svga && dogamesbin fceu-svga
+ use sdl || use svga || dogamesbin fceu-sdl
+ dodoc Documentation/{*,rel/readme-linux.txt}
+ prepgamesdirs
+}
diff --git a/games-emulation/fceultra/fceultra-096.ebuild b/games-emulation/fceultra/fceultra-096.ebuild
new file mode 100644
index 000000000000..65b2450a2464
--- /dev/null
+++ b/games-emulation/fceultra/fceultra-096.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/fceultra-096.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games gcc eutils
+
+DESCRIPTION="A portable NES/Famicom emulator"
+HOMEPAGE="http://fceultra.sourceforge.net/"
+SRC_URI="http://fceultra.sourceforge.net/files/fceu${PV}src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~x86"
+IUSE="sdl svga"
+
+# Because of code generation bugs, FCEUltra now depends on a version
+# of gcc greater than or equal to GCC 3.2.2.
+DEPEND="|| (
+ svga? ( media-libs/svgalib )
+ sdl? ( media-libs/libsdl )
+ media-libs/libsdl
+ )
+ >=sys-devel/gcc-3.2.2
+ sys-libs/zlib"
+
+S=${WORKDIR}/fceu
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-stereo.patch
+ epatch ${FILESDIR}/${PV}-joystick.patch
+ sed -i \
+ -e "s:\${TFLAGS}:\${TFLAGS} ${CFLAGS}:" \
+ Makefile.base
+}
+
+src_compile() {
+ if [ `use sdl` ] || [ -z "`use sdl``use svga`" ] ; then
+ make -f Makefile.unixsdl || die "sdl make failed"
+ mv fceu fceu-sdl
+ make -f Makefile.unixsdl clean
+ fi
+ if [ `use svga` ] ; then
+ make -f Makefile.linuxvga || die "svga make failed"
+ mv fceu fceu-svga
+ fi
+}
+
+src_install() {
+ use sdl && dogamesbin fceu-sdl
+ use svga && dogamesbin fceu-svga
+ use sdl || use svga || dogamesbin fceu-sdl
+ dodoc Documentation/{*,rel/readme-linux.txt}
+ prepgamesdirs
+}
diff --git a/games-emulation/fceultra/files/096-joystick.patch b/games-emulation/fceultra/files/096-joystick.patch
new file mode 100644
index 000000000000..40bb7457a1b0
--- /dev/null
+++ b/games-emulation/fceultra/files/096-joystick.patch
@@ -0,0 +1,99 @@
+--- drivers/cli/sdl-joystick.c.orig 2003-06-21 22:49:24.000000000 -0500
++++ drivers/cli/sdl-joystick.c 2003-07-10 19:10:38.000000000 -0500
+@@ -143,20 +143,12 @@
+ /* Configure a joystick axis. */
+ void AConfig (int n, int a)
+ {
+- Sint16 lastaxe[64];
+- int numaxes;
+- int axis;
++ SDL_Event event;
+
+ WNoInput();
+
+ joyAMap[n][a] = a;
+
+- numaxes=SDL_JoystickNumAxes(jo[n]);
+- if(numaxes>64) numaxes=64;
+-
+- for(axis=0;axis<numaxes;axis++) /* Pre-load. */
+- lastaxe[axis]=SDL_JoystickGetAxis(jo[n], axis);
+-
+ while (1)
+ {
+ uint8 t;
+@@ -167,31 +159,26 @@
+ }
+ else
+ break;
+-
+- SDL_JoystickUpdate();
+-
+- for (axis=0;axis<numaxes;axis++) {
+- if (abs((Sint32)SDL_JoystickGetAxis(jo[n],axis)-lastaxe[axis]) > 8192) {
+- joyAMap[n][a] = axis;
+- /* 4096 should be good enough to account for any jitter. */
+- while (abs((Sint32)SDL_JoystickGetAxis(jo[n],axis)-lastaxe[axis]) > 4096) {
+- SDL_JoystickUpdate();
+- SDL_Delay(50);
+- }
+- goto endaconfig;
+- }
+- }
+- SDL_Delay(100);
+- }
+-
+- endaconfig:
+- WNoInput();
++
++ SDL_JoystickUpdate();
++ if (SDL_PollEvent(&event) && (event.type == SDL_JOYAXISMOTION))
++ {
++ // Make sure the joystick was moved by some significant amount
++ if ((event.jaxis.value < -3000) || (event.jaxis.value > 3000))
++ {
++ joyAMap[n][a] = event.jaxis.axis;
++ WNoInput();
++ return;
++ }
++ }
++ }
+ return;
+ }
+
+ /* Configure a joystick button. */
+ void BConfig (int n, int b)
+ {
++ SDL_Event event;
+ WNoInput();
+ joyBMap[n][b] = 0;
+ while (1)
+@@ -206,23 +193,15 @@
+ break;
+
+ SDL_JoystickUpdate();
++
++ if (SDL_PollEvent(&event) && event.type == SDL_JOYBUTTONDOWN)
+ {
+- int buttons;
+- for (buttons = SDL_JoystickNumButtons(jo[n])-1;buttons >= 0;buttons--) {
+- if (SDL_JoystickGetButton(jo[n],buttons)) {
+- joyBMap[n][b] = buttons+1;
+- while (SDL_JoystickGetButton(jo[n], buttons)) {
+- SDL_JoystickUpdate();
+- SDL_Delay(50);
+- }
+- goto endbconfig;
+- }
+- }
++ joyBMap[n][b] = event.jbutton.button+1;
++ WNoInput();
++ return;
+ }
+- SDL_Delay(100);
+ }
+
+- endbconfig:
+ WNoInput();
+ return;
+ }
diff --git a/games-emulation/fceultra/files/096-stereo.patch b/games-emulation/fceultra/files/096-stereo.patch
new file mode 100644
index 000000000000..f77f1acc66d7
--- /dev/null
+++ b/games-emulation/fceultra/files/096-stereo.patch
@@ -0,0 +1,87 @@
+--- drivers/common/unixdsp.c 2003-06-20 12:37:26.000000000 -0500
++++ drivers/common/unixdsp.c 2003-07-06 21:58:21.000000000 -0500
+@@ -36,6 +36,7 @@
+
+ static int format;
+ static int dspfd;
++static int fakestereo;
+
+ // fsize is in samples, not bytes(gets translated before ioctl())
+ int InitUNIXDSPSound(int *rate, int bits, int fsize, int nfrags, int dev)
+@@ -89,9 +90,19 @@
+
+ if(ioctl(dspfd,SNDCTL_DSP_SETFRAGMENT,&x)==-1)
+ printf("ERROR (continuing anyway)\n");
+- x=0;
++
++ // Set mono sound.
++ // Some sound cards can only do stereo, so simulate stereo for these cards.
++ x=1;
++ fakestereo=0;
+ printf("\n Setting mono sound...");
+- if(ioctl(dspfd,SNDCTL_DSP_STEREO,&x)==-1) goto __disperror;
++ if(ioctl(dspfd,SNDCTL_DSP_CHANNELS,&x)==-1) goto __disperror;
++ if(x == 2)
++ {
++ printf("\n Couldn't set mono, faking stereo...\n");
++ fakestereo = 1;
++ }
++
+ printf("\n Setting playback rate of %d hz...",*rate);
+ if(ioctl(dspfd,SNDCTL_DSP_SPEED,rate)==-1) goto __disperror;
+ printf("Set to %d hz\n",*rate);
+@@ -107,9 +119,10 @@
+ }
+
+ static int16 MBuffer[2048];
++static int16 fakebuffer[4098];
+ void WriteUNIXDSPSound(int32 *Buffer, int Count, int noblocking)
+ {
+- int P,c;
++ int P,c,i;
+ int32 *src=Buffer;
+
+ if(format)
+@@ -127,13 +140,35 @@
+ c=Count<<1;
+ }
+
+-// noblocking=!noblocking; // speed testing
+- if(noblocking)
++ // If a device can only support stereo, fake stereo by duplicating each item in the buffer.
++ if(fakestereo)
++ {
++ for (i=0; i <= c; i++ )
++ {
++ fakebuffer[2*i] = MBuffer[i];
++ fakebuffer[2*i+1] = MBuffer[i];
++ }
++ c = c * 2;
++ // noblocking=!noblocking; // speed testing
++ if(noblocking)
++ {
++ struct audio_buf_info ai;
++ if(!ioctl(dspfd,SNDCTL_DSP_GETOSPACE,&ai))
++ if(ai.bytes<c)
++ return;
++ }
++ write(dspfd,(uint8 *)fakebuffer,c);
++ }
++ else
+ {
+- struct audio_buf_info ai;
+- if(!ioctl(dspfd,SNDCTL_DSP_GETOSPACE,&ai))
+- if(ai.bytes<c)
+- return;
++ // noblocking=!noblocking; // speed testing
++ if(noblocking)
++ {
++ struct audio_buf_info ai;
++ if(!ioctl(dspfd,SNDCTL_DSP_GETOSPACE,&ai))
++ if(ai.bytes<c)
++ return;
++ }
++ write(dspfd,(uint8 *)MBuffer,c);
+ }
+- write(dspfd,(uint8 *)MBuffer,c);
+ }
diff --git a/games-emulation/fceultra/files/digest-fceultra-093 b/games-emulation/fceultra/files/digest-fceultra-093
new file mode 100644
index 000000000000..5f20e5cb2ae7
--- /dev/null
+++ b/games-emulation/fceultra/files/digest-fceultra-093
@@ -0,0 +1 @@
+MD5 c2fea068f1db62ec51f6fc77f1c5da82 fceu093src.tar.gz 450883
diff --git a/games-emulation/fceultra/files/digest-fceultra-096 b/games-emulation/fceultra/files/digest-fceultra-096
new file mode 100644
index 000000000000..6c2edb8d8d09
--- /dev/null
+++ b/games-emulation/fceultra/files/digest-fceultra-096
@@ -0,0 +1 @@
+MD5 26934713c1f64f20a3f4f8a2dba0f9fb fceu096src.tar.gz 476804
diff --git a/games-emulation/game-launcher/ChangeLog b/games-emulation/game-launcher/ChangeLog
new file mode 100644
index 000000000000..18d594915056
--- /dev/null
+++ b/games-emulation/game-launcher/ChangeLog
@@ -0,0 +1,19 @@
+# ChangeLog for app-emulation/game-launcher
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/game-launcher/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+ 21 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ game-launcher-0.9.8.ebuild:
+ unpack and patch in src_unpack. Still doesn't work, but it's at least a little
+ cleaner.
+
+*game-launcher-0.9.8 (27 Oct 2002)
+
+ 21 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added games.eclass support and a gcc-3.x patch.
+
+ 27 Oct 2002; Thomas Raschbacher <lordvan@gentoo.org>: added ebuild
+ WARNING: is a security-hole cuz parts of it are(and have to be) world-writeable!!!!
+
+ 04 Jan 2003; Thomas Raschbacher <lordvan@gentoo.org>:
+ fixed ChangeLog
diff --git a/games-emulation/game-launcher/Manifest b/games-emulation/game-launcher/Manifest
new file mode 100644
index 000000000000..6b7c550bf2bc
--- /dev/null
+++ b/games-emulation/game-launcher/Manifest
@@ -0,0 +1,5 @@
+MD5 9cc5d5a3f43d70d49fa1e2ce4102feb1 ChangeLog 776
+MD5 b5321a7fad22f65b9260f8ac5cd073ba game-launcher-0.9.8.ebuild 1317
+MD5 671b1311f9989ac4e746ae60042ec36c files/0.9.8-digi-oss.patch 229
+MD5 0ce1a828196b8d4e3e0302ed4d95c4d3 files/0.9.8-gcc3.patch 299
+MD5 79514d6adf8fd7f9d6fc78210cc91aee files/digest-game-launcher-0.9.8 55
diff --git a/games-emulation/game-launcher/files/0.9.8-digi-oss.patch b/games-emulation/game-launcher/files/0.9.8-digi-oss.patch
new file mode 100644
index 000000000000..d96c89f758ec
--- /dev/null
+++ b/games-emulation/game-launcher/files/0.9.8-digi-oss.patch
@@ -0,0 +1,7 @@
+--- engine/engine.cc.orig 2003-06-21 03:11:03.000000000 -0400
++++ engine/engine.cc 2003-06-21 03:10:28.000000000 -0400
+@@ -1,3 +1,4 @@
++#define ALLEGRO_WITH_OSSDIGI
+ #include <iostream>
+ #include <strstream>
+ #include <stdlib.h>
diff --git a/games-emulation/game-launcher/files/0.9.8-gcc3.patch b/games-emulation/game-launcher/files/0.9.8-gcc3.patch
new file mode 100644
index 000000000000..141ac66a822d
--- /dev/null
+++ b/games-emulation/game-launcher/files/0.9.8-gcc3.patch
@@ -0,0 +1,11 @@
+--- ./startup/unix/glaunch.cc.old 2003-01-08 15:38:38.000000000 -0800
++++ ./startup/unix/glaunch.cc 2003-01-08 15:41:38.000000000 -0800
+@@ -5,6 +5,8 @@
+ #include "exit.h"
+ #include <stdio.h>
+
++using namespace std;
++
+ static int runProgram(const char * program);
+
+ int main(int argc, char *argv[])
diff --git a/games-emulation/game-launcher/files/digest-game-launcher-0.9.8 b/games-emulation/game-launcher/files/digest-game-launcher-0.9.8
new file mode 100644
index 000000000000..e8ce54296631
--- /dev/null
+++ b/games-emulation/game-launcher/files/digest-game-launcher-0.9.8
@@ -0,0 +1 @@
+MD5 773dcd3b8f38574ec8117986031c2a65 gl098s.zip 357961
diff --git a/games-emulation/game-launcher/game-launcher-0.9.8.ebuild b/games-emulation/game-launcher/game-launcher-0.9.8.ebuild
new file mode 100644
index 000000000000..e40f21655169
--- /dev/null
+++ b/games-emulation/game-launcher/game-launcher-0.9.8.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/game-launcher/game-launcher-0.9.8.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="universal front end for emulators ... works with MAME, Nesticle, RockNES, zSNES, snes9x, Callus, Stella, z26, and Genecyst"
+HOMEPAGE="http://www.dribin.org/dave/game_launcher/"
+SRC_URI="mirror://sourceforge/glaunch/gl${PV//./}s.zip"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+
+RDEPEND=">=media-libs/allegro-4.0.0
+ >=media-libs/loadpng-0.11
+ >=media-libs/allegromp3-2.0.2
+ >=media-libs/allegttf-2.0
+ >=media-libs/libpng-1.2.4
+ >=media-libs/jpgalleg-1.1
+ >=sys-libs/zlib-1.1.4"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ app-arch/unzip"
+
+S=${WORKDIR}/glaunch
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ edos2unix `find -regex '.*\.[ch]' -or -name '*.cc'`
+
+ epatch ${FILESDIR}/${PV}-gcc3.patch
+ epatch ${FILESDIR}/${PV}-digi-oss.patch
+
+ sed -i \
+ -e "s/TARGET\(.*\)= MINGW/#TARGET\1= MINGW/" \
+ -e "s/#TARGET\(.*\)= UNIX/TARGET\1= UNIX/" common.mk || \
+ die "sed common.mk failed"
+}
+
+src_compile() {
+ emake -j1 CXXFLAGS="${CXXFLAGS}"
+}
+
+src_install() {
+ dodir /opt/${P}
+ cp -R ${S}/* ${D}/opt/${P} # doinst can't do recursive
+ prepgamesdirs
+}
diff --git a/games-emulation/generator/ChangeLog b/games-emulation/generator/ChangeLog
new file mode 100644
index 000000000000..f60a57c15a8a
--- /dev/null
+++ b/games-emulation/generator/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/generator
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*generator-0.35 (15 Jul 2003)
+
+ 15 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me for #20818.
diff --git a/games-emulation/generator/Manifest b/games-emulation/generator/Manifest
new file mode 100644
index 000000000000..38e9e0aa849a
--- /dev/null
+++ b/games-emulation/generator/Manifest
@@ -0,0 +1,3 @@
+MD5 a3cc8571deee498c8299fab1e8d55df8 generator-0.35.ebuild 1527
+MD5 693c422146d7001565fb916cbb84faf5 files/digest-generator-0.35 66
+MD5 8372a2dd4f280ba78f4078c5c8826ff5 ChangeLog 365
diff --git a/games-emulation/generator/files/digest-generator-0.35 b/games-emulation/generator/files/digest-generator-0.35
new file mode 100644
index 000000000000..2e4ef0fce18e
--- /dev/null
+++ b/games-emulation/generator/files/digest-generator-0.35
@@ -0,0 +1 @@
+MD5 86f23702f2f7b38172863d080bb94630 generator-0.35.tar.gz 469541
diff --git a/games-emulation/generator/generator-0.35.ebuild b/games-emulation/generator/generator-0.35.ebuild
new file mode 100644
index 000000000000..5fcb2b236953
--- /dev/null
+++ b/games-emulation/generator/generator-0.35.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/generator-0.35.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games gcc
+
+DESCRIPTION="Sega Genesis / Mega Drive console emulator"
+HOMEPAGE="http://www.squish.net/generator/"
+SRC_URI="http://www.squish.net/generator/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="svga tcltk gtk" #allegro fails to compile
+
+DEPEND="gtk? ( =x11-libs/gtk+-1* media-libs/libsdl )
+ svga? ( media-libs/svgalib )
+ jpeg? ( media-libs/jpeg )
+ x86? ( dev-lang/nasm )"
+# allegro? ( media-libs/allegro )
+# tcltk? ( dev-lang/tk dev-lang/tcl ) #deprecated upstream
+
+src_compile() {
+ mkdir my-bins
+
+ local myconf="--with-gcc=`gcc-major-version`"
+ [ "${ARCH}" == "x86" ] \
+ && myconf="${myconf} --with-raze" \
+ || myconf="${myconf} --with-cmz80"
+
+ local mygui
+ for mygui in `use gtk` `use svga` ; do #`use allegro` `use tcltk`
+ [ "${mygui}" == "svga" ] && mygui=svgalib
+ make clean
+ egamesconf ${myconf} --with-${mygui} || die
+ make || die "building ${mygui}"
+ mv main/generator-${mygui} my-bins/
+ done
+ if [ -z "`use gtk``use allegro``use svga``use tcltk`" ] ; then
+ egamesconf ${myconf} --with-gtk || die
+ make || die "building ${mygui}"
+ mv main/generator-gtk my-bins/
+ fi
+}
+
+src_install() {
+ #make install DESTDIR=${D} || die #all it does is install the binary ;)
+ dogamesbin my-bins/*
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ prepgamesdirs
+}
diff --git a/games-emulation/gens/ChangeLog b/games-emulation/gens/ChangeLog
new file mode 100644
index 000000000000..73e505a43df2
--- /dev/null
+++ b/games-emulation/gens/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-emulation/gens
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*gens-2.12 (01 Aug 2003)
+
+ 01 Aug 2003; Michael Sterrett <msterret@gentoo.org> gens-2.12.ebuild:
+ initial commit. ebuild contributed by David Holm (modified) via bug 24821.
+
diff --git a/games-emulation/gens/Manifest b/games-emulation/gens/Manifest
new file mode 100644
index 000000000000..b84b0a272d81
--- /dev/null
+++ b/games-emulation/gens/Manifest
@@ -0,0 +1,3 @@
+MD5 0e74791dc8505d300034f3c30587fbad gens-2.12.ebuild 991
+MD5 c2e18790e48e3f3cc7c956e97e5618a3 ChangeLog 397
+MD5 efe989e52031e5386fc937649c0fdffa files/digest-gens-2.12 62
diff --git a/games-emulation/gens/files/digest-gens-2.12 b/games-emulation/gens/files/digest-gens-2.12
new file mode 100644
index 000000000000..82219b967387
--- /dev/null
+++ b/games-emulation/gens/files/digest-gens-2.12
@@ -0,0 +1 @@
+MD5 84b7511333f796633cfd0465c17679f2 Gens212a1SrcL.zip 572647
diff --git a/games-emulation/gens/gens-2.12.ebuild b/games-emulation/gens/gens-2.12.ebuild
new file mode 100644
index 000000000000..1f7ebfe5c25c
--- /dev/null
+++ b/games-emulation/gens/gens-2.12.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gens/gens-2.12.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+S="${WORKDIR}/${PN}_linux/gens"
+DESCRIPTION="A Sega Genesis/CD/32X emulator"
+SRC_URI="mirror://sourceforge/gens/Gens212a1SrcL.zip"
+HOMEPAGE="http://gens.consolemul.com/"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=media-libs/libsdl-1.2
+ app-arch/unzip
+ >=dev-lang/nasm-0.98
+ >=sys-apps/sed-4
+ >=x11-libs/gtk+-2.0*"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i \
+ -e "s:\./resource:${GAMES_DATADIR}/${P}:" g_ddraw_dummy.cpp || \
+ die "sed g_ddraw_dummy.cpp failed"
+
+ sed -i \
+ -e "s:\./resource:${GAMES_DATADIR}/${P}:" g_main_dummy.cpp || \
+ die "sed g_main_dummy.cpp failed"
+}
+
+src_install () {
+ dogamesbin gens
+
+ insinto ${GAMES_DATADIR}/${P}
+ doins resource/*
+
+ # Install documentation.
+ dodoc ../README
+
+ prepgamesdirs
+}
diff --git a/games-emulation/gngb/ChangeLog b/games-emulation/gngb/ChangeLog
new file mode 100644
index 000000000000..884ad7eaabdf
--- /dev/null
+++ b/games-emulation/gngb/ChangeLog
@@ -0,0 +1,37 @@
+# ChangeLog for app-emulation/gngb
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gngb/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*gngb-20030809 (09 Aug 2003)
+
+ 09 Aug 2003; Hanno Boeck <hanno@gentoo.org> gngb-20030809.ebuild:
+ Version bump.
+
+*gngb-20020819 (13 Oct 2002)
+
+ 13 Oct 2002; Hanno Boeck <hanno@gentoo.org> gngb-20020819.ebuild :
+
+ Version updated.
+
+*gngb-20020111 (27 Jul 2002)
+
+ 03 Sep 2002; Seemant Kulleen <seemant@gentoo.org> gngb-20020111.ebuild :
+
+ HOMEPAGE fix by Rachel Holmes, and modernised syntax to econf.
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 27 Jul 2002; Stuart Bouyer <stubear@gentoo.org> gngb-20020111.ebuild :
+
+ Added KEYWORS="x86" and SLOT to bring ebuild in line with QA.
+
+*gngb-20020111 (18 Jun 2002)
+
+ 18 Jun 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/gngb/Manifest b/games-emulation/gngb/Manifest
new file mode 100644
index 000000000000..f0f3355ba2b6
--- /dev/null
+++ b/games-emulation/gngb/Manifest
@@ -0,0 +1,5 @@
+MD5 e610f2b1639800c972f2679bbf0564db ChangeLog 1309
+MD5 0a93c28cfbe497b51f8d0bc16d159390 gngb-20020819.ebuild 716
+MD5 5741b7f8b3c4ce2d6173719df22d0e9c gngb-20030809.ebuild 684
+MD5 e949fd04257d079a1affb6c599f8323f files/digest-gngb-20020819 65
+MD5 1a7bbe91fd5d28454619684fc7c5ece4 files/digest-gngb-20030809 65
diff --git a/games-emulation/gngb/files/digest-gngb-20020819 b/games-emulation/gngb/files/digest-gngb-20020819
new file mode 100644
index 000000000000..21d07e31e1d2
--- /dev/null
+++ b/games-emulation/gngb/files/digest-gngb-20020819
@@ -0,0 +1 @@
+MD5 8d5635ab7f7af84705f052db2b6751db gngb-20020819.tar.gz 130855
diff --git a/games-emulation/gngb/files/digest-gngb-20030809 b/games-emulation/gngb/files/digest-gngb-20030809
new file mode 100644
index 000000000000..8e8478981a8d
--- /dev/null
+++ b/games-emulation/gngb/files/digest-gngb-20030809
@@ -0,0 +1 @@
+MD5 7d5cffb4b12ca47389ae3013da96a340 gngb-20030809.tar.gz 134587
diff --git a/games-emulation/gngb/gngb-20020819.ebuild b/games-emulation/gngb/gngb-20020819.ebuild
new file mode 100644
index 000000000000..e2d34652694d
--- /dev/null
+++ b/games-emulation/gngb/gngb-20020819.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gngb/gngb-20020819.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="gngb - Gameboy / Gameboy Color emulator"
+HOMEPAGE="http://membres.lycos.fr/frogus/gngb/"
+SRC_URI="http://membres.lycos.fr/frogus/gngb/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="x86 -ppc"
+SLOT="0"
+IUSE="opengl"
+
+RDEPEND="media-libs/libsdl
+ opengl? ( virtual/opengl )"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ use opengl || myconf=" --with-gl "
+ econf ${myconf}
+ emake || die
+}
+
+src_install() {
+ dodoc NEWS README TODO INSTALL AUTHORS
+ make DESTDIR=${D} install || die
+}
diff --git a/games-emulation/gngb/gngb-20030809.ebuild b/games-emulation/gngb/gngb-20030809.ebuild
new file mode 100644
index 000000000000..cd5b0314d1ec
--- /dev/null
+++ b/games-emulation/gngb/gngb-20030809.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gngb/gngb-20030809.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="gngb - Gameboy / Gameboy Color emulator"
+HOMEPAGE="http://m.peponas.free.fr/gngb/"
+SRC_URI="http://m.peponas.free.fr/gngb/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 -ppc"
+SLOT="0"
+IUSE="opengl"
+
+RDEPEND="media-libs/libsdl
+ opengl? ( virtual/opengl )"
+
+src_compile() {
+ use opengl || myconf=" --with-gl "
+ econf ${myconf}
+ emake || die
+}
+
+src_install() {
+ dodoc NEWS README TODO INSTALL AUTHORS
+ make DESTDIR=${D} install || die
+}
diff --git a/games-emulation/gngeo/ChangeLog b/games-emulation/gngeo/ChangeLog
new file mode 100644
index 000000000000..3c87f6562994
--- /dev/null
+++ b/games-emulation/gngeo/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-emulation/gngeo
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gngeo/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*gngeo-0.5.9a (29 Jul 2003)
+
+ 29 Jul 2003; Michael Sterrett <msterret@gentoo.org> gngeo-0.5.9a.ebuild:
+ Initial ebuild supplied by Paolo and tidied (bug 24702)
+
diff --git a/games-emulation/gngeo/Manifest b/games-emulation/gngeo/Manifest
new file mode 100644
index 000000000000..0dec71f173c3
--- /dev/null
+++ b/games-emulation/gngeo/Manifest
@@ -0,0 +1,3 @@
+MD5 b0aa67f88df43aba56c8e761f35af242 gngeo-0.5.9a.ebuild 724
+MD5 a669b0e97738744db165dba33fc587d7 ChangeLog 385
+MD5 891c5cfcc44ce184f67c53904f2ddf88 files/digest-gngeo-0.5.9a 64
diff --git a/games-emulation/gngeo/files/digest-gngeo-0.5.9a b/games-emulation/gngeo/files/digest-gngeo-0.5.9a
new file mode 100644
index 000000000000..9a2c6991d952
--- /dev/null
+++ b/games-emulation/gngeo/files/digest-gngeo-0.5.9a
@@ -0,0 +1 @@
+MD5 f3dbf7b9abb3cf74d03d0a2a7e3f9f6f gngeo-0.5.9a.tar.gz 394426
diff --git a/games-emulation/gngeo/gngeo-0.5.9a.ebuild b/games-emulation/gngeo/gngeo-0.5.9a.ebuild
new file mode 100644
index 000000000000..9a20d2d00437
--- /dev/null
+++ b/games-emulation/gngeo/gngeo-0.5.9a.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gngeo/gngeo-0.5.9a.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="A NeoGeo emulator"
+HOMEPAGE="http://m.peponas.free.fr/gngeo/"
+SRC_URI="http://m.peponas.free.fr/gngeo/download/${P}.tar.gz"
+
+KEYWORDS="x86 ppc"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="sys-libs/zlib
+ x86? ( >=dev-lang/nasm-0.98 )
+ >=media-libs/libsdl-1.2"
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS NEWS README sample_gngeorc
+}
+
+pkg_postinst() {
+ einfo
+ einfo "A licensed NeoGeo BIOS copy is required to run the emulator."
+ einfo
+}
diff --git a/games-emulation/gnomame/ChangeLog b/games-emulation/gnomame/ChangeLog
new file mode 100644
index 000000000000..bd73443af70b
--- /dev/null
+++ b/games-emulation/gnomame/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/gnomame
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnomame/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*gnomame-1.00_beta6 (11 Nov 2002)
+
+ 11 Nov 2002; L. Boshell <leonardop@gentoo.org> ChangeLog : Initial
+ import. Thanks to Paulo Ferreira for his contribution on bug #7829.
diff --git a/games-emulation/gnomame/Manifest b/games-emulation/gnomame/Manifest
new file mode 100644
index 000000000000..ecc3248c6568
--- /dev/null
+++ b/games-emulation/gnomame/Manifest
@@ -0,0 +1,3 @@
+MD5 c002fdc24635c593f10ce02d62963da6 files/digest-gnomame-1.00_beta6 66
+MD5 5b0f973ac89ed286dcb9f57946592345 gnomame-1.00_beta6.ebuild 660
+MD5 fe424c62d60d9d8e4d2f55b36a643089 ChangeLog 398
diff --git a/games-emulation/gnomame/files/digest-gnomame-1.00_beta6 b/games-emulation/gnomame/files/digest-gnomame-1.00_beta6
new file mode 100644
index 000000000000..781ab69d3650
--- /dev/null
+++ b/games-emulation/gnomame/files/digest-gnomame-1.00_beta6
@@ -0,0 +1 @@
+MD5 da00ca5546b2ef8a03c1c1c38b7bfd08 gnomame-1.00b6.tar.gz 172887
diff --git a/games-emulation/gnomame/gnomame-1.00_beta6.ebuild b/games-emulation/gnomame/gnomame-1.00_beta6.ebuild
new file mode 100644
index 000000000000..017cc6da9612
--- /dev/null
+++ b/games-emulation/gnomame/gnomame-1.00_beta6.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnomame/gnomame-1.00_beta6.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+MY_P="${P/_beta/b}"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="GTK+ xmame catalog and frontend"
+SRC_URI="http://gnomame.sourceforge.net/files/${MY_P}.tar.gz"
+HOMEPAGE="http://gnomame.sourceforge.net/"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+
+DEPEND="=x11-libs/gtk+-1.2*
+ media-libs/gdk-pixbuf"
+
+src_compile() {
+ econf || die
+ emake || die "Compilation failed"
+}
+src_install() {
+ einstall || die
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/games-emulation/gnomeboyadvance/ChangeLog b/games-emulation/gnomeboyadvance/ChangeLog
new file mode 100644
index 000000000000..84fb69111baf
--- /dev/null
+++ b/games-emulation/gnomeboyadvance/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for app-emulation/gnomeboyadvance
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnomeboyadvance/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+ 29 Aug 2003; Michael Sterrett <msterret@gentoo.org>
+ gnomeboyadvance-0.1.ebuild:
+ mark stable now that gnome-python-1.99 is stable
+
+*gnomeboyadvance-0.1 (31 Jul 2003)
+
+ 31 Jul 2003; Michael Sterrett <msterret@gentoo.org>
+ gnomeboyadvance-0.1.ebuild:
+ initial commit; modified ebuild from Alexander Kahl (bug 25669)
+
diff --git a/games-emulation/gnomeboyadvance/Manifest b/games-emulation/gnomeboyadvance/Manifest
new file mode 100644
index 000000000000..1142eb5d708b
--- /dev/null
+++ b/games-emulation/gnomeboyadvance/Manifest
@@ -0,0 +1,3 @@
+MD5 3887c1e650d0b1db96271d83f4d08540 gnomeboyadvance-0.1.ebuild 1006
+MD5 f1ecf019805fa6628821bfffae5344ff ChangeLog 565
+MD5 1ce53953ff7ebf092e9708fb4ded0e7f files/digest-gnomeboyadvance-0.1 71
diff --git a/games-emulation/gnomeboyadvance/files/digest-gnomeboyadvance-0.1 b/games-emulation/gnomeboyadvance/files/digest-gnomeboyadvance-0.1
new file mode 100644
index 000000000000..d1520a62cdbf
--- /dev/null
+++ b/games-emulation/gnomeboyadvance/files/digest-gnomeboyadvance-0.1
@@ -0,0 +1 @@
+MD5 d907b10c5ecc6623ffb519fcabc3abee gnomeboyadvance-0.1.tar.bz2 32230
diff --git a/games-emulation/gnomeboyadvance/gnomeboyadvance-0.1.ebuild b/games-emulation/gnomeboyadvance/gnomeboyadvance-0.1.ebuild
new file mode 100644
index 000000000000..d5db4394de9a
--- /dev/null
+++ b/games-emulation/gnomeboyadvance/gnomeboyadvance-0.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnomeboyadvance/gnomeboyadvance-0.1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+S=${WORKDIR}/gnomeBoyAdvance-0.1
+
+DESCRIPTION="A GNOME Python frontend to VisualBoyAdvance"
+HOMEPAGE="http://www.socialistsoftware.com/gnomeboyadvance.php"
+SRC_URI="http://www.socialistsoftware.com/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+IUSE=""
+
+RDEPEND=">=dev-lang/python-2.2
+ >=dev-python/gnome-python-1.99
+ >=dev-python/pygtk-1.99
+ app-emulation/visualboyadvance"
+
+DEPEND=">=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i \
+ -e 's:/usr/share/:/usr/share/games/:' \
+ gnomeboyadvance || die "sed gnomeboyadvance failed"
+}
+
+src_install() {
+ dogamesbin gnomeboyadvance
+ insinto ${GAMES_DATADIR}/gnomeboyadvance
+ doins gnomeBoyAdvance.png gnomeboyadvance.glade
+ dodoc README CHANGES TODO
+ prepgamesdirs
+}
diff --git a/games-emulation/gnuboy/ChangeLog b/games-emulation/gnuboy/ChangeLog
new file mode 100644
index 000000000000..ed1a7312c917
--- /dev/null
+++ b/games-emulation/gnuboy/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for app-emulation/gnuboy
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+
+*gnuboy-1.0.3 (01 Mar 2003)
+
+ 19 Dec 2002; Phil Bordelon <sunflare@gentoo.org> gnuboy-1.0.3.ebuild ChangeLog :
+ Initial commit.
diff --git a/games-emulation/gnuboy/Manifest b/games-emulation/gnuboy/Manifest
new file mode 100644
index 000000000000..75552de7394a
--- /dev/null
+++ b/games-emulation/gnuboy/Manifest
@@ -0,0 +1,3 @@
+MD5 aaa1c3b3b75fac31451803f7290c595a files/digest-gnuboy-1.0.3 64
+MD5 f6f0ed460c11e7b7b641ad552fe728bb gnuboy-1.0.3.ebuild 641
+MD5 96539c7958b72b04f038b4d8a86a013e ChangeLog 246
diff --git a/games-emulation/gnuboy/files/digest-gnuboy-1.0.3 b/games-emulation/gnuboy/files/digest-gnuboy-1.0.3
new file mode 100644
index 000000000000..189f95a62419
--- /dev/null
+++ b/games-emulation/gnuboy/files/digest-gnuboy-1.0.3
@@ -0,0 +1 @@
+MD5 9947162a208ebfe699a1bfe98c437ac3 gnuboy-1.0.3.tar.gz 187627
diff --git a/games-emulation/gnuboy/gnuboy-1.0.3.ebuild b/games-emulation/gnuboy/gnuboy-1.0.3.ebuild
new file mode 100644
index 000000000000..a4db85ab6b70
--- /dev/null
+++ b/games-emulation/gnuboy/gnuboy-1.0.3.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnuboy/gnuboy-1.0.3.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="Gameboy emulator with multiple renderers"
+HOMEPAGE="http://gnuboy.unix-fu.org/"
+SRC_URI="http://gnuboy.unix-fu.org/src/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+
+RDEPEND="media-libs/libsdl"
+
+src_compile() {
+ econf || die
+ emake || die
+}
+
+src_install() {
+ dodoc README docs/CHANGES docs/CONFIG docs/CREDITS docs/FAQ docs/HACKING docs/WHATSNEW
+ dobin fbgnuboy sdlgnuboy sgnuboy xgnuboy
+}
diff --git a/games-emulation/goosnes/ChangeLog b/games-emulation/goosnes/ChangeLog
new file mode 100644
index 000000000000..0d6623999840
--- /dev/null
+++ b/games-emulation/goosnes/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/goosnes
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/goosnes/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*goosnes-0.5.2 (02 Mar 2003)
+
+ 02 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by brian wood <doowirb7@cox.net> #11781.
diff --git a/games-emulation/goosnes/Manifest b/games-emulation/goosnes/Manifest
new file mode 100644
index 000000000000..c9d6fd735dd3
--- /dev/null
+++ b/games-emulation/goosnes/Manifest
@@ -0,0 +1,3 @@
+MD5 4d7e549948a060c3208553671694f055 ChangeLog 383
+MD5 2df72399d6ebe3347aae807c04ee8aa8 goosnes-0.5.2.ebuild 781
+MD5 87d989b20945dd0075a356c8e5562956 files/digest-goosnes-0.5.2 67
diff --git a/games-emulation/goosnes/files/digest-goosnes-0.5.2 b/games-emulation/goosnes/files/digest-goosnes-0.5.2
new file mode 100644
index 000000000000..d68220bc55e7
--- /dev/null
+++ b/games-emulation/goosnes/files/digest-goosnes-0.5.2
@@ -0,0 +1 @@
+MD5 032cb84df865f4b9e76973f8c0195804 goosnes_0.5.2-1.tar.gz 100685
diff --git a/games-emulation/goosnes/goosnes-0.5.2.ebuild b/games-emulation/goosnes/goosnes-0.5.2.ebuild
new file mode 100644
index 000000000000..47c293b6dfd9
--- /dev/null
+++ b/games-emulation/goosnes/goosnes-0.5.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/goosnes/goosnes-0.5.2.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="A GTK+ frontend for Snes9X"
+SRC_URI="http://bard.sytes.net/debian/dists/unstable/main/source/${PN}_${PV}-1.tar.gz"
+HOMEPAGE="http://bard.sytes.net/goosnes/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+IUSE="gtk2"
+
+DEPEND="|| (
+ gtk2? ( =x11-libs/gtk+-2* )
+ =x11-libs/gtk+-1*
+ )
+ dev-util/pkgconfig
+ dev-libs/libxml2"
+RDEPEND="app-emulation/snes9x"
+
+src_compile() {
+ use gtk2 && myconf="--with-gtk-version=2.0"
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/games-emulation/grustibus/ChangeLog b/games-emulation/grustibus/ChangeLog
new file mode 100644
index 000000000000..7e4e7ae2db40
--- /dev/null
+++ b/games-emulation/grustibus/ChangeLog
@@ -0,0 +1,45 @@
+# ChangeLog for app-games/grustibus
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/grustibus/ChangeLog,v 1.1 2003/09/09 16:28:07 vapier Exp $
+
+
+*grustibus-0.43-r4 (18 Jul 2002)
+
+ 30 Aug 2002; Seemant Kulleen <seemant@gentoo.org> grustibus-0.43-r4.ebuild :
+
+ LFH and NLS issues solved.
+
+ 18 Jul 2002; Spider <spider@gentoo.org> grustibus-0.43-r4.ebuild :
+ applied the patch from <caleb@webninja.com> Caleb Shay to fix a /usr/etc issue
+
+*grustibus-0.43-r3 (15 jun 2002)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> grustibus-0.43-r3.ebuild :
+ Added LICENSE, KEYWORDS.
+ 15 Jun 2002; Gabriele Giorgetti <stroke@gentoo.org> grustibus-0.43-r3.ebuild:
+ fixes missing dep to gdk-pixbuf (bug #3591)
+
+
+*grustibus-0.43-r2 (7 May 2002)
+
+ 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> grustibus-0.43-r2.ebuild :
+ Added LICENSE, KEYWORDS.
+ 7 May 2002; Spider <spider@gentoo.org> grustibus-0.43-r2.ebuild:
+ fix sourceforge mirroring.
+
+
+*grustibus-0.43-r2 (1 Feb 2002)
+
+ 4 Feb 2002; T.Neidt <tod@gentoo.org> ChangeLog :
+
+ Updated DEPEND to reflect xmame nove to app-emulation.
+
+*grustibus-0.43-r2 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/grustibus/Manifest b/games-emulation/grustibus/Manifest
new file mode 100644
index 000000000000..f325c745c954
--- /dev/null
+++ b/games-emulation/grustibus/Manifest
@@ -0,0 +1,3 @@
+MD5 226e786f08a2a387044b6685f600e3e0 ChangeLog 1653
+MD5 712fca7d26a60bb53bf7f60322daf6ee grustibus-0.43-r4.ebuild 798
+MD5 dd4620294ac5183f481b4a0b563d3673 files/digest-grustibus-0.43-r4 66
diff --git a/games-emulation/grustibus/files/digest-grustibus-0.43-r4 b/games-emulation/grustibus/files/digest-grustibus-0.43-r4
new file mode 100644
index 000000000000..3184ba52d657
--- /dev/null
+++ b/games-emulation/grustibus/files/digest-grustibus-0.43-r4
@@ -0,0 +1 @@
+MD5 f7c8f57bb4ada4f12b95106484a09dc3 grustibus-0.43.tar.gz 537801
diff --git a/games-emulation/grustibus/grustibus-0.43-r4.ebuild b/games-emulation/grustibus/grustibus-0.43-r4.ebuild
new file mode 100644
index 000000000000..6cc0893e81d2
--- /dev/null
+++ b/games-emulation/grustibus/grustibus-0.43-r4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/grustibus/grustibus-0.43-r4.ebuild,v 1.1 2003/09/09 16:28:07 vapier Exp $
+
+S=${WORKDIR}/${P}
+SRC_URI="mirror://sourceforge/grustibus/${P}.tar.gz"
+HOMEPAGE="http://grustibus.sourceforge.net"
+DESCRIPTION="A GNOME-based front-end for the M.A.M.E. video game emulator"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+DEPEND=">=app-emulation/xmame-0.56.1
+ >=media-libs/gdk-pixbuf-0.17.0
+ >=gnome-base/gnome-libs-1.4.1.2"
+
+src_compile() {
+ local myconf
+ export CPPFLAGS=`gdk-pixbuf-config --cflags`
+ use nls || myconf="--disable-nls"
+ econf ${myconf}
+ emake || die
+}
+
+src_install() {
+ einstall
+ dodoc README INSTALL ChangeLog ABOUT-NLS TODO NEWS
+}
diff --git a/games-emulation/gtuxnes/ChangeLog b/games-emulation/gtuxnes/ChangeLog
new file mode 100644
index 000000000000..2bf654b50a0e
--- /dev/null
+++ b/games-emulation/gtuxnes/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-emulation/gtuxnes
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gtuxnes/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*gtuxnes-0.75 (27 Aug 2003)
+
+ 27 Aug 2003; Michael Sterrett <msterret@gentoo.org> gtuxnes-0.75.ebuild:
+ initial commit. ebuild based on one provided by Jeff Saucier via bug 27447
+
diff --git a/games-emulation/gtuxnes/Manifest b/games-emulation/gtuxnes/Manifest
new file mode 100644
index 000000000000..36e1beba9e3d
--- /dev/null
+++ b/games-emulation/gtuxnes/Manifest
@@ -0,0 +1,3 @@
+MD5 c2f2d3412c1b61ecfc58ba01f0682ad4 gtuxnes-0.75.ebuild 855
+MD5 3781d67a8879c20bbbab74c491b4e7c7 ChangeLog 409
+MD5 27220fa938dbcd142954d021c0a9aec1 files/digest-gtuxnes-0.75 63
diff --git a/games-emulation/gtuxnes/files/digest-gtuxnes-0.75 b/games-emulation/gtuxnes/files/digest-gtuxnes-0.75
new file mode 100644
index 000000000000..f80269c1879c
--- /dev/null
+++ b/games-emulation/gtuxnes/files/digest-gtuxnes-0.75
@@ -0,0 +1 @@
+MD5 19355f3c08dfa3a8b56dbececf22bfea gtuxnes-0.75.tar.gz 16805
diff --git a/games-emulation/gtuxnes/gtuxnes-0.75.ebuild b/games-emulation/gtuxnes/gtuxnes-0.75.ebuild
new file mode 100644
index 000000000000..93d0a37b5657
--- /dev/null
+++ b/games-emulation/gtuxnes/gtuxnes-0.75.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gtuxnes/gtuxnes-0.75.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION='GTK frontend for tuxnes, the emulator for the 8-bit Nintendo Entertainment System'
+HOMEPAGE='http://www.scottweber.com/projects/gtuxnes/'
+SRC_URI="http://www.scottweber.com/projects/gtuxnes/${P}.tar.gz"
+
+LICENSE='GPL-2'
+KEYWORDS='x86'
+SLOT='0'
+IUSE=''
+
+DEPEND='x11-libs/gtk+
+ >=sys-apps/sed-4'
+RDEPEND='>=app-emulation/tuxnes-0.75'
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i \
+ -e 's/gcc/$(CC) $(CFLAGS)/' Makefile || \
+ die 'sed Makefile failed'
+}
+
+src_compile() {
+ emake || die 'emake failed'
+}
+
+src_install() {
+ dobin gtuxnes
+
+ # Install documentation
+ dodoc AUTHORS CHANGES INSTALL README TODO
+}
diff --git a/games-emulation/gxmame/ChangeLog b/games-emulation/gxmame/ChangeLog
new file mode 100644
index 000000000000..78e3d5bd93f5
--- /dev/null
+++ b/games-emulation/gxmame/ChangeLog
@@ -0,0 +1,25 @@
+# ChangeLog for app-emulation/gxmame
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gxmame/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*gxmame-0.33 (13 Jul 2003)
+
+ 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #24105.
+
+*gxmame-0.32 (06 Apr 2003)
+
+ 06 Apr 2003; Martin Holzer <mholzer@gentoo.org> gxmame-0.32.ebuild:
+ Version bumped. Closes #18398.
+
+*gxmame-0.31 (13 Jan 2003)
+
+ 06 Apr 2003; Martin Holzer <mholzer@gentoo.org> gxmame-0.31.ebuild:
+ Added xmame as RDEPEND. Closes #17760
+
+ 16 Mar 2003; Seemant Kulleen <seemant@gentoo.org> gxmame-0.31.ebuild:
+ added src_install function. closes bug #17477 by Kfir Ozer <ufk2k@yahoo.com>
+
+ 13 Jan 2003; Ryan Phillips <rphillips@gentoo.org> gxmame-0.31.ebuild:
+ Official version
+
diff --git a/games-emulation/gxmame/Manifest b/games-emulation/gxmame/Manifest
new file mode 100644
index 000000000000..16a8f8a6e4ea
--- /dev/null
+++ b/games-emulation/gxmame/Manifest
@@ -0,0 +1,3 @@
+MD5 791cb9798cc5acf94cc7c6bf879b3b92 files/digest-gxmame-0.33 63
+MD5 1bb0fda31aadf4fc2139149f2ba4e239 ChangeLog 842
+MD5 d1e4989c72625612a7bbeb1d167d9f38 gxmame-0.33.ebuild 742
diff --git a/games-emulation/gxmame/files/digest-gxmame-0.33 b/games-emulation/gxmame/files/digest-gxmame-0.33
new file mode 100644
index 000000000000..252d98a085ee
--- /dev/null
+++ b/games-emulation/gxmame/files/digest-gxmame-0.33
@@ -0,0 +1 @@
+MD5 b3469d300ccb6654f893e88823d93799 gxmame-0.33.tar.gz 556360
diff --git a/games-emulation/gxmame/gxmame-0.33.ebuild b/games-emulation/gxmame/gxmame-0.33.ebuild
new file mode 100644
index 000000000000..cf2f62e0da9c
--- /dev/null
+++ b/games-emulation/gxmame/gxmame-0.33.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gxmame/gxmame-0.33.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="frontend for XMame using the GTK library"
+HOMEPAGE="http://gxmame.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE="nls"
+
+DEPEND="virtual/x11
+ =x11-libs/gtk+-1.2*
+ =dev-libs/glib-1.2*
+ media-libs/gdk-pixbuf"
+RDEPEND="nls? ( sys-devel/gettext )
+ app-emulation/xmame"
+
+src_compile() {
+ econf `use_enable nls` || die
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ dodoc AUTHORS BUGS ChangeLog NEWS README TODO
+}
diff --git a/games-emulation/hatari/ChangeLog b/games-emulation/hatari/ChangeLog
new file mode 100644
index 000000000000..3dbeea51d1d9
--- /dev/null
+++ b/games-emulation/hatari/ChangeLog
@@ -0,0 +1,19 @@
+# ChangeLog for app-emulation/hatari
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/hatari/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+ 03 Sep 2003; David Holm <dholm@gentoo.org> hatari-0.40.ebuild:
+ Added hatari to ~ppc.
+
+ 04 Aug 2003; Michael Sterrett <msterret@gentoo.org> hatari-0.40.ebuild:
+ tidy; error messages
+
+*hatari-0.40 (15 Jul 2003)
+
+ 15 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bumpage #22095 + games.eclass support.
+
+*hatari-0.20.2 (11 Dec 2002)
+
+ 11 Dec 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ initial release
diff --git a/games-emulation/hatari/Manifest b/games-emulation/hatari/Manifest
new file mode 100644
index 000000000000..33a26cfb122a
--- /dev/null
+++ b/games-emulation/hatari/Manifest
@@ -0,0 +1,3 @@
+MD5 de5d6e4c1148277f2bb18fe31e05fe42 ChangeLog 651
+MD5 c560e63395409219995e360f5bdfe9ee hatari-0.40.ebuild 952
+MD5 3e8a51349887e732bbc7c357a71afd70 files/digest-hatari-0.40 63
diff --git a/games-emulation/hatari/files/digest-hatari-0.40 b/games-emulation/hatari/files/digest-hatari-0.40
new file mode 100644
index 000000000000..b64568045a14
--- /dev/null
+++ b/games-emulation/hatari/files/digest-hatari-0.40
@@ -0,0 +1 @@
+MD5 afeaff145cdbff6a0342f0b0d467abc2 hatari-0.40.tar.gz 301057
diff --git a/games-emulation/hatari/hatari-0.40.ebuild b/games-emulation/hatari/hatari-0.40.ebuild
new file mode 100644
index 000000000000..a9a9dc4b803b
--- /dev/null
+++ b/games-emulation/hatari/hatari-0.40.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/hatari/hatari-0.40.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Atari ST emulator"
+SRC_URI="mirror://sourceforge/hatari/${P}.tar.gz"
+HOMEPAGE="http://hatari.sourceforge.net/"
+
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc"
+SLOT="0"
+
+DEPEND="media-libs/libsdl
+ sys-libs/zlib"
+
+src_compile() {
+ cd src
+ emake \
+ CMPLRFLAGS="${CFLAGS}" \
+ DATADIR=${GAMES_DATADIR}/${PN} \
+ || die "emake failed"
+}
+
+src_install() {
+ dogamesbin ${S}/src/hatari || die
+ dodoc *.txt doc/*.txt
+ dohtml doc/.html
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "You need a tos rom to run hatari, you can find EmuTOS here:"
+ einfo " http://emutos.sourceforge.net/ - Which is a free TOS implementation"
+ einfo "or, go here and get a real TOS:"
+ einfo " http://www.atari.st/"
+}
diff --git a/games-emulation/infones/ChangeLog b/games-emulation/infones/ChangeLog
new file mode 100644
index 000000000000..c6ce997a613e
--- /dev/null
+++ b/games-emulation/infones/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-emulation/infones
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/infones/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*infones-0.91 (03 Sep 2003)
+
+ 03 Sep 2003; Michael Sterrett <msterret@gentoo.org> infones-0.91.ebuild:
+ initial commit. ebuild supplied by 4967@geocities.co.jp and modified. (bug
+ 27891)
+
diff --git a/games-emulation/infones/Manifest b/games-emulation/infones/Manifest
new file mode 100644
index 000000000000..01bdd5fd5a70
--- /dev/null
+++ b/games-emulation/infones/Manifest
@@ -0,0 +1,3 @@
+MD5 ebf03af1b40ac5672899ddc9df86e7dc infones-0.91.ebuild 808
+MD5 0f05cc45afc50a4d0df796126a95d5d8 ChangeLog 417
+MD5 8c06e90c0085e8cba29e8b1672e645b8 files/digest-infones-0.91 64
diff --git a/games-emulation/infones/files/digest-infones-0.91 b/games-emulation/infones/files/digest-infones-0.91
new file mode 100644
index 000000000000..58aaa7ab488d
--- /dev/null
+++ b/games-emulation/infones/files/digest-infones-0.91
@@ -0,0 +1 @@
+MD5 eed0a1dc397f4af2e97a4b60b8a53b2c InfoNES091J_Src.zip 233333
diff --git a/games-emulation/infones/infones-0.91.ebuild b/games-emulation/infones/infones-0.91.ebuild
new file mode 100644
index 000000000000..dfc6057858da
--- /dev/null
+++ b/games-emulation/infones/infones-0.91.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/infones/infones-0.91.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+MY_P="InfoNES${PV//.}J_Src"
+S="${WORKDIR}/${MY_P}/linux"
+DESCRIPTION="A fast and portable NES emulator"
+HOMEPAGE="http://www.geocities.co.jp/SiliconValley/5604/infones/"
+SRC_URI="http://www.geocities.co.jp/SiliconValley/5604/bin/${MY_P}.zip"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+IUSE=""
+
+RDEPEND="=x11-libs/gtk+-1.2*"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e "s:-O2:${CFLAGS}:" Makefile || \
+ die "sed Makefile failed"
+}
+
+src_install() {
+ dogamesbin InfoNES
+ dohtml ../doc/readme.html
+ prepgamesdirs
+}
diff --git a/games-emulation/mekanix/ChangeLog b/games-emulation/mekanix/ChangeLog
new file mode 100644
index 000000000000..26e11cedcf15
--- /dev/null
+++ b/games-emulation/mekanix/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/mekanix
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mekanix/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*mekanix-065 (20 Jul 2003)
+
+ 20 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by David Holm <dholm@telia.com> #24817.
diff --git a/games-emulation/mekanix/Manifest b/games-emulation/mekanix/Manifest
new file mode 100644
index 000000000000..6a39328764bd
--- /dev/null
+++ b/games-emulation/mekanix/Manifest
@@ -0,0 +1,4 @@
+MD5 8fb2c78af2caf03fdf49f96c022cb70b files/digest-mekanix-065 59
+MD5 64cb21b55f208b73364dc7e57a1a995c files/mekanix 45
+MD5 751373fdc24a6dcc2f6fdf5d46142774 ChangeLog 380
+MD5 a7f90e74c5057147d9d20f243cc74d22 mekanix-065.ebuild 711
diff --git a/games-emulation/mekanix/files/digest-mekanix-065 b/games-emulation/mekanix/files/digest-mekanix-065
new file mode 100644
index 000000000000..b4ee7c1020ac
--- /dev/null
+++ b/games-emulation/mekanix/files/digest-mekanix-065
@@ -0,0 +1 @@
+MD5 9d810786a512773acff0c9634d69428f mekanix065.zip 596438
diff --git a/games-emulation/mekanix/files/mekanix b/games-emulation/mekanix/files/mekanix
new file mode 100644
index 000000000000..af09514c1bf6
--- /dev/null
+++ b/games-emulation/mekanix/files/mekanix
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_DIR
+exec ./meka.exe ${@}
diff --git a/games-emulation/mekanix/mekanix-065.ebuild b/games-emulation/mekanix/mekanix-065.ebuild
new file mode 100644
index 000000000000..ae4c48cc3ab6
--- /dev/null
+++ b/games-emulation/mekanix/mekanix-065.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mekanix/mekanix-065.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="SG-1000, SC-3000, SF-7000, SSC, SMS, GG, COLECO, and OMV emulator"
+HOMEPAGE="http://www.smspower.org/meka/"
+SRC_URI="http://www.smspower.org/meka/${PN}${PV}.zip"
+
+LICENSE="mekanix"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/x11"
+
+S=${WORKDIR}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+ chmod a+x meka.exe
+ cp * ${D}/${dir}/
+ dogamesbin ${FILESDIR}/mekanix
+ dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/mekanix
+ prepgamesdirs
+}
diff --git a/games-emulation/mupen64/ChangeLog b/games-emulation/mupen64/ChangeLog
new file mode 100644
index 000000000000..72d0cd79fd6f
--- /dev/null
+++ b/games-emulation/mupen64/ChangeLog
@@ -0,0 +1,21 @@
+# ChangeLog for app-emulation/mupen64
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*mupen64-0.2 (03 Sep 2003)
+
+ 03 Sep 2003; Michael Sterrett <msterret@gentoo.org> mupen64-0.2.ebuild:
+ version bump (bug 26448)
+
+ 25 Jun 2003; <msterret@gentoo.org> mupen64-0.1.ebuild:
+ KEYWORD sparc64 doesn't exist; use sed -i (added src_unpack)
+
+*mupen64-0.1 (21 Jun 2003)
+
+ 21 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bumped + build from src + games.eclass support #13141.
+
+*mupen64-0.0.90a (26 Dec 2002)
+
+ 26 Dec 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ initial release
diff --git a/games-emulation/mupen64/Manifest b/games-emulation/mupen64/Manifest
new file mode 100644
index 000000000000..948f6016c667
--- /dev/null
+++ b/games-emulation/mupen64/Manifest
@@ -0,0 +1,6 @@
+MD5 87c51f06386416f3cae54f7c43450203 ChangeLog 737
+MD5 e51d6f4f29e2c1c4f2a1c6714f912eaf mupen64-0.1.ebuild 1021
+MD5 23dcfb03a4fc5fff77d14eb8b2efc906 mupen64-0.2.ebuild 976
+MD5 31f743eb9e30bd96396635010d31457f files/digest-mupen64-0.1 64
+MD5 8225a5e81a5ca90560d2b3133f04306e files/mupen64 208
+MD5 f595bb1bf10b107e02bc4dd00ee40f0a files/digest-mupen64-0.2 64
diff --git a/games-emulation/mupen64/files/digest-mupen64-0.1 b/games-emulation/mupen64/files/digest-mupen64-0.1
new file mode 100644
index 000000000000..1124e075af68
--- /dev/null
+++ b/games-emulation/mupen64/files/digest-mupen64-0.1
@@ -0,0 +1 @@
+MD5 7dd7b836a4630eef07f863a691ec4895 mupen64_0.1_src.tgz 795936
diff --git a/games-emulation/mupen64/files/digest-mupen64-0.2 b/games-emulation/mupen64/files/digest-mupen64-0.2
new file mode 100644
index 000000000000..57ee87a06ab5
--- /dev/null
+++ b/games-emulation/mupen64/files/digest-mupen64-0.2
@@ -0,0 +1 @@
+MD5 82bb8ee15a6c791d23a35dfb616541fa mupen64_src-0.2.tgz 937878
diff --git a/games-emulation/mupen64/files/mupen64 b/games-emulation/mupen64/files/mupen64
new file mode 100644
index 000000000000..ef2ad4c06d8e
--- /dev/null
+++ b/games-emulation/mupen64/files/mupen64
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if [ ! -d ~/.mupen64/save ] ; then
+ mkdir -p ~/.mupen64/{save,plugins}
+ cd ~/.mupen64
+ ln -s GENTOO_DIR/plugins/* plugins/
+ ln -s GENTOO_DIR/mupen64 mupen64
+fi
+
+cd ~/.mupen64
+GENTOO_DIR/mupen64 $@
diff --git a/games-emulation/mupen64/mupen64-0.1.ebuild b/games-emulation/mupen64/mupen64-0.1.ebuild
new file mode 100644
index 000000000000..30caea3667aa
--- /dev/null
+++ b/games-emulation/mupen64/mupen64-0.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64/mupen64-0.1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="A Nintendo 64 (N64) emulator"
+#SRC_URI="http://mupen64.emulation64.com/files/mupen64_${PV}.tgz"
+SRC_URI="mirror://gentoo/mupen64_${PV}_src.tgz"
+HOMEPAGE="http://mupen64.emulation64.com/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 -ppc -sparc"
+
+DEPEND="=x11-libs/gtk+-1.2*
+ >=sys-apps/sed-4
+ media-libs/libsdl
+ virtual/glu
+ virtual/opengl"
+
+S=${WORKDIR}/emu64
+
+src_unpack() {
+ unpack ${A}
+ sed -i -e "/^CC.*/s:$: ${CFLAGS}:" ${S}/Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ local dir=${GAMES_LIBDIR}/${PN}
+ dodir ${dir}
+
+ cp -r mupen64* lang plugins save roms path.cfg ${D}/${dir}/
+ sed -e "s:GENTOO_DIR:${dir}:" \
+ ${FILESDIR}/mupen64 > ${T}/mupen64
+ dogamesbin ${T}/mupen64
+
+ dodoc *.txt
+ dohtml index.htm
+
+ prepgamesdirs
+}
diff --git a/games-emulation/mupen64/mupen64-0.2.ebuild b/games-emulation/mupen64/mupen64-0.2.ebuild
new file mode 100644
index 000000000000..bbe91467e87d
--- /dev/null
+++ b/games-emulation/mupen64/mupen64-0.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64/mupen64-0.2.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+MY_P="${PN}_src-${PV}"
+S="${WORKDIR}/emu64"
+DESCRIPTION="A Nintendo 64 (N64) emulator"
+SRC_URI="http://mupen64.emulation64.com/files/src/${MY_P}.tgz"
+HOMEPAGE="http://mupen64.emulation64.com/"
+
+KEYWORDS="-* x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="=x11-libs/gtk+-1.2*
+ >=sys-apps/sed-4
+ media-libs/libsdl
+ virtual/glu
+ virtual/opengl"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e "/^CC.*/s:$: ${CFLAGS}:" Makefile || \
+ die "sed Makefile failed"
+}
+
+src_install() {
+ local dir=${GAMES_LIBDIR}/${PN}
+ dodir ${dir}
+
+ cp -r mupen64* lang plugins save roms path.cfg ${D}/${dir}/
+ sed -e "s:GENTOO_DIR:${dir}:" \
+ ${FILESDIR}/mupen64 > ${T}/mupen64
+ dogamesbin ${T}/mupen64
+
+ dodoc *.txt
+ dohtml index.htm
+
+ prepgamesdirs
+}
diff --git a/games-emulation/nestra/ChangeLog b/games-emulation/nestra/ChangeLog
new file mode 100644
index 000000000000..17ff33df1942
--- /dev/null
+++ b/games-emulation/nestra/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-emulation/nestra
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/nestra/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*nestra-0.66 (27 Dec 2002)
+
+ 18 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add debian patch + games.eclass support.
+
+ 27 Dec 2002; Ryan Phillips <rphillips@gentoo.org> nestra-0.66.ebuild :
+ initial release
diff --git a/games-emulation/nestra/Manifest b/games-emulation/nestra/Manifest
new file mode 100644
index 000000000000..258492c668ea
--- /dev/null
+++ b/games-emulation/nestra/Manifest
@@ -0,0 +1,3 @@
+MD5 5d044df0a5fe990c7654cddd26af095c ChangeLog 437
+MD5 30aba1fd0c27d47f14a9ab1fd35526ce nestra-0.66.ebuild 842
+MD5 32d582dc60a09f353a5bc5f1cf254960 files/digest-nestra-0.66 126
diff --git a/games-emulation/nestra/files/digest-nestra-0.66 b/games-emulation/nestra/files/digest-nestra-0.66
new file mode 100644
index 000000000000..60f6b4c31ca7
--- /dev/null
+++ b/games-emulation/nestra/files/digest-nestra-0.66
@@ -0,0 +1,2 @@
+MD5 ef3de7a20216e88e60d5b973b72d8217 nestra-0.66.tar.gz 49757
+MD5 82883440ec0f141e88372ebae6fbbf32 nestra_0.66-6.diff.gz 2221
diff --git a/games-emulation/nestra/nestra-0.66.ebuild b/games-emulation/nestra/nestra-0.66.ebuild
new file mode 100644
index 000000000000..ff584b62609b
--- /dev/null
+++ b/games-emulation/nestra/nestra-0.66.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/nestra/nestra-0.66.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+PATCH="${P/-/_}-6.diff"
+DESCRIPTION="NES emulation for Linux/x86"
+HOMEPAGE="http://nestra.linuxgames.com/"
+SRC_URI="http://nestra.linuxgames.com/${P}.tar.gz
+ http://ftp.debian.org/debian/pool/contrib/n/nestra/${PATCH}.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/x11"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${WORKDIR}/${PATCH}
+ sed -i \
+ -e 's:-O2 ::' \
+ -e "s:gcc:gcc ${CFLAGS}:" \
+ Makefile
+}
+
+src_compile() {
+ make || die "compile failed"
+}
+
+src_install() {
+ dogamesbin nestra
+ dodoc BUGS CHANGES README
+ doman nestra.6
+ prepgamesdirs
+}
diff --git a/games-emulation/nwwine/ChangeLog b/games-emulation/nwwine/ChangeLog
new file mode 100644
index 000000000000..e3fb539dd04c
--- /dev/null
+++ b/games-emulation/nwwine/ChangeLog
@@ -0,0 +1,26 @@
+# ChangeLog for app-emulation/nwwine
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/nwwine/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*nwwine-20030709 (08 Sep 2003)
+
+ 08 Sep 2003; Alex Veber <coronalvr@gentoo.org> nwwine-20030709.ebuild:
+ version bump
+
+*nwwine-20030618 (28 Jun 2003)
+
+ 28 Jun 2003; Alex Veber <coronalvr@gentoo.org> nwwine-20030618.ebuild:
+ version bump.
+
+ 06 Jun 2003; <msterret@gentoo.org> nwwine-20020703.ebuild:
+ DEPEND on sed >= 4; use sed -i
+
+*nwwine-20020703 (28 Mar 2003)
+
+ 01 Apr 2003; phoen][x <phoenix@gentoo.org> nwwine-20020703.ebuild :
+ Replaced 'export C{XX}FLAGS=""' with 'unset CFLAGS CXXFLAGS'.
+ Read bug #17986 for additional information about this.
+
+ 28 Mar 2003; phoen][x <phoenix@gentoo.org> nwwine-20020703.ebuild,
+ files/wine-20021125-fake_windows.tar.bz2, files/wine-20021125-misc.tar.bz2 :
+ Initial import.
diff --git a/games-emulation/nwwine/Manifest b/games-emulation/nwwine/Manifest
new file mode 100644
index 000000000000..77bc90dd6ef1
--- /dev/null
+++ b/games-emulation/nwwine/Manifest
@@ -0,0 +1,10 @@
+MD5 bfefd9c14cc5af781f3549413924723c nwwine-20020703.ebuild 3168
+MD5 c2cbd847df48a2b45d0dba165d8dfaac nwwine-20030618.ebuild 3327
+MD5 0e0eb5dd147d43f5338b47228568fec4 nwwine-20030709.ebuild 3397
+MD5 9eb3e86c1ea013e9854e1d42256bd453 ChangeLog 954
+MD5 6525c48ba09d08599432ea6c299e52f4 metadata.xml 354
+MD5 cec34c252d6533f2810215a52b8da2ff files/digest-nwwine-20020703 68
+MD5 da29c2497d9360990085f8b6d248f9a5 files/digest-nwwine-20030618 293
+MD5 f1568a96d35c3362af94ca9370e9a24d files/digest-nwwine-20030709 226
+MD5 0244316187b4ee80cb791d238f1a67a6 files/nwwine-20020703-misc.tar.bz2 4603
+MD5 af8da46a0e51578ff1e18e399141d628 files/nwwine-20020703-fake_windows.tar.bz2 500
diff --git a/games-emulation/nwwine/files/digest-nwwine-20020703 b/games-emulation/nwwine/files/digest-nwwine-20020703
new file mode 100644
index 000000000000..0dcb9187c341
--- /dev/null
+++ b/games-emulation/nwwine/files/digest-nwwine-20020703
@@ -0,0 +1 @@
+MD5 47972dc42e8eb2dc062463bd61318d2e nwwine-20020703.tar.gz 7701588
diff --git a/games-emulation/nwwine/files/digest-nwwine-20030618 b/games-emulation/nwwine/files/digest-nwwine-20030618
new file mode 100644
index 000000000000..bc6988e63fbb
--- /dev/null
+++ b/games-emulation/nwwine/files/digest-nwwine-20030618
@@ -0,0 +1,4 @@
+MD5 9f71d94bdd166bf6ad5d29fd1f3c067f nwwine-20030618-misc.tar.bz2 4603
+MD5 9b9fc6e2368037fb8956b4d4ef1d94e2 nwwine-based-on-20030618.tar.gz 8922762
+MD5 af8da46a0e51578ff1e18e399141d628 nwwine-20030618-fake_windows.tar.bz2 500
+MD5 35f5ecf311952d369a24bdf7477c59df wine-nvidia-fix.patch.gz 6124
diff --git a/games-emulation/nwwine/files/digest-nwwine-20030709 b/games-emulation/nwwine/files/digest-nwwine-20030709
new file mode 100644
index 000000000000..814e5deb3a95
--- /dev/null
+++ b/games-emulation/nwwine/files/digest-nwwine-20030709
@@ -0,0 +1,3 @@
+MD5 9f71d94bdd166bf6ad5d29fd1f3c067f nwwine-20030618-misc.tar.bz2 4603
+MD5 6e282b59a9b861b493a430e6064da7f6 nwwine-based-on-20030709.tar.gz 9138320
+MD5 af8da46a0e51578ff1e18e399141d628 nwwine-20030618-fake_windows.tar.bz2 500
diff --git a/games-emulation/nwwine/files/nwwine-20020703-fake_windows.tar.bz2 b/games-emulation/nwwine/files/nwwine-20020703-fake_windows.tar.bz2
new file mode 100644
index 000000000000..d60f11e08ee3
--- /dev/null
+++ b/games-emulation/nwwine/files/nwwine-20020703-fake_windows.tar.bz2
Binary files differ
diff --git a/games-emulation/nwwine/files/nwwine-20020703-misc.tar.bz2 b/games-emulation/nwwine/files/nwwine-20020703-misc.tar.bz2
new file mode 100644
index 000000000000..4db1affaf4bf
--- /dev/null
+++ b/games-emulation/nwwine/files/nwwine-20020703-misc.tar.bz2
Binary files differ
diff --git a/games-emulation/nwwine/metadata.xml b/games-emulation/nwwine/metadata.xml
new file mode 100644
index 000000000000..6e1b347e6c04
--- /dev/null
+++ b/games-emulation/nwwine/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>wine</herd>
+<longdescription>
+This package allows you to run many winodws applications in your *nix environment. It can be used either with your existing Windows instalation or without it.
+</longdescription>
+</pkgmetadata>
diff --git a/games-emulation/nwwine/nwwine-20020703.ebuild b/games-emulation/nwwine/nwwine-20020703.ebuild
new file mode 100644
index 000000000000..aef434c76d38
--- /dev/null
+++ b/games-emulation/nwwine/nwwine-20020703.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/nwwine/nwwine-20020703.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="A special version of wine for the Never Winter Nights toolkit"
+HOMEPAGE="http://www.winehq.com/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 -ppc -sparc"
+IUSE="nas arts cups opengl alsa tcltk debug"
+
+DEPEND="sys-devel/gcc
+ sys-devel/flex
+ dev-util/yacc
+ >=sys-apps/sed-4
+ >=sys-libs/ncurses-5.2
+ >=media-libs/freetype-2.0.0
+ X? ( virtual/x11 )
+ tcltk? ( dev-lang/tcl dev-lang/tk )
+ arts? ( kde-base/arts )
+ alsa? ( media-libs/alsa-lib )
+ nas? ( media-libs/nas )
+ cups? ( net-print/cups )
+ opengl? ( virtual/opengl )"
+
+src_compile() {
+ # there's no configure flag for cups, arts, alsa and nas, it's supposed to be autodetected
+
+ # use the default setting in ./configure over the /etc/make.conf setting
+ unset CFLAGS CXXFLAGS
+
+ ./configure \
+ --prefix=/usr/lib/${PN} \
+ --sysconfdir=/etc/${PN} \
+ --host=${CHOST} \
+ --enable-curses \
+ `use_enable opengl` \
+ `use_enable debug trace` \
+ `use_enable debug` \
+ || die "configure failed"
+
+ sed -i -e 's:wine.pm:include/wine.pm:' ${S}/programs/winetest/Makefile || \
+ die "sed programs/winetest/Makefile failed"
+
+ # No parallel make
+ make depend all || die "make depend all failed"
+ cd programs && emake || die
+}
+
+src_install() {
+ local WINEMAKEOPTS="prefix=${D}/usr/lib/${PN}"
+
+ ### Install wine to ${D}
+ make ${WINEMAKEOPTS} install || die
+ cd ${S}/programs
+ make ${WINEMAKEOPTS} install || die
+
+ # Needed for later installation
+ dodir /usr/bin
+
+ ### Creation of /usr/lib/${PN}/.data
+ # set up fake_windows
+ dodir /usr/lib/${PN}/.data
+ cd ${D}/usr/lib/nwwine/.data
+ tar jxvf ${FILESDIR}/${P}-fake_windows.tar.bz2
+ chown root:root fake_windows/ -R
+
+ # unpack the miscellaneous files
+ tar jxvf ${FILESDIR}/${P}-misc.tar.bz2
+ chown root:root config
+
+ # move wrappers to bin/
+ insinto /usr/bin
+ dobin regedit-nwwine nwwine
+ rm regedit-nwwine nwwine
+
+ # put winedefault.reg into .data
+ insinto /usr/lib/${PN}/.data
+ doins ${WORKDIR}/${P}/winedefault.reg
+
+ # set up this dynamic data
+ cd ${S}
+ insinto /usr/lib/${PN}/.data/fake_windows/Windows
+ doins documentation/samples/system.ini
+ doins documentation/samples/generic.ppd
+ ## Setup of .data complete
+
+ ### Misc tasks
+ # take care of the documentation
+ cd ${S}
+ dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
+
+ # manpage setup
+ cp ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1
+ doman ${D}/usr/lib/${PN}/man/man1/${PN}.1
+ rm ${D}/usr/lib/${PN}/man/man1/${PN}.1
+
+ # remove the executable flag from those libraries.
+ cd ${D}/usr/lib/${PN}/lib/wine
+ chmod a-x *.so
+}
+
+pkg_postinst() {
+ einfo "Use /usr/bin/nwwine to start wine. This is a wrapper-script"
+ einfo "which will take care of everything else."
+ einfo ""
+ einfo "Use /usr/bin/regedit-nwwine to import registry files into the"
+ einfo "wine registry."
+ einfo ""
+ einfo "If you have further questions, enhancements or patches"
+ einfo "send an email to phoenix@gentoo.org"
+}
diff --git a/games-emulation/nwwine/nwwine-20030618.ebuild b/games-emulation/nwwine/nwwine-20030618.ebuild
new file mode 100644
index 000000000000..14be0badcd16
--- /dev/null
+++ b/games-emulation/nwwine/nwwine-20030618.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/nwwine/nwwine-20030618.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="A special version of wine for the Never Winter Nights toolkit"
+HOMEPAGE="http://www.winehq.com/ http://republika.pl/nwnlinux/"
+SRC_URI="mirror://gentoo/${P}-misc.tar.bz2
+ ftp://128.173.184.249/Linux/nwwine/nwwine-based-on-${PV}.tar.gz
+ mirror://gentoo/${P}-fake_windows.tar.bz2
+ mirror://gentoo/wine-nvidia-fix.patch.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 -ppc -sparc"
+IUSE="nas arts cups opengl alsa tcltk debug"
+
+DEPEND="sys-devel/gcc
+ sys-devel/flex
+ dev-util/yacc
+ >=sys-apps/sed-4
+ >=sys-libs/ncurses-5.2
+ >=media-libs/freetype-2.0.0
+ X? ( virtual/x11 )
+ tcltk? ( dev-lang/tcl dev-lang/tk )
+ arts? ( kde-base/arts )
+ alsa? ( media-libs/alsa-lib )
+ nas? ( media-libs/nas )
+ cups? ( net-print/cups )
+ opengl? ( virtual/opengl )"
+
+S=${WORKDIR}/nwwine-based-on-${PV}
+
+src_compile() {
+ cd ${S}/dlls/opengl32
+ epatch ${WORKDIR}/wine-nvidia-fix.patch
+
+ cd ${S}
+ #fix the nwwine wrapper
+ mv nwwine.sh nwwine.old
+ sed -e "s:wine:/usr/lib/nwwine/bin/wine:" nwwine.old > nwwine.sh
+
+ # there's no configure flag for cups, arts, alsa and nas, it's supposed to be autodetected
+
+ # use the default setting in ./configure over the /etc/make.conf setting
+ unset CFLAGS CXXFLAGS
+
+ ./configure \
+ --prefix=/usr/lib/${PN} \
+ --sysconfdir=/etc/${PN} \
+ --host=${CHOST} \
+ --enable-curses \
+ `use_enable opengl` \
+ `use_enable debug trace` \
+ `use_enable debug` \
+ || die "configure failed"
+
+ # No parallel make
+ make depend all || die "make depend all failed"
+ cd programs && emake || die
+}
+
+src_install() {
+ local WINEMAKEOPTS="prefix=${D}/usr/lib/${PN}"
+
+ ### Install wine to ${D}
+ make ${WINEMAKEOPTS} install || die
+ cd ${S}/programs
+ make ${WINEMAKEOPTS} install || die
+
+ # Needed for later installation
+ dodir /usr/bin
+
+ ### Creation of /usr/lib/${PN}/.data
+ # set up fake_windows
+ dodir /usr/lib/${PN}/.data
+ cd ${D}/usr/lib/nwwine/.data
+ cp -r ${WORKDIR}/fake_windows .
+
+ # copy config
+ cp ${WORKDIR}/config .
+
+ # put winedefault.reg into .data
+ cp ${S}/winedefault.reg .
+
+ # move wrappers to bin/
+ cd ${WORKDIR}
+ insinto /usr/bin
+ dobin regedit-nwwine nwwine
+ rm regedit-nwwine nwwine
+
+ # set up this dynamic data
+ cd ${S}
+ insinto /usr/lib/${PN}/.data/fake_windows/Windows
+ doins documentation/samples/system.ini
+ doins documentation/samples/generic.ppd
+ ## Setup of .data complete
+
+ ### Misc tasks
+ # take care of the documentation
+ cd ${S}
+ dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
+
+ # manpage setup
+ mv ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1
+ doman ${D}/usr/lib/${PN}/man/man1/${PN}.1
+ rm ${D}/usr/lib/${PN}/man/man1/${PN}.1
+
+ # remove the executable flag from those libraries.
+ cd ${D}/usr/lib/${PN}/lib/wine
+ chmod a-x *.so
+}
+
+pkg_postinst() {
+ einfo "Use /usr/bin/nwwine to start wine. This is a wrapper-script"
+ einfo "which will take care of everything else."
+ einfo ""
+ einfo "Use /usr/bin/regedit-nwwine to import registry files into the"
+ einfo "wine registry."
+ einfo ""
+ einfo "If you have bugs, enhancements or patches"
+ einfo "report a bug and assign it to wine@gentoo.org"
+}
diff --git a/games-emulation/nwwine/nwwine-20030709.ebuild b/games-emulation/nwwine/nwwine-20030709.ebuild
new file mode 100644
index 000000000000..5acf1e15b046
--- /dev/null
+++ b/games-emulation/nwwine/nwwine-20030709.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/nwwine/nwwine-20030709.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="A special version of wine for the Never Winter Nights toolkit"
+SRC_URI="mirror://gentoo/nwwine-20030618-misc.tar.bz2
+ ftp://128.173.184.249/Linux/nwwine/nwwine-based-on-${PV}.tar.gz
+ mirror://gentoo/nwwine-20030618-fake_windows.tar.bz2"
+
+HOMEPAGE="http://www.winehq.com/ http://republika.pl/nwnlinux/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 -ppc -sparc"
+IUSE="nas arts cups opengl alsa tcltk"
+S=${WORKDIR}/nwwine-based-on-${PV}
+
+DEPEND="sys-devel/gcc
+ sys-devel/flex
+ dev-util/yacc
+ >=sys-apps/sed-4
+ >=sys-libs/ncurses-5.2
+ >=media-libs/freetype-2.0.0
+ X? ( virtual/x11 )
+ tcltk? ( dev-lang/tcl dev-lang/tk )
+ arts? ( kde-base/arts )
+ alsa? ( media-libs/alsa-lib )
+ nas? ( media-libs/nas )
+ cups? ( net-print/cups )
+ opengl? ( virtual/opengl )"
+RDEPEND=""
+
+src_compile() {
+ cd ${S}/dlls/opengl32
+
+ cd ${S}
+ #fix the nwwine wrapper
+ mv nwwine.sh nwwine.old
+ sed -e "s:wine:/usr/lib/nwwine/bin/wine:" nwwine.old > nwwine.sh
+
+ local myconf
+
+ use opengl && myconf="--enable-opengl" || myconf="--disable-opengl"
+ [ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug"
+ # there's no configure flag for cups, arts, alsa and nas, it's supposed to be autodetected
+
+ # use the default setting in ./configure over the /etc/make.conf setting
+ unset CFLAGS CXXFLAGS
+
+ ./configure --prefix=/usr/lib/${PN} \
+ --sysconfdir=/etc/${PN} \
+ --host=${CHOST} \
+ --enable-curses \
+ ${myconf} || die "configure failed"
+
+ # No parallel make
+ make depend all || die "make depend all failed"
+ cd programs && emake || die
+}
+
+src_install () {
+ local WINEMAKEOPTS="prefix=${D}/usr/lib/${PN}"
+
+ ### Install wine to ${D}
+ cd ${S}
+ make ${WINEMAKEOPTS} install || die
+ cd ${S}/programs
+ make ${WINEMAKEOPTS} install || die
+
+ # Needed for later installation
+ dodir /usr/bin
+
+ ### Creation of /usr/lib/${PN}/.data
+ # set up fake_windows
+ dodir /usr/lib/${PN}/.data
+ cd ${D}/usr/lib/nwwine/.data
+ cp -r ${WORKDIR}/fake_windows .
+
+ # copy config
+ cp ${WORKDIR}/config .
+
+ # put winedefault.reg into .data
+ cp ${S}/winedefault.reg .
+
+ # move wrappers to bin/
+ cd ${WORKDIR}
+ insinto /usr/bin
+ dobin regedit-nwwine nwwine
+ rm regedit-nwwine nwwine
+
+ # set up this dynamic data
+ cd ${S}
+ insinto /usr/lib/${PN}/.data/fake_windows/Windows
+ doins documentation/samples/system.ini
+ doins documentation/samples/generic.ppd
+ ## Setup of .data complete
+
+ ### Misc tasks
+ # take care of the documentation
+ cd ${S}
+ dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README
+
+ # manpage setup
+ mv ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1
+ doman ${D}/usr/lib/${PN}/man/man1/${PN}.1
+ rm ${D}/usr/lib/${PN}/man/man1/${PN}.1
+
+ # remove the executable flag from those libraries.
+ cd ${D}/usr/lib/${PN}/lib/wine
+ chmod a-x *.so
+}
+
+pkg_postinst() {
+ einfo "Use /usr/bin/nwwine to start wine. This is a wrapper-script"
+ einfo "which will take care of everything else."
+ einfo ""
+ einfo "Use /usr/bin/regedit-nwwine to import registry files into the"
+ einfo "wine registry."
+ einfo ""
+ einfo "If you have bugs, enhancements or patches"
+ einfo "report a bug and assign it to wine@gentoo.org"
+}
diff --git a/games-emulation/pcsx/ChangeLog b/games-emulation/pcsx/ChangeLog
new file mode 100644
index 000000000000..c5748676cd3f
--- /dev/null
+++ b/games-emulation/pcsx/ChangeLog
@@ -0,0 +1,48 @@
+# ChangeLog for app-emulation/pcsx
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*pcsx-1.5-r1 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added games.eclass support.
+
+*pcsx-1.5 (27 May 2003)
+
+ 29 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Added missing changelog entry.
+
+ 26 May 2003; <msterret@gentoo.org> pcsx-1.4.ebuild:
+ New ebuild for 1.5. There's something odd about the RDEPEND stuff in 1.4 but
+ I don't know what to do about it. Hopefully someone else will pick this ebuild
+ up and tidy it if necessary.
+
+*pcsx-1.4 (11 Dec 2002)
+
+ 07 Apr 2003; YAMAKURA Makoto <yakina@gentoo.org> files/pcsx:
+ get rid of a possibility of copyright infringement
+
+ 11 Dec 2002; Ryan Phillips <rphillips@gentoo.org> pcsx-1.4.ebuild :
+ New version
+
+*pcsx-1.2 (27 Jul 2002)
+
+ 17 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> pcsx-1.2.ebuild :
+ Added IUSE.
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 27 Jul 2002; Stuart Bouyer <stubear@gentoo.org> pcsx-1.2.ebuild :
+
+ Added KEYWORDS="x86" and SLOT.
+
+*pcsx-1.2 (2 June 2002)
+
+ 2 June 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/pcsx/Manifest b/games-emulation/pcsx/Manifest
new file mode 100644
index 000000000000..d01b52ac4776
--- /dev/null
+++ b/games-emulation/pcsx/Manifest
@@ -0,0 +1,5 @@
+MD5 5d4178cacae36906aaf26238d2f556b2 files/digest-pcsx-1.5-r1 60
+MD5 fdf3d6afdc389182742ce8e378b17916 files/pcsx 1314
+MD5 2f9732780627a19f6cf58f4f46ae93a4 files/1.5-gentoo.patch 365
+MD5 6def754a7e4af9f39b7c6748bc1e5b24 pcsx-1.5-r1.ebuild 1394
+MD5 14869003388287b479f98d8f5402d6f9 ChangeLog 1665
diff --git a/games-emulation/pcsx/files/1.5-gentoo.patch b/games-emulation/pcsx/files/1.5-gentoo.patch
new file mode 100644
index 000000000000..e490758f64af
--- /dev/null
+++ b/games-emulation/pcsx/files/1.5-gentoo.patch
@@ -0,0 +1,11 @@
+--- Linux/LnxMain.c.orig 2003-08-14 00:55:01.529872992 -0400
++++ Linux/LnxMain.c 2003-08-14 00:54:56.000000000 -0400
+@@ -48,7 +48,7 @@
+ bindtextdomain(PACKAGE, "./Langs");
+ textdomain(PACKAGE);
+ #endif
+- strcpy(cfgfile, "Pcsx.cfg");
++ sprintf(cfgfile, "%s/.pcsx/config", getenv("HOME"));
+
+ for (i=1; i<argc; i++) {
+ if (!strcmp(argv[i], "-runcd")) runcd = 1;
diff --git a/games-emulation/pcsx/files/digest-pcsx-1.5-r1 b/games-emulation/pcsx/files/digest-pcsx-1.5-r1
new file mode 100644
index 000000000000..b3b5dc8f697b
--- /dev/null
+++ b/games-emulation/pcsx/files/digest-pcsx-1.5-r1
@@ -0,0 +1 @@
+MD5 591eaf198d3bb3da45a30e4fdffec11c PcsxSrc-1.5.tgz 441651
diff --git a/games-emulation/pcsx/files/pcsx b/games-emulation/pcsx/files/pcsx
new file mode 100644
index 000000000000..0a66d5411542
--- /dev/null
+++ b/games-emulation/pcsx/files/pcsx
@@ -0,0 +1,56 @@
+#!/bin/bash
+
+source /sbin/functions.sh
+
+if [ ! -f ${HOME}/.pcsx/config ]; then
+ einfo You are running PCSX for the first time.
+ einfo Setting up your PCSX environment... Please wait...
+
+ mkdir -p ${HOME}/.pcsx
+ cd ${HOME}/.pcsx
+ mkdir memcards bios cfg plugins
+
+ ln -s /usr/games/bin/pcsx.bin pcsx
+ ln -s /usr/games/lib/psemu/plugins/* plugins/
+ ln -s /usr/share/games/pcsx .pixmaps
+
+ cd bios
+ if [ -f /usr/games/lib/psemu/bios/scph1001.bin ]; then
+ ln -s /usr/games/lib/psemu/bios/scph1001.bin .
+ biosname=scph1001.bin
+ else
+ biosname=HLE
+ fi
+ cd ..
+
+ cat >${HOME}/.pcsx/config <<EOF
+Bios = $biosname
+Gpu = $(basename $(ls plugins/libgpu* | cut -f1 -d\ ) )
+Spu = $(basename $(ls plugins/libspu* | cut -f1 -d\ ) )
+Cdr = $(basename $(ls plugins/libcdr* | cut -f1 -d\ ) )
+Pad1 = $(basename $(ls plugins/libpadXwin-* | cut -f1 -d\ ) )
+Pad2 = $(basename $(ls plugins/libpadXwin-* | cut -f1 -d\ ) )
+Mcd1 = ${HOME}/.pcsx/memcards/Mcd001.mcr
+Mcd2 = ${HOME}/.pcsx/memcards/Mcd002.mcr
+PluginsDir = ${HOME}/.pcsx/plugins/
+BiosDir = ${HOME}/.pcsx/bios/
+Xa = 0
+Sio = 0
+Mdec = 0
+PsxAuto = 1
+PsxType = 0
+Cdda = 0
+Cpu = 0
+PsxOut = 0
+SpuIrq = 0
+CdTiming = 0
+EOF
+ unset biosname
+fi
+
+cd ${HOME}/.pcsx/
+
+ln -s /usr/games/lib/psemu/cfg/* cfg/ &>/dev/null
+ln -s /usr/games/lib/psemu/plugins/* plugins/ &>/dev/null
+
+exec ./pcsx "$@"
diff --git a/games-emulation/pcsx/pcsx-1.5-r1.ebuild b/games-emulation/pcsx/pcsx-1.5-r1.ebuild
new file mode 100644
index 000000000000..be8901193996
--- /dev/null
+++ b/games-emulation/pcsx/pcsx-1.5-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx/pcsx-1.5-r1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+S=${WORKDIR}/PcsxSrc-${PV}
+DESCRIPTION="Playstation emulator"
+HOMEPAGE="http://www.pcsx.net/"
+SRC_URI="http://www.pcsx.net/downloads/PcsxSrc-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="opengl"
+
+DEPEND="sys-libs/zlib
+ >=sys-apps/sed-4
+ app-arch/unzip
+ x11-libs/gtk+
+ gnome-base/libglade"
+RDEPEND="app-emulation/psemu-cdr
+ app-emulation/psemu-cdriso
+ app-emulation/psemu-padxwin
+ app-emulation/psemu-padjoy
+ app-emulation/psemu-peopsspu
+ || (
+ opengl? ( app-emulation/psemu-gpupetemesagl )
+ app-emulation/psemu-peopssoftgpu
+ )"
+
+src_unpack() {
+ unpack PcsxSrc-${PV}.tgz
+ cd ${S}
+
+ edos2unix `find -regex '.*\.[ch]'`
+
+ epatch ${FILESDIR}/${PV}-gentoo.patch
+ sed -i \
+ -e "s:Plugin/:${GAMES_LIBDIR}/psemu/plugins/:" \
+ -e "s:Bios/:${GAMES_LIBDIR}/psemu/bios/:" \
+ -e 's:Pcsx.cfg:~/.pcsx/config:' \
+ Linux/LnxMain.c \
+ || die "sed LnxMain.c failed"
+}
+
+src_compile() {
+ cd Linux
+ econf || die "econf failed"
+ emake OPTIMIZE="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ newgamesbin Linux/pcsx pcsx.bin
+ dogamesbin ${FILESDIR}/pcsx
+ insinto ${GAMES_DATADIR}/${PN}
+ doins Linux/.pixmaps/*
+ dodoc Docs/*
+ prepgamesdirs
+}
diff --git a/games-emulation/pcsx2/ChangeLog b/games-emulation/pcsx2/ChangeLog
new file mode 100644
index 000000000000..442a933a0b91
--- /dev/null
+++ b/games-emulation/pcsx2/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/pcsx2
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx2/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*pcsx2-0.41 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me. Wish they werent such asses on efnet ;)
diff --git a/games-emulation/pcsx2/Manifest b/games-emulation/pcsx2/Manifest
new file mode 100644
index 000000000000..d480bf6f6c31
--- /dev/null
+++ b/games-emulation/pcsx2/Manifest
@@ -0,0 +1,5 @@
+MD5 ae83b13b8fd78cb3d081d50adb38c920 files/0.41-time-renames.patch 732
+MD5 5f167c3b3688c456e81d43bbdf4d41fa files/digest-pcsx2-0.41 62
+MD5 8ecb9d8f54b0527e788b7aa5ef5bc11b files/pcsx2 1280
+MD5 263fdae4b5400049ba732d4499d308fe ChangeLog 383
+MD5 d693b59d4fa1cc0985814341fa5d4843 pcsx2-0.41.ebuild 1043
diff --git a/games-emulation/pcsx2/files/0.41-time-renames.patch b/games-emulation/pcsx2/files/0.41-time-renames.patch
new file mode 100644
index 000000000000..96b924beffd7
--- /dev/null
+++ b/games-emulation/pcsx2/files/0.41-time-renames.patch
@@ -0,0 +1,16 @@
+--- Pcsx2Src/RPC/80000001fileio.h.orig 2003-08-14 11:39:42.319499152 -0400
++++ Pcsx2Src/RPC/80000001fileio.h 2003-08-14 11:40:09.145420992 -0400
+@@ -73,10 +73,10 @@
+ 4 Symbolic link */
+ unsigned int st_attr;// Flag compatible with memory card mode
+ unsigned int st_size;
+- unsigned char st_ctime[8];// Creation time
+- unsigned char st_atime[8];/* This field is updated at the same time as last access time
++ unsigned char sr_ctime[8];// Creation time
++ unsigned char sr_atime[8];/* This field is updated at the same time as last access time
+ and last update time. */
+- unsigned char st_mtime[8];/* Last update time
++ unsigned char sr_mtime[8];/* Last update time
+ byte0 Reserved
+ byte1 Seconds
+ byte2 Minutes
diff --git a/games-emulation/pcsx2/files/digest-pcsx2-0.41 b/games-emulation/pcsx2/files/digest-pcsx2-0.41
new file mode 100644
index 000000000000..f2a0408e7299
--- /dev/null
+++ b/games-emulation/pcsx2/files/digest-pcsx2-0.41
@@ -0,0 +1 @@
+MD5 1748f41ba1b0b61cbff5b6f61285cf0b Pcsx2Src-0.41.tgz 588804
diff --git a/games-emulation/pcsx2/files/pcsx2 b/games-emulation/pcsx2/files/pcsx2
new file mode 100644
index 000000000000..6a4776c3c882
--- /dev/null
+++ b/games-emulation/pcsx2/files/pcsx2
@@ -0,0 +1,50 @@
+#!/bin/bash
+
+source /sbin/functions.sh
+
+if [ ! -f ${HOME}/.pcsx2/Pcsx2.cfg ]; then
+ einfo You are running PCSX2 for the first time.
+ einfo Setting up your PCSX2 environment... Please wait...
+
+ mkdir -p ${HOME}/.pcsx2
+ cd ${HOME}/.pcsx2
+ mkdir Bios Docs Plugins host memcards snap
+
+ ln -s /usr/games/bin/pcsx2.bin pcsx2
+ ln -s /usr/games/lib/ps2emu/plugins/* Plugins/
+ ln -s /usr/games/lib/ps2emu/Langs Langs
+
+ cd Bios
+ if [ -f /usr/games/lib/ps2emu/bios/scph1001.bin ]; then
+ ln -s /usr/games/lib/ps2emu/bios/scph1001.bin .
+ biosname=scph1001.bin
+ else
+ biosname=HLE
+ fi
+ cd ..
+
+ cat >${HOME}/.pcsx2/Pcsx2.cfg <<EOF
+Bios = $biosname
+GS = $(basename $(ls Plugins/libGS* | cut -f1 -d\ ) )
+SPU2 = $(basename $(ls Plugins/libSPU2* | cut -f1 -d\ ) )
+CDVD = $(basename $(ls Plugins/libCDVD* | cut -f1 -d\ ) )
+PAD1 = $(basename $(ls Plugins/libPADxwin-* | cut -f1 -d\ ) )
+PAD2 = $(basename $(ls Plugins/libPADxwin-* | cut -f1 -d\ ) )
+Mcd1 = ${HOME}/.pcsx2/memcards/Mcd001.mcr
+Mcd2 = ${HOME}/.pcsx2/memcards/Mcd002.mcr
+PluginsDir = ${HOME}/.pcsx2/Plugins/
+BiosDir = ${HOME}/.pcsx2/Bios/
+Cpu = 0
+PsxOut = 0
+varLog = 0
+Lang = en
+EOF
+
+fi
+
+cd ${HOME}/.pcsx2/
+
+ln -s /usr/games/lib/ps2emu/cfg/* cfg/ &>/dev/null
+ln -s /usr/games/lib/ps2emu/plugins/* plugins/ &>/dev/null
+
+exec ./pcsx2 "$@"
diff --git a/games-emulation/pcsx2/pcsx2-0.41.ebuild b/games-emulation/pcsx2/pcsx2-0.41.ebuild
new file mode 100644
index 000000000000..d9193f716e3b
--- /dev/null
+++ b/games-emulation/pcsx2/pcsx2-0.41.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/pcsx2/pcsx2-0.41.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Playstation2 emulator"
+HOMEPAGE="http://www.pcsx2.net/"
+SRC_URI="http://www.pcsx2.net/download/0.4release/Pcsx2Src-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+RDEPEND="virtual/x11
+ =x11-libs/gtk+-1*
+ || (
+ app-emulation/ps2emu-cddvdlinuz
+ app-emulation/ps2emu-cdvdiso
+ )
+ app-emulation/ps2emu-gssoft
+ app-emulation/ps2emu-padxwin
+ app-emulation/ps2emu-spu2null"
+DEPEND="${RDEPEND}
+ dev-lang/nasm"
+
+S=${WORKDIR}/Pcsx2Src
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-time-renames.patch
+}
+
+src_compile() {
+ cd Linux
+ emake OPTIMIZE="${CFLAGS}" || die
+}
+
+src_install() {
+ newgamesbin Linux/pcsx2 pcsx2.bin
+ dogamesbin ${FILESDIR}/pcsx2
+ dodir ${GAMES_LIBDIR}/ps2emu/Langs
+ cp -r Intl/Langs/* ${D}/${GAMES_LIBDIR}/ps2emu/Langs/
+ dodoc Docs/*.txt
+ prepgamesdirs
+}
diff --git a/games-emulation/ps2emu-cddvdlinuz/ChangeLog b/games-emulation/ps2emu-cddvdlinuz/ChangeLog
new file mode 100644
index 000000000000..0dc939fbc424
--- /dev/null
+++ b/games-emulation/ps2emu-cddvdlinuz/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/ps2emu-cddvdlinuz
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-cddvdlinuz/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*ps2emu-cddvdlinuz-0.3 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-emulation/ps2emu-cddvdlinuz/Manifest b/games-emulation/ps2emu-cddvdlinuz/Manifest
new file mode 100644
index 000000000000..9806e16fa93c
--- /dev/null
+++ b/games-emulation/ps2emu-cddvdlinuz/Manifest
@@ -0,0 +1,4 @@
+MD5 ff9fe8eafc781375748f9b2a5e7204b5 files/0.3-makefile.patch 455
+MD5 d6c24c1b968339f45513edac0bd76c5f files/digest-ps2emu-cddvdlinuz-0.3 60
+MD5 dce79c65d32a60e559b6f5af879569f2 ChangeLog 377
+MD5 0b2db051214a5dd5b2ab321e52fceb13 ps2emu-cddvdlinuz-0.3.ebuild 804
diff --git a/games-emulation/ps2emu-cddvdlinuz/files/0.3-makefile.patch b/games-emulation/ps2emu-cddvdlinuz/files/0.3-makefile.patch
new file mode 100644
index 000000000000..c7b5c30157a4
--- /dev/null
+++ b/games-emulation/ps2emu-cddvdlinuz/files/0.3-makefile.patch
@@ -0,0 +1,11 @@
+--- Src/Makefile.orig 2003-08-14 21:02:15.411249256 -0400
++++ Src/Makefile 2003-08-14 21:02:22.793127040 -0400
+@@ -2,7 +2,7 @@
+ VERSION = 0
+ BUILD = 3
+ PLUGIN = libCDVDlinuz-${VERSION}.${BUILD}.so
+-CFLAGS+= -fPIC -Wall -O2 -fomit-frame-pointer -D__LINUX__
++CFLAGS+= -fPIC -Wall $(OPTFLAGS) -D__LINUX__
+ OBJECTS = CDVD.o interface.o support.o
+ LIBS = $(shell gtk-config --libs)
+ CFLAGS+= $(shell gtk-config --cflags) -DVERSION=${VERSION} -DBUILD=${BUILD}
diff --git a/games-emulation/ps2emu-cddvdlinuz/files/digest-ps2emu-cddvdlinuz-0.3 b/games-emulation/ps2emu-cddvdlinuz/files/digest-ps2emu-cddvdlinuz-0.3
new file mode 100644
index 000000000000..3d95670ed018
--- /dev/null
+++ b/games-emulation/ps2emu-cddvdlinuz/files/digest-ps2emu-cddvdlinuz-0.3
@@ -0,0 +1 @@
+MD5 cd9cf5e6cb9cb34470a0e1b68419e30c CDVDlinuz-0.3.gz 20048
diff --git a/games-emulation/ps2emu-cddvdlinuz/ps2emu-cddvdlinuz-0.3.ebuild b/games-emulation/ps2emu-cddvdlinuz/ps2emu-cddvdlinuz-0.3.ebuild
new file mode 100644
index 000000000000..9022eb6872b1
--- /dev/null
+++ b/games-emulation/ps2emu-cddvdlinuz/ps2emu-cddvdlinuz-0.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-cddvdlinuz/ps2emu-cddvdlinuz-0.3.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="PSEmu2 CD/DVD plugin"
+HOMEPAGE="http://www.pcsx2.net/"
+SRC_URI="http://www.pcsx2.net/download/0.4release/CDVDlinuz-${PV}.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="=x11-libs/gtk+-1*"
+
+S=${WORKDIR}/CDVDlinuz
+
+src_unpack() {
+ unpack ${A}
+ tar -xf CDVDlinuz-${PV} || die "unpacking tar"
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-makefile.patch
+}
+
+src_compile() {
+ cd Src
+ emake OPTFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dodoc ReadMe.txt
+ cd Src
+ exeinto ${GAMES_LIBDIR}/ps2emu/plugins
+ doexe lib*
+ prepgamesdirs
+}
diff --git a/games-emulation/ps2emu-cdvdiso/ChangeLog b/games-emulation/ps2emu-cdvdiso/ChangeLog
new file mode 100644
index 000000000000..a1aff634ab56
--- /dev/null
+++ b/games-emulation/ps2emu-cdvdiso/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/ps2emu-cdvdiso
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-cdvdiso/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*ps2emu-cdvdiso-0.2 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-emulation/ps2emu-cdvdiso/Manifest b/games-emulation/ps2emu-cdvdiso/Manifest
new file mode 100644
index 000000000000..aa28168c7703
--- /dev/null
+++ b/games-emulation/ps2emu-cdvdiso/Manifest
@@ -0,0 +1,4 @@
+MD5 fdaa16c333aac38e52823d86f45c8053 files/0.2-makefile.patch 443
+MD5 98ef7264ce8a7cfde2d664a0fb3dbabb files/digest-ps2emu-cdvdiso-0.2 60
+MD5 818706d07b53178520622bfa10bf6fb8 ChangeLog 368
+MD5 daefcacf21764c56eb227b6428e63c66 ps2emu-cdvdiso-0.2.ebuild 817
diff --git a/games-emulation/ps2emu-cdvdiso/files/0.2-makefile.patch b/games-emulation/ps2emu-cdvdiso/files/0.2-makefile.patch
new file mode 100644
index 000000000000..b05e8bb61494
--- /dev/null
+++ b/games-emulation/ps2emu-cdvdiso/files/0.2-makefile.patch
@@ -0,0 +1,11 @@
+--- src/Linux/Makefile.orig 2003-08-14 20:56:46.568240992 -0400
++++ src/Linux/Makefile 2003-08-14 20:56:54.059102208 -0400
+@@ -6,7 +6,7 @@
+ BUILD = 2
+ PLUGIN = libCDVDiso-${VERSION}.${BUILD}.so
+ CFG = cfgCDVDiso
+-CFLAGS = -fPIC -Wall -O2 -fomit-frame-pointer -I.. -I. -D__LINUX__
++CFLAGS = -fPIC -Wall $(OPTFLAGS) -I.. -I. -D__LINUX__
+ OBJECTS = ../CDVDiso.o Config.o Linux.o
+ CFGOBJS = conf.o interface.o support.o Config.o
+ LIBS = -lz -lbz2
diff --git a/games-emulation/ps2emu-cdvdiso/files/digest-ps2emu-cdvdiso-0.2 b/games-emulation/ps2emu-cdvdiso/files/digest-ps2emu-cdvdiso-0.2
new file mode 100644
index 000000000000..257b86e02015
--- /dev/null
+++ b/games-emulation/ps2emu-cdvdiso/files/digest-ps2emu-cdvdiso-0.2
@@ -0,0 +1 @@
+MD5 9dac871710e7d5fe56db66a4917fca65 CDVDiso-0.2.zip 151378
diff --git a/games-emulation/ps2emu-cdvdiso/ps2emu-cdvdiso-0.2.ebuild b/games-emulation/ps2emu-cdvdiso/ps2emu-cdvdiso-0.2.ebuild
new file mode 100644
index 000000000000..445827ecc6c6
--- /dev/null
+++ b/games-emulation/ps2emu-cdvdiso/ps2emu-cdvdiso-0.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-cdvdiso/ps2emu-cdvdiso-0.2.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="PSEmu2 CD/DVD iso plugin"
+HOMEPAGE="http://www.pcsx2.net/"
+SRC_URI="http://www.pcsx2.net/download/0.4release/CDVDiso-${PV}.zip"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="=x11-libs/gtk+-1*"
+
+S=${WORKDIR}/CDVDiso
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-makefile.patch
+}
+
+src_compile() {
+ cd src/Linux
+ emake OPTFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dodoc ReadMe.txt
+ cd src/Linux
+ exeinto ${GAMES_LIBDIR}/ps2emu/plugins
+ doexe lib*
+ exeinto ${GAMES_LIBDIR}/ps2emu/cfg
+ doexe cfgCDVDiso
+ prepgamesdirs
+}
diff --git a/games-emulation/ps2emu-gssoft/ChangeLog b/games-emulation/ps2emu-gssoft/ChangeLog
new file mode 100644
index 000000000000..0cd349fdd469
--- /dev/null
+++ b/games-emulation/ps2emu-gssoft/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/ps2emu-gssoft
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-gssoft/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*ps2emu-gssoft-0.5 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-emulation/ps2emu-gssoft/Manifest b/games-emulation/ps2emu-gssoft/Manifest
new file mode 100644
index 000000000000..4f4e57d6ea9e
--- /dev/null
+++ b/games-emulation/ps2emu-gssoft/Manifest
@@ -0,0 +1,4 @@
+MD5 01d21af1bbe9f5f447154e46a7430496 files/0.5-makefile.patch 806
+MD5 4a8e97848fc551a45b1e00021333f575 files/digest-ps2emu-gssoft-0.5 59
+MD5 55be2ca071ba2aed212a8aa34e371497 ChangeLog 365
+MD5 d4e2541ed16700c30805d57fcfc18fe9 ps2emu-gssoft-0.5.ebuild 1085
diff --git a/games-emulation/ps2emu-gssoft/files/0.5-makefile.patch b/games-emulation/ps2emu-gssoft/files/0.5-makefile.patch
new file mode 100644
index 000000000000..c0e79a8d0c75
--- /dev/null
+++ b/games-emulation/ps2emu-gssoft/files/0.5-makefile.patch
@@ -0,0 +1,21 @@
+--- Src/Linux/Makefile.orig 2003-08-14 13:11:45.664823032 -0400
++++ Src/Linux/Makefile 2003-08-14 13:13:07.997306592 -0400
+@@ -5,13 +5,17 @@
+ VERSION = 0
+ BUILD = 5
+ PLUGIN = libGSsoftx-${VERSION}.${BUILD}.so
+-CFLAGS+= -fPIC -Wall -O3 -fomit-frame-pointer -I. -I..
++CFLAGS+= -fPIC -Wall $(OPTFLAGS) -I. -I..
+ OBJS = ../GS.o ../Prim.o ../Soft.o ../Draw.o ../Texts.o ../Color.o
+ OBJS+= X11.o Conf.o interface.o support.o DrawString.o
+ DEPS:= $(OBJS:.o=.d)
+ LIBS = $(shell gtk-config --libs) -lX11
+ CFLAGS+= $(shell gtk-config --cflags) -D__LINUX__ -DVERSION=${VERSION} -DBUILD=${BUILD}
+
++ifeq (${USE_SDL},1)
++ CFLAGS+= $(shell sdl-config --cflags) -I../../nsx2/ -I../../nsx2/iniapi
++ LIBS+= $(shell sdl-config --libs)
++endif
+ ifeq (${USE_DGA2}, TRUE)
+ CFLAGS+= -DUSE_DGA2
+ LIBS+= -lXxf86dga
diff --git a/games-emulation/ps2emu-gssoft/files/digest-ps2emu-gssoft-0.5 b/games-emulation/ps2emu-gssoft/files/digest-ps2emu-gssoft-0.5
new file mode 100644
index 000000000000..8a4eb33b1d8f
--- /dev/null
+++ b/games-emulation/ps2emu-gssoft/files/digest-ps2emu-gssoft-0.5
@@ -0,0 +1 @@
+MD5 0c9bbadca3b483a68b785c8ba61f29cf Gssoft-0.5.zip 188616
diff --git a/games-emulation/ps2emu-gssoft/ps2emu-gssoft-0.5.ebuild b/games-emulation/ps2emu-gssoft/ps2emu-gssoft-0.5.ebuild
new file mode 100644
index 000000000000..691085c74f6c
--- /dev/null
+++ b/games-emulation/ps2emu-gssoft/ps2emu-gssoft-0.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-gssoft/ps2emu-gssoft-0.5.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="PSEmu2 GPU plugin"
+HOMEPAGE="http://www.pcsx2.net/"
+SRC_URI="http://www.pcsx2.net/download/0.4release/Gssoft-${PV}.zip"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/opengl
+ virtual/x11"
+# sdl? ( media-libs/libsdl )"
+
+S=${WORKDIR}/GSsoft-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-makefile.patch
+}
+
+src_compile() {
+ cd Src/Linux
+ emake OPTFLAGS="${CFLAGS}" || die "building X"
+ mv lib* ${S}/
+ #requires stuff from nSX2 which atm is win32 only
+ #if [ `use sdl` ] ; then
+ # cd ..
+ # ln -s GS.h gs.h
+ # epatch ${FILESDIR}/${PV}-sdl.patch
+ # mv Linux-SDL/* Linux/
+ # cd Linux
+ # make clean || die "making clean"
+ # emake OPTFLAGS="${CFLAGS}" || die "building sdl"
+ #fi
+}
+
+src_install() {
+ dodoc ReadMe.txt
+ exeinto ${GAMES_LIBDIR}/ps2emu/plugins
+ doexe lib*
+ prepgamesdirs
+}
diff --git a/games-emulation/ps2emu-padxwin/ChangeLog b/games-emulation/ps2emu-padxwin/ChangeLog
new file mode 100644
index 000000000000..4589559bee0a
--- /dev/null
+++ b/games-emulation/ps2emu-padxwin/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/ps2emu-padxwin
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-padxwin/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*ps2emu-padxwin-0.3 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-emulation/ps2emu-padxwin/Manifest b/games-emulation/ps2emu-padxwin/Manifest
new file mode 100644
index 000000000000..11a4f08bc5bb
--- /dev/null
+++ b/games-emulation/ps2emu-padxwin/Manifest
@@ -0,0 +1,4 @@
+MD5 4c7deb53ac8737032938c4d8b4f10c40 files/0.3-makefile.patch 392
+MD5 adfc89c49540671897beb6b3d717f864 files/digest-ps2emu-padxwin-0.3 58
+MD5 82732d95096083772e125a5df02800e2 ChangeLog 368
+MD5 d2d71f3bb8ef52a76000a0c423558c85 ps2emu-padxwin-0.3.ebuild 789
diff --git a/games-emulation/ps2emu-padxwin/files/0.3-makefile.patch b/games-emulation/ps2emu-padxwin/files/0.3-makefile.patch
new file mode 100644
index 000000000000..e819216106ae
--- /dev/null
+++ b/games-emulation/ps2emu-padxwin/files/0.3-makefile.patch
@@ -0,0 +1,11 @@
+--- Src/Makefile.orig 2003-08-14 21:09:59.330722776 -0400
++++ Src/Makefile 2003-08-14 21:10:08.885270264 -0400
+@@ -2,7 +2,7 @@
+ VERSION = 0
+ BUILD = 3
+ PLUGIN = libPADxwin-${VERSION}.${BUILD}.so
+-CFLAGS = -fPIC -Wall -O2 -fomit-frame-pointer -D__LINUX__
++CFLAGS = -fPIC -Wall $(OPTFLAGS) -D__LINUX__
+ OBJECTS = PAD.o Conf.o
+ OBJECTS+= interface.o support.o
+ LIBS = $(shell gtk-config --libs)
diff --git a/games-emulation/ps2emu-padxwin/files/digest-ps2emu-padxwin-0.3 b/games-emulation/ps2emu-padxwin/files/digest-ps2emu-padxwin-0.3
new file mode 100644
index 000000000000..253206c46afe
--- /dev/null
+++ b/games-emulation/ps2emu-padxwin/files/digest-ps2emu-padxwin-0.3
@@ -0,0 +1 @@
+MD5 12d166dbe8e84c4db459ab335ceb564b PADxwin-0.3.gz 21351
diff --git a/games-emulation/ps2emu-padxwin/ps2emu-padxwin-0.3.ebuild b/games-emulation/ps2emu-padxwin/ps2emu-padxwin-0.3.ebuild
new file mode 100644
index 000000000000..aa9ca97a0b5d
--- /dev/null
+++ b/games-emulation/ps2emu-padxwin/ps2emu-padxwin-0.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-padxwin/ps2emu-padxwin-0.3.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="PSEmu2 PAD plugin"
+HOMEPAGE="http://www.pcsx2.net/"
+SRC_URI="http://www.pcsx2.net/download/0.4release/PADxwin-${PV}.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="=x11-libs/gtk+-1*"
+
+S=${WORKDIR}/PADxwin
+
+src_unpack() {
+ unpack ${A}
+ tar -xf PADxwin-${PV} || die "unpacking tar"
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-makefile.patch
+}
+
+src_compile() {
+ cd Src
+ emake OPTFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dodoc ReadMe.txt
+ cd Src
+ exeinto ${GAMES_LIBDIR}/ps2emu/plugins
+ doexe lib*
+ prepgamesdirs
+}
diff --git a/games-emulation/ps2emu-spu2null/ChangeLog b/games-emulation/ps2emu-spu2null/ChangeLog
new file mode 100644
index 000000000000..f9c9dec06404
--- /dev/null
+++ b/games-emulation/ps2emu-spu2null/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/ps2emu-spu2null
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-spu2null/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*ps2emu-spu2null-0.2 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-emulation/ps2emu-spu2null/Manifest b/games-emulation/ps2emu-spu2null/Manifest
new file mode 100644
index 000000000000..ce0e5c3ab231
--- /dev/null
+++ b/games-emulation/ps2emu-spu2null/Manifest
@@ -0,0 +1,4 @@
+MD5 bc72b18d9522e1e5ad87aa252cf852a3 files/0.2-makefile.patch 374
+MD5 2f1a22d92b7bb71d70a02fc6fca605a0 files/digest-ps2emu-spu2null-0.2 60
+MD5 95bbbed35ee86795ff956e4fd8e0779c ChangeLog 371
+MD5 cc8f944ec481e620f45c83ca8e9089e0 ps2emu-spu2null-0.2.ebuild 755
diff --git a/games-emulation/ps2emu-spu2null/files/0.2-makefile.patch b/games-emulation/ps2emu-spu2null/files/0.2-makefile.patch
new file mode 100644
index 000000000000..468f96b3408b
--- /dev/null
+++ b/games-emulation/ps2emu-spu2null/files/0.2-makefile.patch
@@ -0,0 +1,11 @@
+--- Src/Makefile.orig 2003-08-14 21:14:02.092817328 -0400
++++ Src/Makefile 2003-08-14 21:14:09.306720648 -0400
+@@ -4,7 +4,7 @@
+ VERSION = 0
+ BUILD = 2
+ PLUGIN = libSPU2null-${VERSION}.${BUILD}.so
+-CFLAGS+= -fPIC -Wall -O2 -fomit-frame-pointer -D__LINUX__
++CFLAGS+= -fPIC -Wall $(OPTFLAGS) -D__LINUX__
+ OBJS = SPU2.o
+ DEPS:= $(OBJS:.o=.d)
+ LIBS = $(shell gtk-config --libs)
diff --git a/games-emulation/ps2emu-spu2null/files/digest-ps2emu-spu2null-0.2 b/games-emulation/ps2emu-spu2null/files/digest-ps2emu-spu2null-0.2
new file mode 100644
index 000000000000..d307f631d7fb
--- /dev/null
+++ b/games-emulation/ps2emu-spu2null/files/digest-ps2emu-spu2null-0.2
@@ -0,0 +1 @@
+MD5 7c778c52bd7233910baa573e502c7d36 SPU2null-0.2.zip 38242
diff --git a/games-emulation/ps2emu-spu2null/ps2emu-spu2null-0.2.ebuild b/games-emulation/ps2emu-spu2null/ps2emu-spu2null-0.2.ebuild
new file mode 100644
index 000000000000..60ce561d2087
--- /dev/null
+++ b/games-emulation/ps2emu-spu2null/ps2emu-spu2null-0.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/ps2emu-spu2null/ps2emu-spu2null-0.2.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="PSEmu2 NULL Sound plugin"
+HOMEPAGE="http://www.pcsx2.net/"
+SRC_URI="http://www.pcsx2.net/download/0.4release/SPU2null-${PV}.zip"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="=x11-libs/gtk+-1*"
+
+S=${WORKDIR}/SPU2null
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-makefile.patch
+}
+
+src_compile() {
+ cd Src
+ emake OPTFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dodoc ReadMe.txt
+ cd Src
+ exeinto ${GAMES_LIBDIR}/ps2emu/plugins
+ doexe lib*
+ prepgamesdirs
+}
diff --git a/games-emulation/psemu-cdr/ChangeLog b/games-emulation/psemu-cdr/ChangeLog
new file mode 100644
index 000000000000..4df1a18f562f
--- /dev/null
+++ b/games-emulation/psemu-cdr/ChangeLog
@@ -0,0 +1,23 @@
+# ChangeLog for app-emulation/psemu-cdr
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-cdr/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*psemu-cdr-1.8 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + games.eclass support.
+
+*psemu-cdr-1.62 (27 Jul 2002)
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 27 Jul 2002; Stuart Bouyer <stubear@gentoo.org> psemu-cdr.ebuild :
+ Added KEYWORDS="x86" and SLOT.
+
+ 2 June 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/psemu-cdr/Manifest b/games-emulation/psemu-cdr/Manifest
new file mode 100644
index 000000000000..da6d76e62b10
--- /dev/null
+++ b/games-emulation/psemu-cdr/Manifest
@@ -0,0 +1,4 @@
+MD5 cebe9fccfb101907d3a8588f1b5870c6 files/digest-psemu-cdr-1.8 58
+MD5 169244f21e87968b8b24a2156c6ea257 files/1.8-makefile-cflags.patch 317
+MD5 27a36e0fe6ec7ea32d85cdc9671d56ab ChangeLog 997
+MD5 eefa226eaccd46ac75dfc6b938e37c33 psemu-cdr-1.8.ebuild 1073
diff --git a/games-emulation/psemu-cdr/files/1.8-makefile-cflags.patch b/games-emulation/psemu-cdr/files/1.8-makefile-cflags.patch
new file mode 100644
index 000000000000..8b26c890d594
--- /dev/null
+++ b/games-emulation/psemu-cdr/files/1.8-makefile-cflags.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.orig 2003-08-14 01:09:20.989215312 -0400
++++ src/Makefile 2003-08-14 01:09:36.660832864 -0400
+@@ -25,7 +25,7 @@
+
+ OBJECTS = cdr.o cfg.o
+ LIBS = -lpthread
+-CFLAGS = -g -fPIC -Wall -O2 -fomit-frame-pointer \
++CFLAGS = -fPIC -Wall $(OPTFLAGS) \
+ -D_REENTRANT -DVERSION=$(VERSION) -DBUILD=$(BUILD)
+
+
diff --git a/games-emulation/psemu-cdr/files/digest-psemu-cdr-1.8 b/games-emulation/psemu-cdr/files/digest-psemu-cdr-1.8
new file mode 100644
index 000000000000..42e1339ca73f
--- /dev/null
+++ b/games-emulation/psemu-cdr/files/digest-psemu-cdr-1.8
@@ -0,0 +1 @@
+MD5 0144ddcd5acff5130f075a3cf7819bdd cdr-1.8.tar.gz 44115
diff --git a/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild b/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild
new file mode 100644
index 000000000000..4c338bb53c51
--- /dev/null
+++ b/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-cdr/psemu-cdr-1.8.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="PSEmu plugin to read from CD-ROM"
+HOMEPAGE="http://www.pcsx.net/"
+SRC_URI="http://linuzappz.pcsx.net/downloads/cdr-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="gtk gtk2"
+
+DEPEND="|| (
+ gtk2? ( =x11-libs/gtk+-2* )
+ gtk? ( =x11-libs/gtk+-1* )
+ =x11-libs/gtk+-2*
+ )
+ dev-util/pkgconfig"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-makefile-cflags.patch
+}
+
+src_compile() {
+ local gtk
+ if [ `use gtk2` ] ; then
+ gtk=gtk+2
+ elif [ `use gtk` ] ; then
+ gtk=gtk
+ else
+ gtk=gtk+2
+ fi
+ cd src
+ emake OPTFLAGS="${CFLAGS}" GUI="${gtk}" || die
+}
+
+src_install() {
+ exeinto ${GAMES_LIBDIR}/psemu/plugins
+ doexe src/libcdr-*
+ exeinto ${GAMES_LIBDIR}/psemu/cfg
+ doexe src/cfg-gtk*/cfgCdr
+ insinto ${GAMES_LIBDIR}/psemu/cfg
+ doins cdr.cfg
+ dodoc ReadMe.txt
+ prepgamesdirs
+}
diff --git a/games-emulation/psemu-cdriso/ChangeLog b/games-emulation/psemu-cdriso/ChangeLog
new file mode 100644
index 000000000000..9149d94347d5
--- /dev/null
+++ b/games-emulation/psemu-cdriso/ChangeLog
@@ -0,0 +1,25 @@
+# ChangeLog for app-emulation/psemu-cdriso
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-cdriso/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*psemu-cdriso-1.4 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + games.eclass support.
+
+*psemu-cdriso-1.2 (27 Jul 2002)
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 27 Jul 2002; Stuart Bouyer <stubear@gentoo.org> psemu-cdriso-1.2.ebuild :
+ Added KEYWORDS="x86", RDEPEND and SLOT for lintool and repoman happiness.
+
+*psemu-cdriso-1.2 (2 June 2002)
+
+ 2 June 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/psemu-cdriso/Manifest b/games-emulation/psemu-cdriso/Manifest
new file mode 100644
index 000000000000..8f4cfd5741a7
--- /dev/null
+++ b/games-emulation/psemu-cdriso/Manifest
@@ -0,0 +1,4 @@
+MD5 8bf7b590c0c6f744b566d2a335078b39 files/digest-psemu-cdriso-1.4 59
+MD5 ce620a6a8f6cf5455642414b35bb3c86 files/1.4-makefile-cflags.patch 454
+MD5 9b342ccbd8c234f56cb0b65dd8f2b253 psemu-cdriso-1.4.ebuild 869
+MD5 e2e48fa1fa9413582e6f93220d54aa81 ChangeLog 1091
diff --git a/games-emulation/psemu-cdriso/files/1.4-makefile-cflags.patch b/games-emulation/psemu-cdriso/files/1.4-makefile-cflags.patch
new file mode 100644
index 000000000000..bcac309b94aa
--- /dev/null
+++ b/games-emulation/psemu-cdriso/files/1.4-makefile-cflags.patch
@@ -0,0 +1,11 @@
+--- cdriso/src/Linux/Makefile.orig 2003-08-14 01:26:32.970330336 -0400
++++ cdriso/src/Linux/Makefile 2003-08-14 01:26:44.489579144 -0400
+@@ -6,7 +6,7 @@
+ BUILD = 4
+ PLUGIN = libcdriso-${VERSION}.${BUILD}.so
+ CFG = cfgCdrIso
+-CFLAGS = -fPIC -Wall -O2 -fomit-frame-pointer -I.. -I. -D__LINUX__
++CFLAGS = -fPIC -Wall $(OPTFLAGS) -I.. -I. -D__LINUX__
+ OBJECTS = ../cdriso.o Config.o Linux.o
+ CFGOBJS = conf.o interface.o support.o Config.o
+ LIBS = -lz -lbz2
diff --git a/games-emulation/psemu-cdriso/files/digest-psemu-cdriso-1.4 b/games-emulation/psemu-cdriso/files/digest-psemu-cdriso-1.4
new file mode 100644
index 000000000000..47ee78cee1d6
--- /dev/null
+++ b/games-emulation/psemu-cdriso/files/digest-psemu-cdriso-1.4
@@ -0,0 +1 @@
+MD5 7688a0e07527a5ce9ca974ffead3c13d cdriso-1.4.tgz 130168
diff --git a/games-emulation/psemu-cdriso/psemu-cdriso-1.4.ebuild b/games-emulation/psemu-cdriso/psemu-cdriso-1.4.ebuild
new file mode 100644
index 000000000000..ab59dd42cf7e
--- /dev/null
+++ b/games-emulation/psemu-cdriso/psemu-cdriso-1.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-cdriso/psemu-cdriso-1.4.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="PSEmu plugin to read CD-images"
+HOMEPAGE="http://www.pcsx.net/"
+SRC_URI="http://linuzappz.pcsx.net/downloads/cdriso-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="sys-libs/zlib
+ sys-apps/bzip2
+ =x11-libs/gtk+-1*
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/cdriso
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-makefile-cflags.patch
+}
+
+src_compile() {
+ cd src/Linux
+ emake OPTFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dodoc ReadMe.txt
+ cd src/Linux
+ exeinto ${GAMES_LIBDIR}/psemu/plugins
+ doexe libcdriso-*
+ exeinto ${GAMES_LIBDIR}/psemu/cfg
+ doexe cfgCdrIso
+ prepgamesdirs
+}
+
diff --git a/games-emulation/psemu-eternalspu/ChangeLog b/games-emulation/psemu-eternalspu/ChangeLog
new file mode 100644
index 000000000000..0b94c56508a5
--- /dev/null
+++ b/games-emulation/psemu-eternalspu/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-emulation/psemu-eternalspu
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-eternalspu/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*psemu-eternalspu-1.41-r1 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add games.eclass support.
+
+*psemu-eternalspu-1.41 (13 Jul 2003)
+
+ 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by tuXXer <bs.net@gmx.de> #24118.
diff --git a/games-emulation/psemu-eternalspu/Manifest b/games-emulation/psemu-eternalspu/Manifest
new file mode 100644
index 000000000000..b9aa41a718f2
--- /dev/null
+++ b/games-emulation/psemu-eternalspu/Manifest
@@ -0,0 +1,3 @@
+MD5 f529ee10ddc6a1c16029bcea4ac99387 ChangeLog 524
+MD5 075742e043bda9b6abb6e8b3548e28ae files/digest-psemu-eternalspu-1.41-r1 68
+MD5 55779837c08d633a48f9c779658bff54 psemu-eternalspu-1.41-r1.ebuild 635
diff --git a/games-emulation/psemu-eternalspu/files/digest-psemu-eternalspu-1.41-r1 b/games-emulation/psemu-eternalspu/files/digest-psemu-eternalspu-1.41-r1
new file mode 100644
index 000000000000..bd9a91dead83
--- /dev/null
+++ b/games-emulation/psemu-eternalspu/files/digest-psemu-eternalspu-1.41-r1
@@ -0,0 +1 @@
+MD5 65e3cd9edcbce6ea74f0dbe9ab794784 spuEternal141_linux.tgz 150260
diff --git a/games-emulation/psemu-eternalspu/psemu-eternalspu-1.41-r1.ebuild b/games-emulation/psemu-eternalspu/psemu-eternalspu-1.41-r1.ebuild
new file mode 100644
index 000000000000..c5fc7b9ce052
--- /dev/null
+++ b/games-emulation/psemu-eternalspu/psemu-eternalspu-1.41-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-eternalspu/psemu-eternalspu-1.41-r1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="PSEmu Eternal SPU"
+HOMEPAGE="http://www1.odn.ne.jp/psx-alternative/"
+SRC_URI="http://www1.odn.ne.jp/psx-alternative/download/spuEternal${PV//.}_linux.tgz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="media-libs/libsdl"
+
+S=${WORKDIR}
+
+src_install() {
+ exeinto ${GAMES_LIBDIR}/psemu/plugins
+ doexe libspuEternal.so.*
+ dodoc *.txt
+ prepgamesdirs
+}
diff --git a/games-emulation/psemu-gpupetemesagl/ChangeLog b/games-emulation/psemu-gpupetemesagl/ChangeLog
new file mode 100644
index 000000000000..ea084ac6a130
--- /dev/null
+++ b/games-emulation/psemu-gpupetemesagl/ChangeLog
@@ -0,0 +1,58 @@
+# ChangeLog for app-emulation/psemu-gpupetemesagl
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-gpupetemesagl/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*psemu-gpupetemesagl-1.74 (17 Aug 2003)
+
+ 17 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump.
+
+*psemu-gpupetemesagl-1.73 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + games.eclass support.
+
+*psemu-gpupetemesagl-1.71 (15 Jul 2003)
+
+ 15 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bumpage #19736.
+
+*psemu-gpupetemesagl-1.6.7 (18 Aug 2002)
+
+ 27 Oct 2002; Ryan Phillips <gerk@gentoo.org> psemu-gpupetemesalgl-1.6.7 :
+ New version
+ Added IUSE
+
+*psemu-gpupetemesalgl (18 Aug 2002)
+
+ 18 Aug 2002; Ryan Phillips <rphillips@gentoo.org> :
+ New version
+
+*psemu-gpupetemesalgl (17 Jul 2002)
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 27 Jul 2002; Stuart Bouyer <stubear@gentoo.org>
+ psemu-gpupetemesalgl-1.6.4.ebuild psemu-gpupetemesalgl-1.6.3.ebuild
+ psemu-gpupetemesalgl-1.6.4.ebuild :
+ Added KEYWORDS="x86" and SLOT for QA happiness.
+
+*psemu-gpupetemesalgl-1.6.4 (15 Jul 2002)
+
+ 15 Jul 2002; Ryan Phillips <rphillips@gentoo.org> psemu-gpupetemesalgl-1.6.4.ebuild :
+ New release. Thanks to Bret Towe
+
+*psemu-gpupetemesalgl-1.6.3 (10 Jul 2002)
+
+ 10 Jul 2002; Ryan Phillips <rphillips@gentoo.org> psemu-gpupetemesalgl-1.6.3.ebuild :
+ New release
+
+*psemu-gpupetemesalgl-1.6.2 (2 June 2002)
+
+ 2 June 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/psemu-gpupetemesagl/Manifest b/games-emulation/psemu-gpupetemesagl/Manifest
new file mode 100644
index 000000000000..b6b21d6a23c1
--- /dev/null
+++ b/games-emulation/psemu-gpupetemesagl/Manifest
@@ -0,0 +1,5 @@
+MD5 4f8e470ce597395c13f232e5d0df96d7 files/digest-psemu-gpupetemesagl-1.73 68
+MD5 a83eb46757fd6d945673b265d42d8297 files/digest-psemu-gpupetemesagl-1.74 68
+MD5 fe33715d02a7bd8e433a25398a01e152 psemu-gpupetemesagl-1.73.ebuild 752
+MD5 0e1b065f6efef1a2863971e951f189db psemu-gpupetemesagl-1.74.ebuild 750
+MD5 720a581ec0e969955bbfa913e300ba6c ChangeLog 1985
diff --git a/games-emulation/psemu-gpupetemesagl/files/digest-psemu-gpupetemesagl-1.73 b/games-emulation/psemu-gpupetemesagl/files/digest-psemu-gpupetemesagl-1.73
new file mode 100644
index 000000000000..f9c38c266440
--- /dev/null
+++ b/games-emulation/psemu-gpupetemesagl/files/digest-psemu-gpupetemesagl-1.73
@@ -0,0 +1 @@
+MD5 a3b547b0cf1a91b9a2201cdff0e3c043 gpupetemesagl173.tar.gz 192346
diff --git a/games-emulation/psemu-gpupetemesagl/files/digest-psemu-gpupetemesagl-1.74 b/games-emulation/psemu-gpupetemesagl/files/digest-psemu-gpupetemesagl-1.74
new file mode 100644
index 000000000000..323338dd27f8
--- /dev/null
+++ b/games-emulation/psemu-gpupetemesagl/files/digest-psemu-gpupetemesagl-1.74
@@ -0,0 +1 @@
+MD5 c82a2335bc0d590bbc96ae01819c9c26 gpupetemesagl174.tar.gz 192376
diff --git a/games-emulation/psemu-gpupetemesagl/psemu-gpupetemesagl-1.73.ebuild b/games-emulation/psemu-gpupetemesagl/psemu-gpupetemesagl-1.73.ebuild
new file mode 100644
index 000000000000..461f967bffe4
--- /dev/null
+++ b/games-emulation/psemu-gpupetemesagl/psemu-gpupetemesagl-1.73.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-gpupetemesagl/psemu-gpupetemesagl-1.73.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="PSEmu MesaGL GPU"
+HOMEPAGE="http://home.t-online.de/home/PeteBernert/"
+SRC_URI="http://www.ngemu.com/psx/plugins/linux/gpu/gpupetemesagl${PV//.}.tar.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/opengl"
+
+S=${WORKDIR}
+
+src_install() {
+ exeinto ${GAMES_LIBDIR}/psemu/plugins
+ doexe lib*
+ exeinto ${GAMES_LIBDIR}/psemu/cfg
+ doexe cfgPeteMesaGL
+ insinto ${GAMES_LIBDIR}/psemu/cfg
+ doins gpuPeteMesaGL.cfg
+ dodoc readme.txt version.txt
+ prepgamesdirs
+}
diff --git a/games-emulation/psemu-gpupetemesagl/psemu-gpupetemesagl-1.74.ebuild b/games-emulation/psemu-gpupetemesagl/psemu-gpupetemesagl-1.74.ebuild
new file mode 100644
index 000000000000..93ee34134306
--- /dev/null
+++ b/games-emulation/psemu-gpupetemesagl/psemu-gpupetemesagl-1.74.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-gpupetemesagl/psemu-gpupetemesagl-1.74.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="PSEmu MesaGL GPU"
+HOMEPAGE="http://home.t-online.de/home/PeteBernert/"
+SRC_URI="http://home.t-online.de/home/PeteBernert/gpupetemesagl${PV//.}.tar.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="virtual/opengl"
+
+S=${WORKDIR}
+
+src_install() {
+ exeinto ${GAMES_LIBDIR}/psemu/plugins
+ doexe lib*
+ exeinto ${GAMES_LIBDIR}/psemu/cfg
+ doexe cfgPeteMesaGL
+ insinto ${GAMES_LIBDIR}/psemu/cfg
+ doins gpuPeteMesaGL.cfg
+ dodoc readme.txt version.txt
+ prepgamesdirs
+}
diff --git a/games-emulation/psemu-padjoy/ChangeLog b/games-emulation/psemu-padjoy/ChangeLog
new file mode 100644
index 000000000000..e3a8bd45a9ee
--- /dev/null
+++ b/games-emulation/psemu-padjoy/ChangeLog
@@ -0,0 +1,28 @@
+# ChangeLog for app-emulation/psemu-padjoy
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-padjoy/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*psemu-padjoy-0.81 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + games.eclass support.
+
+*psemu-padjoy-0.62 (29 Jul 2002)
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 29 Jul 2002; Stuart Bouyer <stubear@gentoo.org> psemu-padjoy-0.62.ebuild :
+ Version bump. Author changed version 62 to GPL. LICENSE added to ebuild.
+
+*psemu-padjoy-0.61 (27 Jul 2002)
+
+ 27 Jul 2002; Stuart Bouyer <stubear@gentoo.org> psemu-padjoy-0.61.ebuild :
+ Added SLOT, LICENSE, and KEYWORDS="x86"
+
+ 2 June 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/psemu-padjoy/Manifest b/games-emulation/psemu-padjoy/Manifest
new file mode 100644
index 000000000000..dc76104cb58b
--- /dev/null
+++ b/games-emulation/psemu-padjoy/Manifest
@@ -0,0 +1,4 @@
+MD5 9854361bcecd3f8f3c4a3f6b4820b9f8 files/digest-psemu-padjoy-0.81 57
+MD5 e4171d0010309486d615bb721570a2ff files/0.81-makefile-cflags.patch 386
+MD5 fd932ffe336fbd077d5caf39b4c3cc77 psemu-padjoy-0.81.ebuild 856
+MD5 e00ae4d57c8aac45b97fd1a9b2350266 ChangeLog 1343
diff --git a/games-emulation/psemu-padjoy/files/0.81-makefile-cflags.patch b/games-emulation/psemu-padjoy/files/0.81-makefile-cflags.patch
new file mode 100644
index 000000000000..f3db0e0730fa
--- /dev/null
+++ b/games-emulation/psemu-padjoy/files/0.81-makefile-cflags.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.orig 2003-08-14 01:55:53.161740568 -0400
++++ src/Makefile 2003-08-14 01:56:01.737436864 -0400
+@@ -3,7 +3,7 @@
+ BUILD = 8
+ PLUGIN = libpadJoy-${VERSION}.${BUILD}.so
+ CFGPRG = cfgPadJoy
+-CFLAGS = -fPIC -Wall -O2 -fomit-frame-pointer -D_REENTRANT
++CFLAGS = -fPIC -Wall $(OPTFLAGS) -D_REENTRANT
+ OBJECTS = pad.o
+ CFGOBJ = cfg.o
+ LIBS = $(shell gtk-config --libs) -lpthread
diff --git a/games-emulation/psemu-padjoy/files/digest-psemu-padjoy-0.81 b/games-emulation/psemu-padjoy/files/digest-psemu-padjoy-0.81
new file mode 100644
index 000000000000..93d6c1942524
--- /dev/null
+++ b/games-emulation/psemu-padjoy/files/digest-psemu-padjoy-0.81
@@ -0,0 +1 @@
+MD5 19940dedd33d76255375cfd1ba14fd9a padJoy081.tgz 48344
diff --git a/games-emulation/psemu-padjoy/psemu-padjoy-0.81.ebuild b/games-emulation/psemu-padjoy/psemu-padjoy-0.81.ebuild
new file mode 100644
index 000000000000..8150776c1955
--- /dev/null
+++ b/games-emulation/psemu-padjoy/psemu-padjoy-0.81.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-padjoy/psemu-padjoy-0.81.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="PSEmu plugin to use joysticks/gamepads in PSX-emulators"
+HOMEPAGE="http://www.ammoq.com/"
+SRC_URI="http://members.chello.at/erich.kitzmueller/ammoq/padJoy${PV//.}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="=x11-libs/gtk+-1*"
+
+S=${WORKDIR}/padJoy
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-makefile-cflags.patch
+}
+
+src_compile() {
+ cd src
+ emake OPTFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dodoc readme.txt
+ cd src
+ exeinto ${GAMES_LIBDIR}/psemu/plugins
+ doexe libpadJoy-*
+ exeinto ${GAMES_LIBDIR}/psemu/cfg
+ doexe cfgPadJoy
+ prepgamesdirs
+}
diff --git a/games-emulation/psemu-padxwin/ChangeLog b/games-emulation/psemu-padxwin/ChangeLog
new file mode 100644
index 000000000000..d08921531c36
--- /dev/null
+++ b/games-emulation/psemu-padxwin/ChangeLog
@@ -0,0 +1,25 @@
+# ChangeLog for app-emulation/psemu-padxwin
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-padxwin/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*psemu-padxwin-1.6 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bumpage + games.eclass support.
+
+*psemu-padxwin-1.4 (27 Jul 2002)
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 27 Jul 2002; Stuart Bouyer <stubear@gentoo.org> psemu-padxwin-1.4.ebuild :
+ Added LICENSE, KEYWORDS="x86", SLOT and RDEPEND.
+
+*psemu-padxwin-1.4 (2 June 2002)
+
+ 2 June 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/psemu-padxwin/Manifest b/games-emulation/psemu-padxwin/Manifest
new file mode 100644
index 000000000000..930f24932718
--- /dev/null
+++ b/games-emulation/psemu-padxwin/Manifest
@@ -0,0 +1,4 @@
+MD5 7742a797d41435bfcac4b6c355813907 files/digest-psemu-padxwin-1.6 59
+MD5 8a6a7a643ef5b6edca937f877af362d2 files/1.6-makefile-cflags.patch 645
+MD5 bce9a77624c9def59fd6956925a59ab6 psemu-padxwin-1.6.ebuild 821
+MD5 f45f998ac50bf014395823fe7c45724c ChangeLog 1075
diff --git a/games-emulation/psemu-padxwin/files/1.6-makefile-cflags.patch b/games-emulation/psemu-padxwin/files/1.6-makefile-cflags.patch
new file mode 100644
index 000000000000..7ba703b4090b
--- /dev/null
+++ b/games-emulation/psemu-padxwin/files/1.6-makefile-cflags.patch
@@ -0,0 +1,20 @@
+--- src/Makefile.orig 2002-09-22 12:47:57.000000000 -0400
++++ src/Makefile 2003-08-14 01:38:09.610424944 -0400
+@@ -3,7 +3,7 @@
+ BUILD = 6
+ PLUGIN = libpadXwin-${VERSION}.${BUILD}.so
+ CFG = cfgPadXwin
+-CFLAGS = -fPIC -Wall -O2 -fomit-frame-pointer
++CFLAGS = -fPIC -Wall $(OPTFLAGS)
+ OBJECTS = pad.o
+ CFGOBJS = conf.o interface.o support.o
+ LIBS = -lX11
+@@ -14,7 +14,7 @@
+
+ plugin: ${OBJECTS}
+ rm -f ${PLUGIN}
+- gcc -shared -Wl,-soname,${PLUGIN} ${CFLAGS} ${OBJECTS} -o ${PLUGIN} ${LIBS}
++ gcc -shared -Wl,-soname,${PLUGIN} ${CFLAGS} ${OBJECTS} -o ${PLUGIN} ${LIBS} ${CFGLIBS}
+ strip --strip-unneeded --strip-debug ${PLUGIN}
+
+ cfg: ${CFGOBJS}
diff --git a/games-emulation/psemu-padxwin/files/digest-psemu-padxwin-1.6 b/games-emulation/psemu-padxwin/files/digest-psemu-padxwin-1.6
new file mode 100644
index 000000000000..3cd6bfbb585d
--- /dev/null
+++ b/games-emulation/psemu-padxwin/files/digest-psemu-padxwin-1.6
@@ -0,0 +1 @@
+MD5 8cc329761334b2ddf20b22e25007ba8d padXwin-1.6.tgz 25364
diff --git a/games-emulation/psemu-padxwin/psemu-padxwin-1.6.ebuild b/games-emulation/psemu-padxwin/psemu-padxwin-1.6.ebuild
new file mode 100644
index 000000000000..429baf937cd4
--- /dev/null
+++ b/games-emulation/psemu-padxwin/psemu-padxwin-1.6.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-padxwin/psemu-padxwin-1.6.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="PSEmu plugin to use the keyboard as a gamepad"
+HOMEPAGE="http://www.pcsx.net/"
+SRC_URI="http://linuzappz.pcsx.net/downloads/padXwin-${PV}.tgz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="x86"
+
+DEPEND="=x11-libs/gtk+-1*"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-makefile-cflags.patch
+}
+
+src_compile() {
+ cd src
+ emake OPTFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dodoc ReadMe.txt
+ cd src
+ exeinto ${GAMES_LIBDIR}/psemu/plugins
+ doexe libpadXwin-*
+ exeinto ${GAMES_LIBDIR}/psemu/cfg
+ doexe cfgPadXwin
+ prepgamesdirs
+}
diff --git a/games-emulation/psemu-peopssoftgpu/ChangeLog b/games-emulation/psemu-peopssoftgpu/ChangeLog
new file mode 100644
index 000000000000..37e462f807fb
--- /dev/null
+++ b/games-emulation/psemu-peopssoftgpu/ChangeLog
@@ -0,0 +1,35 @@
+# ChangeLog for app-emulation/psemu-peopssoftgpu
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopssoftgpu/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*psemu-peopssoftgpu-1.15 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + games.eclass support.
+
+*psemu-peopssoftgpu-1.14 (13 Jul 2003)
+
+ 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + cleanups #24076.
+
+*psemu-peopssoftgpu-1.6 (27 Jul 2002)
+
+ 19 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> psemu-peopssoftgpu-1.0.6.ebuild :
+ Updated to mirror://sourceforge in SRC_URI.
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 27 Jul 2002; S.Bouyer <stubear@gentoo.org> psemu-peopssoftgpu-1.6.ebuild:
+
+ Added KEYWORDS="x86", SLOT and RDEPEND.
+
+*psemu-peopssoftgpu (2 June 2002)
+
+ 2 June 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/psemu-peopssoftgpu/Manifest b/games-emulation/psemu-peopssoftgpu/Manifest
new file mode 100644
index 000000000000..1151f51108d6
--- /dev/null
+++ b/games-emulation/psemu-peopssoftgpu/Manifest
@@ -0,0 +1,4 @@
+MD5 2bb8283c0041934b8dcf50003f408ea0 files/digest-psemu-peopssoftgpu-1.15 67
+MD5 d7d6d0e073fab50e7fc57d7efe5dcf31 files/1.15-makefile-cflags.patch 971
+MD5 d07e49c3ffde69978fb3f3e1eeb984be ChangeLog 1345
+MD5 eb45d600eb7d9d8af1888b1f2ae11292 psemu-peopssoftgpu-1.15.ebuild 1164
diff --git a/games-emulation/psemu-peopssoftgpu/files/1.15-makefile-cflags.patch b/games-emulation/psemu-peopssoftgpu/files/1.15-makefile-cflags.patch
new file mode 100644
index 000000000000..b0e2d5ede69c
--- /dev/null
+++ b/games-emulation/psemu-peopssoftgpu/files/1.15-makefile-cflags.patch
@@ -0,0 +1,28 @@
+--- src/makes/plg.mk.orig 2003-08-14 02:03:31.283095536 -0400
++++ src/makes/plg.mk 2003-08-14 02:03:54.843513808 -0400
+@@ -4,7 +4,7 @@
+
+ PLUGIN = libgpuPeops$(VERSION).so
+ PLUGINTYPE = libgpu.so
+-CFLAGS = -g -Wall -fPIC -O4 -fomit-frame-pointer -ffast-math $(INCLUDE)
++CFLAGS = -Wall -fPIC $(OPTFLAGS) $(INCLUDE)
+ #CFLAGS = -g -Wall -fPIC -O3 -mpentium -fomit-frame-pointer -ffast-math $(INCLUDE)
+ INCLUDE = -I/usr/local/include
+ OBJECTS = gpu.o cfg.o draw.o fps.o key.o menu.o prim.o soft.o
+--- src/makes/mk.fpse.orig 2003-08-14 02:04:25.902792080 -0400
++++ src/makes/mk.fpse 2003-08-14 02:05:06.265655992 -0400
+@@ -5,12 +5,12 @@
+ CC = gcc
+ LD = gcc
+ NASM = nasm
+-INCLUDE += -I./fpse `gtk-config --cflags`
++INCLUDE += -I./fpse `gtk-config --cflags` `sdl-config --cflags`
+ VERSION = SDL
+ NUMBER = 1.0.15
+ CFLAGS += -D_FPSE -D_SDL -D__i386__ -D_SDL2
+ ASMFLAGS += -f elf
+-LIBS += -lSDL
++LIBS += `sdl-config --libs`
+ OBJECTS += fpsewp.o
+ OBJECTS += i386.o
+
diff --git a/games-emulation/psemu-peopssoftgpu/files/digest-psemu-peopssoftgpu-1.15 b/games-emulation/psemu-peopssoftgpu/files/digest-psemu-peopssoftgpu-1.15
new file mode 100644
index 000000000000..521f6997355c
--- /dev/null
+++ b/games-emulation/psemu-peopssoftgpu/files/digest-psemu-peopssoftgpu-1.15
@@ -0,0 +1 @@
+MD5 5758a24331dd91c3a10dddee80fae008 PeopsSoftGpu115.tar.gz 598169
diff --git a/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild b/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild
new file mode 100644
index 000000000000..2f0b387a647e
--- /dev/null
+++ b/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopssoftgpu/psemu-peopssoftgpu-1.15.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="P.E.Op.S Software GPU plugin"
+HOMEPAGE="http://sourceforge.net/projects/peops/"
+SRC_URI="mirror://sourceforge/peops/PeopsSoftGpu${PV//.}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 -ppc"
+IUSE="sdl"
+
+DEPEND="=x11-libs/gtk+-1*
+ dev-util/pkgconfig
+ sdl? ( media-libs/libsdl )
+ virtual/x11
+ dev-lang/nasm"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-makefile-cflags.patch
+}
+
+src_compile() {
+ cd src
+
+ emake OPTFLAGS="${CFLAGS}" || die "x11 build failed"
+
+ if [ `use sdl` ] ; then
+ sed -i 's:mk.x11:mk.fpse:g' Makefile
+ make clean || die "make clean failed"
+ emake OPTFLAGS="${CFLAGS}" || die "sdl build failed"
+ fi
+}
+
+src_install() {
+ dodoc *.txt
+ insinto ${GAMES_LIBDIR}/psemu/cfg
+ doins gpuPeopsSoftX.cfg
+ cd src
+ exeinto ${GAMES_LIBDIR}/psemu/plugins
+ doexe libgpuPeops*
+ exeinto ${GAMES_LIBDIR}/psemu/cfg
+ doexe cfgPeopsSoft
+ prepgamesdirs
+}
diff --git a/games-emulation/psemu-peopsspu/ChangeLog b/games-emulation/psemu-peopsspu/ChangeLog
new file mode 100644
index 000000000000..3984fbdc006a
--- /dev/null
+++ b/games-emulation/psemu-peopsspu/ChangeLog
@@ -0,0 +1,49 @@
+# ChangeLog for app-emulation/psemu-peopsspu
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopsspu/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+ 15 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ psemu-peopsspu-1.0.7-r1.ebuild:
+ Removing -mpentium from Makefile. Closes bug #26657.
+
+*psemu-peopsspu-1.0.7-r1 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add games.eclass support.
+
+*psemu-peopsspu-1.0.7 (13 Jul 2003)
+
+ 13 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + install the .cfg file #24077.
+
+*psemu-peopsspu-1.0.5 (09 Mar 2003)
+
+ 09 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #17048 + better support for oss/alsa.
+
+*psemu-peopsspu-1.0.2 (26 Nov 2002)
+
+ 26 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + cleanup ... this new version is linux friendly :)
+
+*psemu-peopsspu-1.0.1 (02 June 2002)
+
+ 19 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> psemu-peopsspu-1.0.1.ebuild :
+ Updated to mirror://sourceforge in SRC_URI.
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 27 Jul 2002; Stuart Bouyer <stubear@gentoo.org> psemu-peopsspu-1.0.1.ebuild:
+
+ Added SLOT, RDEPEND and KEYWORDS="x86"
+
+*psemu-peopsspu-1.0.0 (02 June 2002)
+
+ 2 June 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/psemu-peopsspu/Manifest b/games-emulation/psemu-peopsspu/Manifest
new file mode 100644
index 000000000000..e6b82e13432b
--- /dev/null
+++ b/games-emulation/psemu-peopsspu/Manifest
@@ -0,0 +1,3 @@
+MD5 da060945818c80dc394826d2bdd00042 files/digest-psemu-peopsspu-1.0.7-r1 63
+MD5 d2899cbafda3557f24d59dfa897ea9a5 psemu-peopsspu-1.0.7-r1.ebuild 1464
+MD5 629cb2cf40af18c7632575328a6b72f2 ChangeLog 1783
diff --git a/games-emulation/psemu-peopsspu/files/digest-psemu-peopsspu-1.0.7-r1 b/games-emulation/psemu-peopsspu/files/digest-psemu-peopsspu-1.0.7-r1
new file mode 100644
index 000000000000..8d20fe160a00
--- /dev/null
+++ b/games-emulation/psemu-peopsspu/files/digest-psemu-peopsspu-1.0.7-r1
@@ -0,0 +1 @@
+MD5 52818ad6c77a0350373971c55768254f PeopsSpu107.tar.gz 217554
diff --git a/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r1.ebuild b/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r1.ebuild
new file mode 100644
index 000000000000..63ba3ec7ead0
--- /dev/null
+++ b/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-peopsspu/psemu-peopsspu-1.0.7-r1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="P.E.Op.S Sound Emulation (SPU) PSEmu Plugin"
+HOMEPAGE="http://peops.sourceforge.net/"
+SRC_URI="mirror://sourceforge/peops/PeopsSpu${PV//./}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="alsa oss"
+
+DEPEND="alsa? ( media-libs/alsa-lib )
+ app-arch/unzip
+ =x11-libs/gtk+-1*
+ sys-devel/automake"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+
+ cd src/linuxcfg
+ tar -zxf spucfg.tar.gz
+ ( emake distclean && automake --add-missing ) || die "could not clean up"
+ edos2unix `find -name '*.in' -o -name '*.am' -o -name '*.[ch]' -o -name 'config*'`
+}
+
+src_compile() {
+ cd src
+ sed -i -e "s/-mpentium//" -e "/^CCFLAGS3/s:=:= ${CFLAGS} :" Makefile
+ if [ `use oss` ] || [ -z "`use oss``use alsa`" ] ; then
+ emake clean || die
+ emake USEALSA=FALSE || die
+ mv libspu* ..
+ fi
+ if [ `use alsa` ] ; then
+ emake clean || die
+ emake USEALSA=TRUE || die
+ mv libspu* ..
+ fi
+
+ cd linuxcfg
+ econf || die
+ emake || die
+ mv src/spucfg src/cfgPeopsOSS
+}
+
+src_install() {
+ exeinto ${GAMES_LIBDIR}/psemu/plugins
+ doexe libspu*
+ exeinto ${GAMES_LIBDIR}/psemu/cfg
+ doexe src/linuxcfg/src/cfgPeopsOSS
+ insinto ${GAMES_LIBDIR}/psemu/cfg
+ doins spuPeopsOSS.cfg
+ dodoc src/*.txt *.txt
+ prepgamesdirs
+}
diff --git a/games-emulation/psemu-spunull/ChangeLog b/games-emulation/psemu-spunull/ChangeLog
new file mode 100644
index 000000000000..20b1beea0d71
--- /dev/null
+++ b/games-emulation/psemu-spunull/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/psemu-spunull
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-spunull/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*psemu-spunull-1.0 (14 Aug 2003)
+
+ 14 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-emulation/psemu-spunull/Manifest b/games-emulation/psemu-spunull/Manifest
new file mode 100644
index 000000000000..682ecef9facd
--- /dev/null
+++ b/games-emulation/psemu-spunull/Manifest
@@ -0,0 +1,4 @@
+MD5 b3e8bd7b9d019a72ff22cdc7bc28f4c5 files/1.0-makefile-cflags.patch 292
+MD5 c54d4f4dcc5ab8d555aa22a952fcedcd files/digest-psemu-spunull-1.0 58
+MD5 ddc459514a5895329b165295bb617244 ChangeLog 365
+MD5 2bf8f16edc261666ad3ac69f29601c62 psemu-spunull-1.0.ebuild 734
diff --git a/games-emulation/psemu-spunull/files/1.0-makefile-cflags.patch b/games-emulation/psemu-spunull/files/1.0-makefile-cflags.patch
new file mode 100644
index 000000000000..0abfdb3e74cf
--- /dev/null
+++ b/games-emulation/psemu-spunull/files/1.0-makefile-cflags.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.orig 2003-08-14 01:41:28.679161896 -0400
++++ src/Makefile 2003-08-14 01:41:38.590655120 -0400
+@@ -1,7 +1,7 @@
+
+ VERSION = 1.0
+ PLUGIN = libspunull-${VERSION}.so
+-CFLAGS+= -fPIC -Wall -O2 -fomit-frame-pointer
++CFLAGS+= -fPIC -Wall $(OPTFLAGS)
+ OBJECTS = spu.o
+
+ all: plugin
diff --git a/games-emulation/psemu-spunull/files/digest-psemu-spunull-1.0 b/games-emulation/psemu-spunull/files/digest-psemu-spunull-1.0
new file mode 100644
index 000000000000..d3c2a483bdf8
--- /dev/null
+++ b/games-emulation/psemu-spunull/files/digest-psemu-spunull-1.0
@@ -0,0 +1 @@
+MD5 da55fd85d3da5e5f9507449fe955e21b spunull-1.0.tgz 7056
diff --git a/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild b/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild
new file mode 100644
index 000000000000..d208cabf42d5
--- /dev/null
+++ b/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-spunull/psemu-spunull-1.0.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="PSEmu plugin to use a null sound driver"
+HOMEPAGE="http://www.pcsx.net/"
+SRC_URI="http://linuzappz.pcsx.net/downloads/spunull-${PV}.tgz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="x86"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-makefile-cflags.patch
+}
+
+src_compile() {
+ cd src
+ emake OPTFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dodoc ReadMe.txt
+ cd src
+ exeinto ${GAMES_LIBDIR}/psemu/plugins
+ doexe libspunull-*
+ prepgamesdirs
+}
diff --git a/games-emulation/qmamecat/ChangeLog b/games-emulation/qmamecat/ChangeLog
new file mode 100644
index 000000000000..5c09b96cbe36
--- /dev/null
+++ b/games-emulation/qmamecat/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/qmamecat
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/qmamecat/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*qmamecat-0.44.45 (02 Mar 2003)
+
+ 02 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Paulo Ferreira <pmpf@ist.utl.pt> #7827.
diff --git a/games-emulation/qmamecat/Manifest b/games-emulation/qmamecat/Manifest
new file mode 100644
index 000000000000..7d1cf7ab303b
--- /dev/null
+++ b/games-emulation/qmamecat/Manifest
@@ -0,0 +1,3 @@
+MD5 0c0ea8ab07ff6e59d53e37e8e4fa77ba ChangeLog 390
+MD5 2c4b0c1dbf2fbe244ca14e1394c36299 qmamecat-0.44.45.ebuild 722
+MD5 f19653dfde85c58875212d0d8f44554a files/digest-qmamecat-0.44.45 70
diff --git a/games-emulation/qmamecat/files/digest-qmamecat-0.44.45 b/games-emulation/qmamecat/files/digest-qmamecat-0.44.45
new file mode 100644
index 000000000000..12aaf1ed5167
--- /dev/null
+++ b/games-emulation/qmamecat/files/digest-qmamecat-0.44.45
@@ -0,0 +1 @@
+MD5 90aa9fde4186ae5b1412de388d33a0ee qmamecat-0.44.b45.tar.bz2 282748
diff --git a/games-emulation/qmamecat/qmamecat-0.44.45.ebuild b/games-emulation/qmamecat/qmamecat-0.44.45.ebuild
new file mode 100644
index 000000000000..42d957bdcb78
--- /dev/null
+++ b/games-emulation/qmamecat/qmamecat-0.44.45.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/qmamecat/qmamecat-0.44.45.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+MY_PV="${PV/45/b45}"
+DESCRIPTION="QT mame catalog and frontend"
+HOMEPAGE="http://www.mameworld.net/mamecat/"
+SRC_URI="http://www.mameworld.net/mamecat/snapshots/qmamecat-${MY_PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc"
+
+DEPEND="virtual/glibc
+ virtual/x11
+ x11-libs/qt"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ # emake is horribly broken
+ make COPTIM="${CFLAGS}" || die
+}
+
+src_install() {
+ rm bin/{Makefile,make.cfg}
+ dobin bin/*
+ doman doc/*.6
+ rm doc/*.6
+ dodoc doc/*
+}
diff --git a/games-emulation/raine/ChangeLog b/games-emulation/raine/ChangeLog
new file mode 100644
index 000000000000..a956c8cd182a
--- /dev/null
+++ b/games-emulation/raine/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/raine
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/raine/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*raine-0.36.2 (25 Nov 2002)
+
+ 25 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Javier Marcet <jmarcet@pobox.com>.
diff --git a/games-emulation/raine/Manifest b/games-emulation/raine/Manifest
new file mode 100644
index 000000000000..a262b2745aee
--- /dev/null
+++ b/games-emulation/raine/Manifest
@@ -0,0 +1,5 @@
+MD5 a98e87a2fdf460c3e48eddaff980a3dc ChangeLog 375
+MD5 d8a19bf25c89d01d474b1bd4e3635f92 raine-0.36.2.ebuild 2050
+MD5 67647762ce31a7c21a2a040536f02b29 files/Raine.desktop 236
+MD5 e6966af385f6356c94eba79ee263a0b1 files/digest-raine-0.36.2 176
+MD5 c4660e529000ed1406f1e98358b1b404 files/raine-allegro_4.1.5_fix.patch 569
diff --git a/games-emulation/raine/files/Raine.desktop b/games-emulation/raine/files/Raine.desktop
new file mode 100644
index 000000000000..16ce170619a0
--- /dev/null
+++ b/games-emulation/raine/files/Raine.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Comment=R A I N E M680x0 Arcade Emulation
+Exec=/usr/bin/raine
+Icon=/usr/share/icons/Raine16X16.png
+Name=Raine
+Path=/usr/share/raine
+Terminal=0
+TerminalOptions=
+Type=Application
+X-KDE-SubstituteUID=false
+X-KDE-Username=
diff --git a/games-emulation/raine/files/digest-raine-0.36.2 b/games-emulation/raine/files/digest-raine-0.36.2
new file mode 100644
index 000000000000..82ad6e43cfc2
--- /dev/null
+++ b/games-emulation/raine/files/digest-raine-0.36.2
@@ -0,0 +1,3 @@
+MD5 bff7f62b6ea4a4bf1342f3a5c41debf3 raines-0.36.2.tar.bz2 1614994
+MD5 cec6e5ba7beeb2ece310c66fd55c7b4d rainedocs.zip 88671
+MD5 3529c30187861c37af8e1ce544746b1e icons.zip 3641
diff --git a/games-emulation/raine/files/raine-allegro_4.1.5_fix.patch b/games-emulation/raine/files/raine-allegro_4.1.5_fix.patch
new file mode 100644
index 000000000000..516cdc585c5f
--- /dev/null
+++ b/games-emulation/raine/files/raine-allegro_4.1.5_fix.patch
@@ -0,0 +1,20 @@
+--- raine/source/alleg/display.c.orig 2002-09-07 09:56:00.000000000 +0200
++++ raine/source/alleg/display.c 2002-11-24 04:23:17.000000000 +0100
+@@ -23,8 +23,6 @@
+ // hardware scaling instead - it makes things MUCH easier.
+
+ #ifdef RAINE_UNIX
+-#ifndef ALLEGRO_LINUX
+-// These are not defined by freebsd, but they could...
+ static inline unsigned char inportb(unsigned short port)
+ {
+ unsigned char value;
+@@ -42,8 +40,6 @@
+ __asm__ volatile ("outw %0, %1" : : "a" (value), "d" (port));
+ }
+
+-#endif
+-
+ #define outp(a,b) outportb(a,b)
+ #define inp(a) inportb(a)
+
diff --git a/games-emulation/raine/raine-0.36.2.ebuild b/games-emulation/raine/raine-0.36.2.ebuild
new file mode 100644
index 000000000000..6877c4dd1278
--- /dev/null
+++ b/games-emulation/raine/raine-0.36.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/raine/raine-0.36.2.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="R A I N E M680x0 Arcade Emulation"
+HOMEPAGE="http://www.rainemu.com/"
+SRC_URI="http://www.rainemu.com/html/archive/raines-${PV}.tar.bz2
+ http://www.rainemu.com/html/archive/rainedocs.zip
+ http://www.rainemu.com/html/archive/icons.zip"
+# http://www.rainemu.com/html/archive/big-snapshot.zip"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="static nls"
+
+DEPEND="virtual/glibc
+ sys-libs/zlib
+ <media-libs/allegro-4.1.0
+ media-libs/svgalib"
+
+S=${WORKDIR}/${PN}
+RESTRICT=nostrip
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ MARCH_FLAG="`get-flag march`"
+ MCPU_FLAG="`get-flag mcpu`"
+ [ -z "${MARCH_FLAG}" ] && MARCH_FLAG="${MCPU_FLAG}"
+ [ -z "${MCPU_FLAG}" ] && MCPU_FLAG="${MARCH_FLAG}"
+
+ # Force our custom processor instead of pentium
+ cp makefile makefile.orig
+ sed -e "s:mcpu=pentium:mcpu=${MCPU_FLAG}:" \
+ -e "s:march=pentium:march=${MARCH_FLAG}:" \
+ -e 's:(prefix)/usr/games:(prefix)/usr/bin:' \
+ -e 's:(sharedir)/games/raine:(sharedir)/raine:' \
+ makefile.orig > makefile
+
+ # Fix function-name collision with 4.1.x version of allegro
+# patch -p1 < ${FILESDIR}/raine-allegro_4.1.5_fix.patch || die
+ cp source/gui/gui.c source/gui/gui.c.orig
+ sed -e 's:update_menu(:upd_menu(:' \
+ source/gui/gui.c.orig > source/gui/gui.c
+}
+
+src_compile() {
+ local myopts="OSTYPE=linux RAINE_LINUX=1 VERBOSE=1"
+
+ use static \
+ && myopts="${myopts} STATIC=1" \
+ || myopts="${myopts} STATIC="
+
+ emake ${myopts} || die
+}
+
+src_install() {
+ make prefix=${D} install || die
+
+ exedat ${D}/usr/bin/raine ${D}/usr/share/raine/raine.dat
+ rm -f ${D}/usr/share/raine/raine.dat
+
+ use nls || rm -rf ${D}/usr/share/raine/languages
+
+ dodoc ${WORKDIR}/raine.txt
+
+ insinto /usr/share/icons
+ doins ${WORKDIR}/*.png
+ if [ `use kde` ] ; then
+ insinto /usr/share/applnk/Games
+ doins ${FILESDIR}/Raine.desktop
+ fi
+}
diff --git a/games-emulation/snes9x/ChangeLog b/games-emulation/snes9x/ChangeLog
new file mode 100644
index 000000000000..970c18f7e3d8
--- /dev/null
+++ b/games-emulation/snes9x/ChangeLog
@@ -0,0 +1,53 @@
+# ChangeLog for app-emulation/snes9x
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*snes9x-139-r1 (20 Feb 2003)
+
+ 03 Mar 2003; Bartosch Pixa <darkspecter@gentoo.org> snes9x-139-r1.ebuild:
+ BE sound fix
+
+ 20 Feb 2003; Bartosch Pixa <darkspecter@gentoo.org> snes9x-139-r1.ebuild :
+ added a patch to enable fallback to c routines, RDEPEND and set ~ppc in keywords
+
+*snes-139-r1 (27 Jul 2002)
+
+ 02 Nov 2002: Mark Guertin <gerk@gentoo.org> snes-139-r1.ebuild :
+ set -ppc in keywords
+
+ 16 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+ Changed 'glide' to '3dfx' since only 3dfx cards use glide and '3dfx' is the correct USE
+
+ 03 Oct 2002; Mike Frysinger <vapier@gentoo.org> snes-139-r1.ebuild files/snes9x-gcc3.diff :
+ Fixed dependencies and made snes9x better ... #8717
+ Now you can have X or svga or glide or opengl ... X + svga is NOT required
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc to keywords
+
+ 27 Jul 2002; Stuart Bouyer <stubear@gentoo.org> snes-139-r1.ebuild,
+ snes-139.ebuild:
+
+ Added KEYWORDS="x86" and SLOT.
+
+*snes-139-r1 (23 Jun 2002)
+
+ 14 Jul 2002; Ryan Phillips <rphillips@gentoo.org> snes-139-r1.ebuild
+ files/snes9x-gcc3.diff :
+
+ Added GCC 3.1 patch
+
+ 23 Jun 2002; Ryan Phillips <rphillips@gentoo.org> snes-139-r1.ebuild :
+
+ Thanks to Per Wigren the ebuild has been updated with X11 support and
+ opengl.
+
+*snes-139 (26 May 2002)
+
+ 26 May 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/snes9x/Manifest b/games-emulation/snes9x/Manifest
new file mode 100644
index 000000000000..fd1d61420c5c
--- /dev/null
+++ b/games-emulation/snes9x/Manifest
@@ -0,0 +1,8 @@
+MD5 8d9c4a258f7ee0f3b32de3171f6fd754 ChangeLog 1973
+MD5 a8b250bb31fdb03bbefbcce3809b49ba snes9x-139-r1.ebuild 1962
+MD5 02a83e873a0615d322483ab94613a37e snes9x-139.ebuild 687
+MD5 1ea1144fd7c43c922c8df605ceec8513 files/digest-snes9x-139 56
+MD5 1ea1144fd7c43c922c8df605ceec8513 files/digest-snes9x-139-r1 56
+MD5 95a147283e0b09db8ad3307bb3e5b305 files/snes9x-139-r1-BE-sound-fix.diff 550
+MD5 5b7c3589393da0616b766b78c69aa16e files/snes9x-139-r1-Makefile-ppc.diff 779
+MD5 60e338baf6468da1d0c1fece4884553c files/snes9x-gcc3.diff 979
diff --git a/games-emulation/snes9x/files/digest-snes9x-139 b/games-emulation/snes9x/files/digest-snes9x-139
new file mode 100644
index 000000000000..7436413f1239
--- /dev/null
+++ b/games-emulation/snes9x/files/digest-snes9x-139
@@ -0,0 +1 @@
+MD5 eb8fb2cc365a9dcc18106a05bcdd3ac1 s9xs139.zip 666463
diff --git a/games-emulation/snes9x/files/digest-snes9x-139-r1 b/games-emulation/snes9x/files/digest-snes9x-139-r1
new file mode 100644
index 000000000000..7436413f1239
--- /dev/null
+++ b/games-emulation/snes9x/files/digest-snes9x-139-r1
@@ -0,0 +1 @@
+MD5 eb8fb2cc365a9dcc18106a05bcdd3ac1 s9xs139.zip 666463
diff --git a/games-emulation/snes9x/files/snes9x-139-r1-BE-sound-fix.diff b/games-emulation/snes9x/files/snes9x-139-r1-BE-sound-fix.diff
new file mode 100644
index 000000000000..b24de16d41c1
--- /dev/null
+++ b/games-emulation/snes9x/files/snes9x-139-r1-BE-sound-fix.diff
@@ -0,0 +1,26 @@
+--- release/unix/unix.cpp.orig 2003-03-02 03:33:54.000000000 +0100
++++ release/unix/unix.cpp 2003-03-02 03:35:10.000000000 +0100
+@@ -1463,7 +1463,11 @@
+ perror ("ioctl SNDCTL_DSP_SETTRIGGER");
+ #endif
+
++#ifdef MSB_FIRST
++ J = AFMT_S16_BE;
++#else
+ J = AFMT_S16_LE;
++#endif
+ // J = AFMT_U8;
+ if (ioctl (so.sound_fd, SNDCTL_DSP_SETFMT, &J) < 0)
+ {
+@@ -1471,7 +1475,11 @@
+ return (FALSE);
+ }
+
++#ifdef MSB_FIRST
++ if (J != AFMT_S16_BE)
++#else
+ if (J != AFMT_S16_LE)
++#endif
+ {
+ so.sixteen_bit = FALSE;
+ J = AFMT_U8;
diff --git a/games-emulation/snes9x/files/snes9x-139-r1-Makefile-ppc.diff b/games-emulation/snes9x/files/snes9x-139-r1-Makefile-ppc.diff
new file mode 100644
index 000000000000..09fee05cb903
--- /dev/null
+++ b/games-emulation/snes9x/files/snes9x-139-r1-Makefile-ppc.diff
@@ -0,0 +1,37 @@
+--- release.orig/Makefile.linux 2003-02-11 05:27:20.000000000 +0000
++++ release/Makefile.linux 2003-02-11 05:28:24.000000000 +0000
+@@ -1,13 +1,13 @@
+-ZSNESFX=1
+-ZSNESC4=1
+-ASMCPU=1
++#ZSNESFX=1
++#ZSNESC4=1
++#ASMCPU=1
+ #SPC700ASM=1
+ NETPLAY=1
+ UNZIP=1
+ #GLIDE=1
+ #OPENGL=1
+ THREAD_SOUND=1
+-ASMKREED=1
++#ASMKREED=1
+
+ ifdef ZSNESFX
+ FXOBJ=i386/fxemu2b.o i386/fxemu2.o i386/fxemu2c.o i386/fxtable.o i386/sfxproc.o i386/zsnes.o
+@@ -39,7 +39,7 @@
+ SOUNDOBJ=spctool/spc700.o spctool/dsp.o spctool.o spctool/soundmod.o spc.o
+ SOUNDDEFINES=-DSPCTOOL
+ else
+-SOUNDOBJ=spc700.o soundux.o apu.o i386/spc.o
++SOUNDOBJ=spc700.o soundux.o apu.o
+ SOUNDDEFINES=-DSPC700_C
+ endif
+
+@@ -111,7 +111,6 @@
+ OPTIMISE=
+
+ CCFLAGS = $(OPTIMISE) -DMITSHM \
+--Ii386 \
+ -I. \
+ -Iunzip \
+ -DJOYSTICK_SUPPORT \
diff --git a/games-emulation/snes9x/files/snes9x-gcc3.diff b/games-emulation/snes9x/files/snes9x-gcc3.diff
new file mode 100644
index 000000000000..d65616446cff
--- /dev/null
+++ b/games-emulation/snes9x/files/snes9x-gcc3.diff
@@ -0,0 +1,35 @@
+diff -ur release.orig/Makefile.linux release/Makefile.linux
+--- release.orig/Makefile.linux Sun Jul 14 18:24:34 2002
++++ release/Makefile.linux Sun Jul 14 18:24:48 2002
+@@ -102,7 +102,7 @@
+ OPENGLNO_DEPENDS=use_opengl
+ endif
+
+-CCC = gcc
++CCC = g++
+ CC = gcc
+ NASM = nasm
+
+diff -ur release.orig/unix/config.c release/unix/config.c
+--- release.orig/unix/config.c Sun Jul 14 18:24:34 2002
++++ release/unix/config.c Sun Jul 14 18:25:01 2002
+@@ -528,7 +528,7 @@
+ p = find_config_string(config[0], section, name, NULL);
+
+ if (p)
+- return (p->data ? p->data : "");
++ return (p->data ? p->data : (char*) "");
+ else
+ return def;
+ }
+--- release.orig/Makefile.linux 2002-10-03 16:04:29.000000000 -0400
++++ release/Makefile.linux 2001-09-18 02:04:07.000000000 -0400
+@@ -108,7 +108,7 @@
+
+ INCLUDES=-I/usr/X11R6/include -I/usr/local/include
+
+-OPTIMISE=-O6 -mpentium -fomit-frame-pointer -fno-exceptions
++OPTIMISE=
+
+ CCFLAGS = $(OPTIMISE) -DMITSHM \
+ -Ii386 \
diff --git a/games-emulation/snes9x/snes9x-139-r1.ebuild b/games-emulation/snes9x/snes9x-139-r1.ebuild
new file mode 100644
index 000000000000..45a1e3d9cf80
--- /dev/null
+++ b/games-emulation/snes9x/snes9x-139-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-139-r1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator"
+HOMEPAGE="http://www.snes9x.com/"
+SRC_URI="http://www.snes9x.com/zips/s9xs${PV}.zip"
+
+LICENSE="as-is"
+KEYWORDS="x86 ~ppc"
+SLOT="0"
+IUSE="X svga 3dfx opengl"
+
+DEPEND="x86? ( dev-lang/nasm )
+ X? ( virtual/x11 )
+ svga? ( media-libs/svgalib )
+ opengl? ( virtual/opengl )
+ 3dfx? ( media-libs/glide-v3 )"
+RDEPEND="X? ( virtual/x11 )
+ svga? ( media-libs/svgalib )
+ opengl? ( virtual/opengl )
+ 3dfx? ( media-libs/glide-v3 )"
+
+S="${WORKDIR}/release"
+
+pkg_setup() {
+ local mydisp
+ mydisp="`use X``use svga``use opengl``use 3dfx`"
+ if [ -z "${mydisp}" ] ; then
+ eerror "Unable to find a display mode"
+ echo
+ eerror "You must have at least 1 of the following"
+ eerror "in your USE variable:"
+ eerror "X svga opengl 3dfx"
+ die "unable to compile targets"
+ fi
+}
+
+src_compile() {
+ patch -p1 < ${FILESDIR}/snes9x-gcc3.diff
+ if [ `use ppc` ]; then
+ patch -p1 < ${FILESDIR}/snes9x-139-r1-Makefile-ppc.diff
+ patch -p1 < ${FILESDIR}/snes9x-139-r1-BE-sound-fix.diff
+ fi
+
+ #install our custom CXXFLAGS
+ mv Makefile.linux Makefile
+ cp Makefile Makefile.old
+ sed -e "s:OPTIMISE=:OPTIMISE=${CXXFLAGS}:" \
+ Makefile.old > Makefile
+
+ use X && emake snes9x
+ [ -x ${S}/snes9x ] || die "unable to compile for X"
+
+ use svga && emake ssnes9x
+ [ -x ${S}/snes9x ] || die "unable to compile for svga"
+
+ use opengl && emake osnes9x
+ [ -x ${S}/snes9x ] || die "unable to compile for opengl"
+
+ use 3dfx && emake gsnes9x
+ [ -x ${S}/snes9x ] || die "unable to compile for glide"
+}
+
+src_install() {
+ use X && dobin snes9x
+ use svga && dobin ssnes9x
+ use opengl && dobin osnes9x
+ use 3dfx && dobin gsnes9x
+ dodoc {COPYRIGHT,CHANGES,README,PROBLEMS,TODO,HARDWARE,HOW2PORT}.TXT
+}
diff --git a/games-emulation/snes9x/snes9x-139.ebuild b/games-emulation/snes9x/snes9x-139.ebuild
new file mode 100644
index 000000000000..7004e226a06e
--- /dev/null
+++ b/games-emulation/snes9x/snes9x-139.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-139.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES) emulator."
+HOMEPAGE="http://www.snes9x.com/"
+LICENSE="as-is"
+KEYWORDS="x86 -ppc"
+SLOT="0"
+SRC_URI="http://www.snes9x.com/zips/s9xs${PV}.zip"
+DEPEND="dev-lang/nasm
+ virtual/x11"
+S=${WORKDIR}/release
+IUSE=""
+
+src_compile() {
+ make -f Makefile.linux || die
+}
+
+src_install() {
+ dobin ssnes9x
+ dodoc COPYRIGHT.TXT CHANGES.TXT README.TXT PROBLEMS.TXT TODO.TXT HARDWARE.TXT
+}
diff --git a/games-emulation/stella/ChangeLog b/games-emulation/stella/ChangeLog
new file mode 100644
index 000000000000..f82694677adb
--- /dev/null
+++ b/games-emulation/stella/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-emulation/stella
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/stella/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*stella-1.3 (14 Apr 2003)
+
+ 14 Apr 2003; Martin Holzer <mholzer@gentoo.org> Manifest, stella-1.3.ebuild:
+ Version bumped. Ebuild submitted by Chris Ripp (chris@ripp.net) in #18838.
+
+*stella-1.2 (09 Mar 2003)
+
+ 09 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Chris Ripp <chris@ripp.net> #15765.
diff --git a/games-emulation/stella/Manifest b/games-emulation/stella/Manifest
new file mode 100644
index 000000000000..99be97379d80
--- /dev/null
+++ b/games-emulation/stella/Manifest
@@ -0,0 +1,5 @@
+MD5 4ed8ab29f9d3ab27873b12516dfd9fdf files/digest-stella-1.2 66
+MD5 5af9244b91231a9124ae00e7620ad00e files/digest-stella-1.3 66
+MD5 12d7455ad9a7af4b39cfc6fa077c61d9 stella-1.2.ebuild 1112
+MD5 0a275fd8b43e1cd300fdbd72f2a7abee ChangeLog 561
+MD5 8b1f9cca8226ec765e86733ff067e9f5 stella-1.3.ebuild 1258
diff --git a/games-emulation/stella/files/digest-stella-1.2 b/games-emulation/stella/files/digest-stella-1.2
new file mode 100644
index 000000000000..b0cb617f900e
--- /dev/null
+++ b/games-emulation/stella/files/digest-stella-1.2
@@ -0,0 +1 @@
+MD5 2c24c0fa2655a597b9e04742485e5ed8 stella-1.2-src.tar.gz 393923
diff --git a/games-emulation/stella/files/digest-stella-1.3 b/games-emulation/stella/files/digest-stella-1.3
new file mode 100644
index 000000000000..b3e8bbc9f312
--- /dev/null
+++ b/games-emulation/stella/files/digest-stella-1.3
@@ -0,0 +1 @@
+MD5 b9318f82a180ff0a404fca78511b2772 stella-1.3-src.tar.gz 433201
diff --git a/games-emulation/stella/stella-1.2.ebuild b/games-emulation/stella/stella-1.2.ebuild
new file mode 100644
index 000000000000..7160d64754da
--- /dev/null
+++ b/games-emulation/stella/stella-1.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/stella/stella-1.2.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="Stella Atari 2600 VCS Emulator"
+HOMEPAGE="http://stella.sourceforge.net/"
+SRC_URI="mirror://sourceforge/stella/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="sdl oss X"
+
+DEPEND="|| (
+ X? ( virtual/x11 )
+ sdl? ( media-libs/libsdl )
+ virtual/x11
+ )"
+
+src_compile() {
+ if [ `use X` ] || [ -z "`use X``use sdl`" ] ; then
+ cd ${S}/src/build
+ emake OPTIMIZATIONS="${CFLAGS}" linux-x || die
+ fi
+ if [ `use sdl` ] ; then
+ cd ${S}/src/build
+ emake OPTIMIZATIONS="${CFLAGS}" linux-sdl || die
+ fi
+
+ if [ `use oss` ] ; then
+ cd ${S}/src/ui/sound
+ emake CC="${CC} ${CFLAGS}" linux || die
+ fi
+}
+
+src_install() {
+ use X && dobin src/build/stella.x11
+ use sdl && dobin src/build/stella.sdl
+ [ -z "`use X``use sdl`" ] && dobin src/build/stella.x11
+ use oss && dobin src/ui/sound/stella-sound
+
+ insinto /etc
+ doins src/stellarc
+
+ dohtml -r docs/
+ dodoc *.txt
+}
diff --git a/games-emulation/stella/stella-1.3.ebuild b/games-emulation/stella/stella-1.3.ebuild
new file mode 100644
index 000000000000..7f987b78d390
--- /dev/null
+++ b/games-emulation/stella/stella-1.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/stella/stella-1.3.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="Stella Atari 2600 VCS Emulator"
+HOMEPAGE="http://stella.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="sdl oss X alsa"
+
+DEPEND="|| (
+ X? ( virtual/x11 )
+ sdl? ( media-libs/libsdl )
+ virtual/x11
+ alsa? ( media-sound/alsa-driver )
+ media-libs/libpng
+ )"
+
+src_compile() {
+ # let's just default joystick & snapshot support to on
+ MYOPTS="JOYSTICK_SUPPORT=1 SNAPSHOT_SUPPORT=1"
+
+ if [ `use alsa` ] ; then
+ MYOPTS="${MYOPTS} SOUND_ALSA=1"
+ fi
+ if [ `use X` ] || [ -z "`use X``use sdl`" ] ; then
+ cd ${S}/src/build
+ emake OPTIMIZATIONS="${CFLAGS}" $MYOPTS linux-x || die
+ fi
+ if [ `use sdl` ] ; then
+ cd ${S}/src/build
+ emake OPTIMIZATIONS="${CFLAGS}" $MYOPTS SOUND_SDL=1 linux-sdl || die
+ fi
+}
+
+src_install() {
+ use X && dobin src/build/stella.x11
+ use sdl && dobin src/build/stella.sdl
+ [ -z "`use X``use sdl`" ] && dobin src/build/stella.x11
+
+ insinto /etc
+ doins src/stellarc
+ doins src/emucore/stella.pro
+
+ dohtml -r docs/
+ dodoc *.txt
+}
diff --git a/games-emulation/tuxnes/ChangeLog b/games-emulation/tuxnes/ChangeLog
new file mode 100644
index 000000000000..d93ab5eae7f7
--- /dev/null
+++ b/games-emulation/tuxnes/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for app-emulation/tuxnes
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/tuxnes/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*tuxnes-0.75 (11 Dec 2002)
+
+ 31 Jan 2003; Martin Holzer <mholzer@gentoo.org> tuxnes-0.75.ebuild :
+ Change SRC_URI to use mirror://sourceforge.
+
+ 11 Dec 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ New package
+
diff --git a/games-emulation/tuxnes/Manifest b/games-emulation/tuxnes/Manifest
new file mode 100644
index 000000000000..1986c3a2f4b3
--- /dev/null
+++ b/games-emulation/tuxnes/Manifest
@@ -0,0 +1,4 @@
+MD5 9369efb94f81b1043189d4f72ae048d7 files/configure.in-tuxnes-0.75-gentoo.diff 1739
+MD5 55a5bee2cd9089545a3b10f1833f5a9a files/digest-tuxnes-0.75 63
+MD5 117a6cb523245dc0b2b650b62c4e48fb ChangeLog 447
+MD5 b436a9a476bbf9282fc9fcdd33ea0faf tuxnes-0.75.ebuild 1114
diff --git a/games-emulation/tuxnes/files/configure.in-tuxnes-0.75-gentoo.diff b/games-emulation/tuxnes/files/configure.in-tuxnes-0.75-gentoo.diff
new file mode 100644
index 000000000000..73204ae0e3da
--- /dev/null
+++ b/games-emulation/tuxnes/files/configure.in-tuxnes-0.75-gentoo.diff
@@ -0,0 +1,46 @@
+--- tuxnes-0.75/configure.in 2001-04-15 20:08:07.000000000 -0500
++++ tuxnes-0.75-gentoo/configure.in 2002-12-03 00:38:41.000000000 -0500
+@@ -31,7 +31,8 @@
+ dnl Don't assume we want high level optimisations, it is known to
+ dnl produce broken code on certain architectures using certain compilers
+ dnl --------------------------------------------------------------------
+-CFLAGS="-O"
++dnl We'll fix this the Gentoo way
++dnl CFLAGS="-O"
+ AC_SUBST(CFLAGS)
+
+ dnl --------------------------------------------------------------------
+@@ -46,12 +47,12 @@
+ AC_ARG_ENABLE(warnings, [ --enable-warnings enable more compilation warning checks [default=no]], enable_warnings="yes", enable_warnings="no")
+
+ if test "x$enable_warnings" = "xyes"; then
+- CFLAGS="$CFLAGS -pipe -W -Wall -ansi -pedantic -Wbad-function-cast \
++ CFLAGS="$CFLAGS -W -Wall -ansi -pedantic -Wbad-function-cast \
+ -Wcast-align -Wcast-qual -Wchar-subscripts -Wconversion -Winline \
+ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
+ -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings"
+ else
+- CFLAGS="$CFLAGS -pipe -Wall"
++ CFLAGS="$CFLAGS"
+ fi
+ AC_SUBST(CFLAGS)
+
+@@ -144,12 +145,9 @@
+ [ --without-ggi disable check for GGI (General Graphics Interface)])
+
+ if test "x$with_ggi" != "xno"; then
+- OCPPFLAGS="$CPPFLAGS"
+- CPPFLAGS="-I/usr/local/include"
+- AC_CHECK_HEADERS(ggi/gii.h ggi/ggi.h, CFLAGS="$CFLAGS -I/usr/local/include")
++ AC_CHECK_HEADERS(ggi/gii.h ggi/ggi.h)
+ AC_CHECK_LIB(ggi, ggiInit)
+ AC_CHECK_LIB(gii, giiInit)
+- CPPFLAGS="$OCPPFLAGS"
+ fi
+
+ dnl --------------------------------------------------------------------
+@@ -210,3 +208,4 @@
+ AC_CHECK_FUNCS(gettimeofday strtod strtoul)
+
+ AC_OUTPUT(Makefile)
++
diff --git a/games-emulation/tuxnes/files/digest-tuxnes-0.75 b/games-emulation/tuxnes/files/digest-tuxnes-0.75
new file mode 100644
index 000000000000..7bc52404f40d
--- /dev/null
+++ b/games-emulation/tuxnes/files/digest-tuxnes-0.75
@@ -0,0 +1 @@
+MD5 5db0cd42dfdff3e681805e93b4867c43 tuxnes-0.75.tar.gz 198735
diff --git a/games-emulation/tuxnes/tuxnes-0.75.ebuild b/games-emulation/tuxnes/tuxnes-0.75.ebuild
new file mode 100644
index 000000000000..048dd0900df9
--- /dev/null
+++ b/games-emulation/tuxnes/tuxnes-0.75.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/tuxnes/tuxnes-0.75.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="emulator for the 8-bit Nintendo Entertainment System"
+HOMEPAGE="http://tuxnes.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="X ggi"
+
+DEPEND=">=media-libs/netpbm-9.12
+ X? ( virtual/x11 )
+ ggi? ( >=media-libs/libggi-2.0.1 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/configure.in-${P}-gentoo.diff
+ autoreconf &>/dev/null
+}
+
+src_compile() {
+ replace-flags "-O?" "-O"
+
+ # Don't even bother checking for W windows
+ econf \
+ --without-w \
+ `use_with ggi` \
+ `use_with X x` \
+ || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ # Install pixmaps
+ dodir /usr/share/pixmaps
+ insinto /usr/share/pixmaps
+ doins tuxnes.xpm tuxnes2.xpm
+
+ # Install documentation
+ dodoc AUTHORS BUGS ChangeLog CHANGES \
+ COPYING INSTALL NEWS README THANKS
+}
diff --git a/games-emulation/vgba/ChangeLog b/games-emulation/vgba/ChangeLog
new file mode 100644
index 000000000000..dc63144eefdb
--- /dev/null
+++ b/games-emulation/vgba/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for app-emulation/vgba
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/vgba/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*vgba-2.0 (19 Jul 2003)
+
+ 19 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-emulation/vgba/Manifest b/games-emulation/vgba/Manifest
new file mode 100644
index 000000000000..2da1c364a634
--- /dev/null
+++ b/games-emulation/vgba/Manifest
@@ -0,0 +1,3 @@
+MD5 d17c9a99f420e96a9bcefe0896777eb9 files/digest-vgba-2.0 73
+MD5 d540f5670a23f589e259ab1fcc2c010e vgba-2.0.ebuild 645
+MD5 d07ab9d1e67fc89595f19c885058605f ChangeLog 338
diff --git a/games-emulation/vgba/files/digest-vgba-2.0 b/games-emulation/vgba/files/digest-vgba-2.0
new file mode 100644
index 000000000000..26d33409e1cb
--- /dev/null
+++ b/games-emulation/vgba/files/digest-vgba-2.0
@@ -0,0 +1 @@
+MD5 6756c007468b3ca1eb9c3aa333d4ea7b VGBA20-Linux-80x86-bin.tar.Z 290664
diff --git a/games-emulation/vgba/vgba-2.0.ebuild b/games-emulation/vgba/vgba-2.0.ebuild
new file mode 100644
index 000000000000..e757e2c7b62a
--- /dev/null
+++ b/games-emulation/vgba/vgba-2.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/vgba/vgba-2.0.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+DESCRIPTION="emulator of the GameBoy Advance"
+HOMEPAGE="http://www.komkon.org/fms/VGBA/"
+SRC_URI="http://fms.komkon.org/VGBA/VGBA${PV/.}-Linux-80x86-bin.tar.Z"
+
+LICENSE="VGBA"
+SLOT="0"
+KEYWORDS="-* x86"
+
+RDEPEND="virtual/x11"
+
+S=${WORKDIR}
+
+src_install() {
+ dogamesbin vgba
+ dohtml VGBA.html
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ ewarn "You must run X in 16bit color for the emu to work"
+}
diff --git a/games-emulation/visualboyadvance/ChangeLog b/games-emulation/visualboyadvance/ChangeLog
new file mode 100644
index 000000000000..bab4895049ae
--- /dev/null
+++ b/games-emulation/visualboyadvance/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for app-emulation/visualboyadvance
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*visualboyadvance-1.5.1 (20 Jun 2003)
+
+ 20 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump for #19319.
+
+*visualboyadvance-1.4 (02 Mar 2003)
+
+ 27 Mar 2003; Michael Nazaroff <naz@gentoo.org> :
+ Added a license line to the ebuild.
+
+ 02 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Bret Towe <btowe@gbis.com> #10566
+ and Daniel Mannarino <thesnark@operamail.com> #13202.
diff --git a/games-emulation/visualboyadvance/Manifest b/games-emulation/visualboyadvance/Manifest
new file mode 100644
index 000000000000..c89821ac253f
--- /dev/null
+++ b/games-emulation/visualboyadvance/Manifest
@@ -0,0 +1,4 @@
+MD5 f3c6d45805cc291c847715522b21f811 files/playvisualboyadvance 440
+MD5 ca3ed76dc7dabd553467340b383af98f files/digest-visualboyadvance-1.5.1 78
+MD5 d4d018959d4401ce517ee74289f1ebc5 visualboyadvance-1.5.1.ebuild 1253
+MD5 b197f75d5ef7daaefed090366ba0bd40 ChangeLog 669
diff --git a/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.5.1 b/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.5.1
new file mode 100644
index 000000000000..3283f91962bf
--- /dev/null
+++ b/games-emulation/visualboyadvance/files/digest-visualboyadvance-1.5.1
@@ -0,0 +1 @@
+MD5 e679cb0d5749d4ac1e5320511fe022dc VisualBoyAdvance-1.5.1-src.tar.gz 970172
diff --git a/games-emulation/visualboyadvance/files/playvisualboyadvance b/games-emulation/visualboyadvance/files/playvisualboyadvance
new file mode 100644
index 000000000000..e7a8848ed635
--- /dev/null
+++ b/games-emulation/visualboyadvance/files/playvisualboyadvance
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+PN=VisualBoyAdvance
+if ! [ -d ~/.${PN}/save ]; then
+ mkdir -p ~/.${PN}/save
+ cd ~/.${PN}
+ ln -s `which ${PN}` .
+ cp /usr/games/share/${PN}/${PN}.cfg .
+ mv ${PN}.cfg ${PN}.cfg.old
+ sed -e "s:#saveDir.*:saveDir ${HOME}/.${PN}/save:" \
+ -e "s:#captureDir.*:captureDir ${HOME}/.${PN}:" \
+ -e "s:#batteryDir.*:batteryDir ${HOME}/.${PN}/save:" \
+ ${PN}.cfg.old > ${PN}.cfg
+ rm -f ${PN}.cfg.old
+fi
+
+cd ~/.${PN}
+./${PN} $@
diff --git a/games-emulation/visualboyadvance/visualboyadvance-1.5.1.ebuild b/games-emulation/visualboyadvance/visualboyadvance-1.5.1.ebuild
new file mode 100644
index 000000000000..675f7bec7691
--- /dev/null
+++ b/games-emulation/visualboyadvance/visualboyadvance-1.5.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/visualboyadvance-1.5.1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games
+
+S=${WORKDIR}/VisualBoyAdvance-1.5
+
+DESCRIPTION="gameboy, gameboy color, and gameboy advance emulator"
+HOMEPAGE="http://vboy.emuhq.com/"
+SRC_URI="mirror://sourceforge/vba/VisualBoyAdvance-${PV}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="mmx debug"
+
+DEPEND="mmx? ( dev-lang/nasm )
+ media-libs/libpng
+ sys-libs/zlib
+ media-libs/libsdl
+ virtual/x11"
+
+src_compile() {
+ for m in `find -name Makefile.in` ; do
+ cp ${m}{,.orig}
+ sed -e "s:@LIBTOOL@:/usr/bin/libtool:" ${m}.orig > ${m}
+ done
+
+ egamesconf \
+ --enable-c-core \
+ `use_with debug profiling` \
+ `use_with mmx` \
+ || die
+ if [ ! `use debug` ] ; then
+ cp src/Makefile{,.orig}
+ sed -e 's:prof/libprof.a::' \
+ src/Makefile.orig > src/Makefile
+ fi
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ dogamesbin ${FILESDIR}/playvisualboyadvance
+ insinto ${GAMES_DATADIR}/VisualBoyAdvance
+ doins src/VisualBoyAdvance.cfg
+ dodoc README README-win.txt INSTALL ChangeLog AUTHORS NEWS
+ prepgamesdirs
+}
diff --git a/games-emulation/xmame/ChangeLog b/games-emulation/xmame/ChangeLog
new file mode 100644
index 000000000000..ca47166adf51
--- /dev/null
+++ b/games-emulation/xmame/ChangeLog
@@ -0,0 +1,110 @@
+# ChangeLog for app-emulation/xmame
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*xmame-0.72.1 (17 Aug 2003)
+
+ 17 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #26763 + remove mips patch.
+
+*xmame-0.71.1 (16 Aug 2003)
+
+ 16 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #24986 + mips patch.
+
+*xmame-0.70.1 (11 Jul 2003)
+
+ 15 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add glx patch #24383.
+
+ 11 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + major rehaul of code. Thanks to Caleb Shay <caleb@webninja.com> for
+ his ideas/submissions.
+
+*xmame-0.69.1 (05 Jun 2003)
+
+ 05 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Version bump.
+
+*xmame-0.67.2 (28 Apr 2003)
+
+ 28 Apr 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump.
+
+*xmame-0.62.2-r1 (28 Apr 2003)
+
+ 29 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Added missing changelog entry.
+
+*xmame-0.62.2 (13 Jan 2003)
+
+ 13 Jan 2003; Ryan Phillips <rphillips@gentoo.org> xmame-0.62.2.ebuild :
+ Submitted by Caleb Shay
+
+*xmame-0.62.1_rc2 (27 Dec 2002)
+
+ 27 Dec 2002; Ryan Phillips <rphillips@gentoo.org> xmame-0.62.1_rc2.ebuild :
+ version bump. Submitted by Kfir Ozer. Fixes #11927
+
+*xmame-0.61.1_pre1 (31 Oct 2002)
+
+ 31 Oct 2002; Ryan Phillips <rphillips@gentoo.org> xmame-0.61.1_pre1.ebuild :
+ Version bump.. Submitted by Caleb Shay. Fixes #8904
+
+*xmame-0.60.1-r4 (17 Aug 2002)
+
+ 14 Aug 2002; Ryan Phillips <rphillips@gentoo.org> xmame-0.60.1-r4.ebuild :
+ thanks to Caleb Shay. Fixes #8904
+
+*xmame-0.60.1-r3 (7 Aug 2002)
+
+ 7 Aug 2002; Ryan Phillips <rphillips@gentoo.org> xmame-0.60.1-r3.ebuild :
+ Included sed for use var 'opengl'
+
+*xmame-0.60.1-r2 (13 June 2002)
+
+ 23 Jul 2002; Ryan Phillips <rphillips@gentoo.org> :
+ on x86 platforms -O3 doesn't compile. I included a sed statement
+ to replace -O3 with -O2.
+
+ 15 Jul 2002; Owen Stampflee <owen@gentoo.org> :
+ Added KEYWORDS.
+
+ 13 June 2002; David Chamberlain <daybird@gentoo.org> xmame-0.60.1-r2.ebuild
+ This ebuild provides ppc fixes to makefile
+
+*xmame-0.60.1-r1 (7 Jun 2002)
+
+ 7 Jun 2002; J. Perrot <blackmore@gentoo.org> xmame-0.60.1-r1.ebuild :
+ Check the presence of "dga" in the USE variable and do the
+ appropriate sed substitution
+
+*xmame-0.60.1 (27 May 2002)
+
+ 27 May 2002; Ryan Phillips <rphillips@gentoo.org> xmame-0.60.1.ebuild :
+ Updated version and fixes to the xmame symlink. #2958
+
+*xmame-0.59.1 (28 Mar 2002)
+
+ 28 Mar 2002; Geert Bevin <gbevin@gentoo.org> xmame-0.59.1.ebuild
+ files/digest-xmame-0.59.1 :
+ Version upgrade
+
+*xmame-0.56.1 (3 Feb 2002)
+
+ 3 Feb 2002; T.Neidt <tneidt@gentoo.org> ChangeLog :
+ Moved to app-emulation/xmame with the other emulators (Bug 421)
+
+*xmame-0.55.2 (3 Feb 2002)
+
+ 3 Feb 2002; T.Neidt <tneidt@gentoo.org> ChangeLog :
+ Moved to app-emulation/xmame with the other emulators (Bug 421)
+
+*xmame-0.56.1 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/xmame/Manifest b/games-emulation/xmame/Manifest
new file mode 100644
index 000000000000..705b24372974
--- /dev/null
+++ b/games-emulation/xmame/Manifest
@@ -0,0 +1,4 @@
+MD5 13dc5b32bbff98dec74c41dd0c9b33a1 files/0.72.1-glx-fix.patch 597
+MD5 9e2434931e4fa0ed0cce862961302c8c files/digest-xmame-0.72.1 67
+MD5 c5bc8c71636e39b2fdb20392b95bf13f ChangeLog 3432
+MD5 15280fd1819b823b4ea530b5488c2889 xmame-0.72.1.ebuild 4251
diff --git a/games-emulation/xmame/files/0.72.1-glx-fix.patch b/games-emulation/xmame/files/0.72.1-glx-fix.patch
new file mode 100644
index 000000000000..20d29a9d0573
--- /dev/null
+++ b/games-emulation/xmame/files/0.72.1-glx-fix.patch
@@ -0,0 +1,19 @@
+diff -urN xmame-0.70.1-orig/src/unix/osd_cpu.h xmame-0.70.1/src/unix/osd_cpu.h
+--- xmame-0.70.1-orig/src/unix/osd_cpu.h 2003-06-12 05:37:50.000000000 +0200
++++ xmame-0.70.1/src/unix/osd_cpu.h 2003-07-15 15:09:03.000000000 +0200
+@@ -39,11 +39,15 @@
+ #endif
+
+ /* grrr work around some stupid header conflicts */
++#ifndef xgl
+ #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64
+ typedef signed char INT8;
+ typedef signed short INT16;
+ typedef signed int INT32;
+ #endif
++#else
++#include <X11/Xmd.h>
++#endif
+
+ #ifndef LONG64
+ typedef signed long long INT64;
diff --git a/games-emulation/xmame/files/digest-xmame-0.72.1 b/games-emulation/xmame/files/digest-xmame-0.72.1
new file mode 100644
index 000000000000..d0317da90c07
--- /dev/null
+++ b/games-emulation/xmame/files/digest-xmame-0.72.1
@@ -0,0 +1 @@
+MD5 0ca7ca8111c24951232c453af8db3f86 xmame-0.72.1.tar.bz2 10210781
diff --git a/games-emulation/xmame/xmame-0.72.1.ebuild b/games-emulation/xmame/xmame-0.72.1.ebuild
new file mode 100644
index 000000000000..3f9c7aabfba0
--- /dev/null
+++ b/games-emulation/xmame/xmame-0.72.1.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/xmame-0.72.1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games flag-o-matic gcc eutils
+
+TARGET=${PN}
+
+DESCRIPTION="Multiple Arcade Machine Emulator for X11"
+SRC_URI="http://x.mame.net/download/xmame-${PV}.tar.bz2"
+HOMEPAGE="http://x.mame.net/"
+
+LICENSE="xmame"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc ~mips ~alpha"
+IUSE="sdl dga xv alsa esd opengl X 3dfx svga ggi arts joystick"
+
+DEPEND="sys-libs/zlib
+ sdl? ( >=media-libs/libsdl-1.2.0 )
+ alsa? ( media-libs/alsa-lib )
+ xv? ( >=x11-base/xfree-4.1.0 )
+ dga? ( >=x11-base/xfree-4.1.0 )
+ esd? ( >=media-sound/esound-0.2.29 )
+ svga? ( media-libs/svgalib )
+ ggi? ( media-libs/libggi )
+ arts? ( kde-base/arts )
+ x86? ( dev-lang/nasm )"
+
+S=${WORKDIR}/xmame-${PV}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+
+ epatch ${FILESDIR}/${PV}-glx-fix.patch
+
+ [ ${ARCH} == "x86" ] && sed -i -e '/X86_ASM_68000 =/s:#::' -e '/X86_MIPS3_DRC =/s:#::' Makefile
+ [ ${ARCH} == "ppc" ] && sed -i '/^MY_CPU/s:i386:risc:' Makefile
+ [ ${ARCH} == "sparc" ] && sed -i '/^MY_CPU/s:i386:risc:' Makefile
+ [ ${ARCH} == "alpha" ] && sed -i '/^MY_CPU/s:i386:alpha:' Makefile
+ [ ${ARCH} == "mips" ] && sed -i '/^MY_CPU/s:i386:mips:' Makefile
+
+ [ ${ARCH} == "x86" ] && [ `use joystick` ] && sed -i '/JOY_I386.*=/s:#::' Makefile
+
+ [ `use esd` ] && sed -i '/SOUND_ESOUND/s:#::' Makefile
+ [ `use alsa` ] && sed -i '/SOUND_ALSA/s:#::' Makefile
+ [ `use arts` ] && sed -i '/SOUND_ARTS/s:#::' Makefile
+ [ `use sdl` ] && sed -i '/SOUND_SDL/s:#::' Makefile
+
+ if [ `use dga` ] ; then
+ sed -i '/X11_DGA/s:#::' Makefile
+ [ `use 3dfx` ] && sed -i '/TDFX_DGA_WORKAROUND/s:#::' Makefile
+ fi
+
+ [ `use xv` ] && sed -i '/X11_XV/s:#::' Makefile
+
+ sed -i \
+ -e "/^PREFIX/s:=.*:=/usr:" \
+ -e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \
+ -e "/^XMAMEROOT/s:=.*:=${GAMES_DATADIR}/${TARGET}:" \
+ -e "/^TARGET/s:mame:${TARGET:1}:" \
+ Makefile
+
+ case ${ARCH} in
+ x86) append-flags -Wno-unused -fomit-frame-pointer -fstrict-aliasing -fstrength-reduce -ffast-math
+ [ `gcc-major-version` -eq 3 ] \
+ && append-flags -falign-functions=2 -falign-jumps=2 -falign-loops=2 \
+ || append-flags -malign-functions=2 -malign-jumps=2 -malign-loops=2
+ ;;
+ ppc) append-flags -Wno-unused -funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char
+ ;;
+ esac
+ sed -i "s:^CFLAGS =:CFLAGS=${CFLAGS}:" Makefile
+}
+
+src_compile() {
+ [ ! -z "`use X``use dga``use xv`" ] && { make DISPLAY_METHOD=x11 || die; }
+ [ `use sdl` ] && { make DISPLAY_METHOD=SDL || die; }
+ [ `use svga` ] && { make DISPLAY_METHOD=svgalib || die; }
+ [ `use ggi` ] && { make DISPLAY_METHOD=ggi || die; }
+ [ `use opengl` ] && { make DISPLAY_METHOD=xgl || die; }
+}
+
+src_install() {
+ sed -i \
+ -e "s:Xmame:${TARGET}:g" \
+ -e "s:xmame:${TARGET}:g" \
+ doc/*.6
+ sed -i \
+ -e "s:^PREFIX.*:PREFIX=${D}/usr:" \
+ -e "s:^BINDIR.*:BINDIR=${D}/${GAMES_BINDIR}:" \
+ -e "s:^XMAMEROOT.*:XMAMEROOT=${D}/${GAMES_DATADIR}/${TARGET}:" \
+ Makefile
+
+ [ ! -z "`use X``use dga``use xv`" ] && { make DISPLAY_METHOD=x11 install || die; }
+ [ `use sdl` ] && { make DISPLAY_METHOD=SDL install || die; }
+ [ `use svga` ] && { make DISPLAY_METHOD=svgalib install || die; }
+ [ `use ggi` ] && { make DISPLAY_METHOD=ggi install || die; }
+ [ `use opengl` ] && { make DISPLAY_METHOD=xgl install || die; }
+
+ dodoc doc/{changes.*,*.txt,mame/*,${TARGET}rc.dist} README todo
+ dohtml -r doc/*
+
+ if [ `use opengl` ] ; then
+ dosym ${TARGET}.xgl ${GAMES_BINDIR}/${TARGET}
+ elif [ ! -z "`use X``use dga``use xv`" ] ; then
+ dosym ${TARGET}.x11 ${GAMES_BINDIR}/${TARGET}
+ elif [ `use sdl` ] ; then
+ dosym ${TARGET}.SDL ${GAMES_BINDIR}/${TARGET}
+ elif [ `use svga` ] ; then
+ dosym ${TARGET}.svgalib ${GAMES_BINDIR}/${TARGET}
+ elif [ `use ggi` ] ; then
+ dosym ${TARGET}.ggi ${GAMES_BINDIR}/${TARGET}
+ fi
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "Your available MAME binaries are:"
+ [ ! -z "`use X``use dga``use xv`" ] && einfo " ${TARGET}.x11"
+ [ `use sdl` ] && einfo " ${TARGET}.SDL"
+ [ `use svga` ] && einfo " ${TARGET}.svgalib"
+ [ `use ggi` ] && einfo " ${TARGET}.ggi"
+ [ `use opengl` ] && einfo " ${TARGET}.xgl"
+}
diff --git a/games-emulation/xmess/ChangeLog b/games-emulation/xmess/ChangeLog
new file mode 100644
index 000000000000..2dd964fa7d32
--- /dev/null
+++ b/games-emulation/xmess/ChangeLog
@@ -0,0 +1,27 @@
+# ChangeLog for app-emulation/xmess
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+*xmess-0.72.1 (17 Aug 2003)
+
+ 17 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #26763 + remove mips patch.
+
+*xmess-0.71.1 (16 Aug 2003)
+
+ 16 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump #24986 + mips patch.
+
+*xmess-0.70.1 (11 Jul 2003)
+
+ 16 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added glx fix patch.
+
+ 11 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump + major rehaul of code. Thanks to Caleb Shay <caleb@webninja.com> for
+ his ideas/submissions.
+
+*xmess-0.62.2-r1 (13 Jan 2003)
+
+ 13 Jan 2003; Ryan Phillips <rphillips@gentoo.org> xmess-0.62.2-r1.ebuild :
+ initial release. Submitted by Caleb Shay.
diff --git a/games-emulation/xmess/Manifest b/games-emulation/xmess/Manifest
new file mode 100644
index 000000000000..a0182dfc29de
--- /dev/null
+++ b/games-emulation/xmess/Manifest
@@ -0,0 +1,4 @@
+MD5 13dc5b32bbff98dec74c41dd0c9b33a1 files/0.72.1-glx-fix.patch 597
+MD5 9e2434931e4fa0ed0cce862961302c8c files/digest-xmess-0.72.1 67
+MD5 d980c686b87013e058dbe08091c427fb ChangeLog 885
+MD5 f57f3cd402044e2039235b098d92edd8 xmess-0.72.1.ebuild 4251
diff --git a/games-emulation/xmess/files/0.72.1-glx-fix.patch b/games-emulation/xmess/files/0.72.1-glx-fix.patch
new file mode 100644
index 000000000000..20d29a9d0573
--- /dev/null
+++ b/games-emulation/xmess/files/0.72.1-glx-fix.patch
@@ -0,0 +1,19 @@
+diff -urN xmame-0.70.1-orig/src/unix/osd_cpu.h xmame-0.70.1/src/unix/osd_cpu.h
+--- xmame-0.70.1-orig/src/unix/osd_cpu.h 2003-06-12 05:37:50.000000000 +0200
++++ xmame-0.70.1/src/unix/osd_cpu.h 2003-07-15 15:09:03.000000000 +0200
+@@ -39,11 +39,15 @@
+ #endif
+
+ /* grrr work around some stupid header conflicts */
++#ifndef xgl
+ #if !defined __XF86_DGA_C && !defined __XOPENGL_C_ && !defined LONG64
+ typedef signed char INT8;
+ typedef signed short INT16;
+ typedef signed int INT32;
+ #endif
++#else
++#include <X11/Xmd.h>
++#endif
+
+ #ifndef LONG64
+ typedef signed long long INT64;
diff --git a/games-emulation/xmess/files/digest-xmess-0.72.1 b/games-emulation/xmess/files/digest-xmess-0.72.1
new file mode 100644
index 000000000000..d0317da90c07
--- /dev/null
+++ b/games-emulation/xmess/files/digest-xmess-0.72.1
@@ -0,0 +1 @@
+MD5 0ca7ca8111c24951232c453af8db3f86 xmame-0.72.1.tar.bz2 10210781
diff --git a/games-emulation/xmess/xmess-0.72.1.ebuild b/games-emulation/xmess/xmess-0.72.1.ebuild
new file mode 100644
index 000000000000..ea39e0982491
--- /dev/null
+++ b/games-emulation/xmess/xmess-0.72.1.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmess/xmess-0.72.1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+inherit games flag-o-matic gcc eutils
+
+TARGET=${PN}
+
+DESCRIPTION="Multiple Arcade Machine Emulator for X11"
+SRC_URI="http://x.mame.net/download/xmame-${PV}.tar.bz2"
+HOMEPAGE="http://x.mame.net/"
+
+LICENSE="xmame"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc ~mips ~alpha"
+IUSE="sdl dga xv alsa esd opengl X 3dfx svga ggi arts joystick"
+
+DEPEND="sys-libs/zlib
+ sdl? ( >=media-libs/libsdl-1.2.0 )
+ alsa? ( media-libs/alsa-lib )
+ xv? ( >=x11-base/xfree-4.1.0 )
+ dga? ( >=x11-base/xfree-4.1.0 )
+ esd? ( >=media-sound/esound-0.2.29 )
+ svga? ( media-libs/svgalib )
+ ggi? ( media-libs/libggi )
+ arts? ( kde-base/arts )
+ x86? ( dev-lang/nasm )"
+
+S=${WORKDIR}/xmame-${PV}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+
+ epatch ${FILESDIR}/${PV}-glx-fix.patch
+
+ [ ${ARCH} == "x86" ] && sed -i -e '/X86_ASM_68000 =/s:#::' -e '/X86_MIPS3_DRC =/s:#::' Makefile
+ [ ${ARCH} == "ppc" ] && sed -i '/^MY_CPU/s:i386:risc:' Makefile
+ [ ${ARCH} == "sparc" ] && sed -i '/^MY_CPU/s:i386:risc:' Makefile
+ [ ${ARCH} == "alpha" ] && sed -i '/^MY_CPU/s:i386:alpha:' Makefile
+ [ ${ARCH} == "mips" ] && sed -i '/^MY_CPU/s:i386:mips:' Makefile
+
+ [ ${ARCH} == "x86" ] && [ `use joystick` ] && sed -i '/JOY_I386.*=/s:#::' Makefile
+
+ [ `use esd` ] && sed -i '/SOUND_ESOUND/s:#::' Makefile
+ [ `use alsa` ] && sed -i '/SOUND_ALSA/s:#::' Makefile
+ [ `use arts` ] && sed -i '/SOUND_ARTS/s:#::' Makefile
+ [ `use sdl` ] && sed -i '/SOUND_SDL/s:#::' Makefile
+
+ if [ `use dga` ] ; then
+ sed -i '/X11_DGA/s:#::' Makefile
+ [ `use 3dfx` ] && sed -i '/TDFX_DGA_WORKAROUND/s:#::' Makefile
+ fi
+
+ [ `use xv` ] && sed -i '/X11_XV/s:#::' Makefile
+
+ sed -i \
+ -e "/^PREFIX/s:=.*:=/usr:" \
+ -e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \
+ -e "/^XMAMEROOT/s:=.*:=${GAMES_DATADIR}/${TARGET}:" \
+ -e "/^TARGET/s:mame:${TARGET:1}:" \
+ Makefile
+
+ case ${ARCH} in
+ x86) append-flags -Wno-unused -fomit-frame-pointer -fstrict-aliasing -fstrength-reduce -ffast-math
+ [ `gcc-major-version` -eq 3 ] \
+ && append-flags -falign-functions=2 -falign-jumps=2 -falign-loops=2 \
+ || append-flags -malign-functions=2 -malign-jumps=2 -malign-loops=2
+ ;;
+ ppc) append-flags -Wno-unused -funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char
+ ;;
+ esac
+ sed -i "s:^CFLAGS =:CFLAGS=${CFLAGS}:" Makefile
+}
+
+src_compile() {
+ [ ! -z "`use X``use dga``use xv`" ] && { make DISPLAY_METHOD=x11 || die; }
+ [ `use sdl` ] && { make DISPLAY_METHOD=SDL || die; }
+ [ `use svga` ] && { make DISPLAY_METHOD=svgalib || die; }
+ [ `use ggi` ] && { make DISPLAY_METHOD=ggi || die; }
+ [ `use opengl` ] && { make DISPLAY_METHOD=xgl || die; }
+}
+
+src_install() {
+ sed -i \
+ -e "s:Xmame:${TARGET}:g" \
+ -e "s:xmame:${TARGET}:g" \
+ doc/*.6
+ sed -i \
+ -e "s:^PREFIX.*:PREFIX=${D}/usr:" \
+ -e "s:^BINDIR.*:BINDIR=${D}/${GAMES_BINDIR}:" \
+ -e "s:^XMAMEROOT.*:XMAMEROOT=${D}/${GAMES_DATADIR}/${TARGET}:" \
+ Makefile
+
+ [ ! -z "`use X``use dga``use xv`" ] && { make DISPLAY_METHOD=x11 install || die; }
+ [ `use sdl` ] && { make DISPLAY_METHOD=SDL install || die; }
+ [ `use svga` ] && { make DISPLAY_METHOD=svgalib install || die; }
+ [ `use ggi` ] && { make DISPLAY_METHOD=ggi install || die; }
+ [ `use opengl` ] && { make DISPLAY_METHOD=xgl install || die; }
+
+ dodoc doc/{changes.*,*.txt,mame/*,${TARGET}rc.dist} README todo
+ dohtml -r doc/*
+
+ if [ `use opengl` ] ; then
+ dosym ${TARGET}.xgl ${GAMES_BINDIR}/${TARGET}
+ elif [ ! -z "`use X``use dga``use xv`" ] ; then
+ dosym ${TARGET}.x11 ${GAMES_BINDIR}/${TARGET}
+ elif [ `use sdl` ] ; then
+ dosym ${TARGET}.SDL ${GAMES_BINDIR}/${TARGET}
+ elif [ `use svga` ] ; then
+ dosym ${TARGET}.svgalib ${GAMES_BINDIR}/${TARGET}
+ elif [ `use ggi` ] ; then
+ dosym ${TARGET}.ggi ${GAMES_BINDIR}/${TARGET}
+ fi
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "Your available MAME binaries are:"
+ [ ! -z "`use X``use dga``use xv`" ] && einfo " ${TARGET}.x11"
+ [ `use sdl` ] && einfo " ${TARGET}.SDL"
+ [ `use svga` ] && einfo " ${TARGET}.svgalib"
+ [ `use ggi` ] && einfo " ${TARGET}.ggi"
+ [ `use opengl` ] && einfo " ${TARGET}.xgl"
+}
diff --git a/games-emulation/zinc/ChangeLog b/games-emulation/zinc/ChangeLog
new file mode 100644
index 000000000000..d0e44df94cf6
--- /dev/null
+++ b/games-emulation/zinc/ChangeLog
@@ -0,0 +1,21 @@
+# ChangeLog for app-emulation/zinc
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/zinc/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*zinc-0.9 (9 Jul 2002)
+
+ 16 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+ removed src_unpack check for ARCH since we have KEYWORDS now
+ updated the DEPEND variable
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc -sparc -sparc64 to keywords
+
+ 9 Jul 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/zinc/Manifest b/games-emulation/zinc/Manifest
new file mode 100644
index 000000000000..108cfecaba18
--- /dev/null
+++ b/games-emulation/zinc/Manifest
@@ -0,0 +1,3 @@
+MD5 ffa69c7a11539165b0be10a4b44862c9 ChangeLog 997
+MD5 68585177e380a3da7094217cb86af790 zinc-0.9.ebuild 664
+MD5 c89cac63ef79a7d5f293b1bc9626a97c files/digest-zinc-0.9 67
diff --git a/games-emulation/zinc/files/digest-zinc-0.9 b/games-emulation/zinc/files/digest-zinc-0.9
new file mode 100644
index 000000000000..aa19b33843c9
--- /dev/null
+++ b/games-emulation/zinc/files/digest-zinc-0.9
@@ -0,0 +1 @@
+MD5 99becb4600a032559cace1fb96cd5cd1 zinc-0.9-linux.tar.bz2 242490
diff --git a/games-emulation/zinc/zinc-0.9.ebuild b/games-emulation/zinc/zinc-0.9.ebuild
new file mode 100644
index 000000000000..a3937ddca28d
--- /dev/null
+++ b/games-emulation/zinc/zinc-0.9.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/zinc/zinc-0.9.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+S="${WORKDIR}/zinc"
+DESCRIPTION="ZiNc is an x86 binary-only emulator for the Sony ZN-1, ZN-2, and Namco System 11 arcade systems."
+SRC_URI="http://www.emuhype.com/files/${P}-linux.tar.bz2"
+HOMEPAGE="http://www.emuhype.com/"
+DEPEND="virtual/glibc
+ virtual/x11
+ virtual/opengl"
+KEYWORDS="x86 -ppc -sparc "
+LICENSE="as-is"
+SLOT="0"
+
+src_install() {
+ exeinto /opt/bin
+ doexe zinc
+ dolib.so libcontrolznc.so librendererznc.so libsoundznc.so
+}
diff --git a/games-emulation/zsnes/ChangeLog b/games-emulation/zsnes/ChangeLog
new file mode 100644
index 000000000000..4b3b3d3fcd86
--- /dev/null
+++ b/games-emulation/zsnes/ChangeLog
@@ -0,0 +1,77 @@
+# ChangeLog for app-emulation/zsnes
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/ChangeLog,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+ 10 Jul 2003; Michael Sterrett <msterret@gentoo.org> zsnes-1.36.ebuild:
+ use emake; use use_with
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*zsnes-1.36 (21 Jul 2002)
+
+ 03 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Added pkg_setup fix for #9446.
+
+ 06 Aug 2002; Mark Guertin <gerk@gentoo.org> :
+ Added -ppc -sparc -sparc64 BACK to keywords, when bumping please please
+ honor these KEYWORDS if they are set and read ChangeLog entries
+ Also please make sure to enter _something_ in the cvs log when updating
+ files "*** empty log message ***" was the last cvs log entry for this
+
+ 21 Jul 2002; Dan Armak <danarmak@gentoo.org> ChangeLog :
+
+ New upstream version.
+
+ 20 Jul 2002; Phil Bordelon <sunflare@gentoo.org> zsnes-1.35.ebuild zsnes-1.35-r1.ebuild zsnes-1.337-r2.ebuild :
+
+ ZSNES relies on x86 assembly, and will not build on PPC, SPARC, or
+ SPARC64 platforms. Updated the KEYWORDS to reflect this.
+
+*zsnes-1.35-r1 (08 Jul 2002)
+
+ 11 Jul 2002; Brandon Low <lostlogic@gentoo.org> zsnes-1.35-r1.ebuild :
+
+ Just fix the ebuild to die if patching fails.
+
+ 08 Jul 2002; Phil Bordelon <sunflare@gentoo.org> zsnes-1.35-r1.ebuild zsnes-1.337-r2.ebuild :
+
+ There are a number of problems with raw ZSNES 1.35. Thomas Weidner
+ alerted us to the problem and submitted both a patch against ZSNES
+ CVS and an updated ebuild. Changed the description string, but
+ otherwise the ebuild is identical. See Bug #4704 for details.
+
+ I also updated zsnes-1.337-r2.ebuild to make repoman happy.
+
+*zsnes-1.35 (06 Jul 2002)
+
+ 06 Jul 2002; Phil Bordelon <sunflare@gentoo.org> zsnes-1.35.ebuild :
+
+ Updated to the latest version. Brought the ebuild up to current repoman
+ and lintool specs. The patch in -r2 is no longer needed. The Author in
+ the ebuild was Dan Armak.
+
+*zsnes-1.337-r2 (17 May 2002)
+
+ 17 May 2002; Dan Armak <danarmak@gentoo.org> changelog:
+
+ Fix bugs #2746, #2783 - remove a comment from init.asm which confused nasm.
+
+*zsnes-1.337-r1 (7 May 2002)
+ 7 May 2002; Spider <spider@gentoo.org> zsnes-1.337-r1.ebuild zsnes-1.337.ebuild :
+ fix sourceforge mirror stuff
+
+*zsnes-1.337-r1 (12 Apr 2002)
+
+ 12 Apr 2002; Seemant Kulleen <seemant@gentoo.org> zsnes-1.337-r1.ebuild :
+
+ Compile against newest libpng
+
+*zsnes-1.337 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/games-emulation/zsnes/Manifest b/games-emulation/zsnes/Manifest
new file mode 100644
index 000000000000..e0a246d3b642
--- /dev/null
+++ b/games-emulation/zsnes/Manifest
@@ -0,0 +1,6 @@
+MD5 52a6112e3305550e63ba3850945b774f ChangeLog 2961
+MD5 bfea58291f44d170fb7e23f265a602a8 zsnes-1.35-r1.ebuild 1010
+MD5 e4f923317c8959b0654fcd1060116cbf zsnes-1.36.ebuild 1029
+MD5 7e06a09862a6acda30bfbc3b18da0bbe files/digest-zsnes-1.35-r1 63
+MD5 b828464647d2d51e3a08b60e05795f1d files/digest-zsnes-1.36 63
+MD5 658c1c5cabe7d4bdd5ea5de5f6690cb8 files/zsnes-1.35-cvs.patch 21246
diff --git a/games-emulation/zsnes/files/digest-zsnes-1.35-r1 b/games-emulation/zsnes/files/digest-zsnes-1.35-r1
new file mode 100644
index 000000000000..9fba14488721
--- /dev/null
+++ b/games-emulation/zsnes/files/digest-zsnes-1.35-r1
@@ -0,0 +1 @@
+MD5 669ec6ad2709f2f04e0bd5003c915cb1 zsnes135src.tar.gz 876712
diff --git a/games-emulation/zsnes/files/digest-zsnes-1.36 b/games-emulation/zsnes/files/digest-zsnes-1.36
new file mode 100644
index 000000000000..95b924b5ba5a
--- /dev/null
+++ b/games-emulation/zsnes/files/digest-zsnes-1.36
@@ -0,0 +1 @@
+MD5 576f6f5cc50c7c6f7877aca220ee99b3 zsnes136src.tar.gz 901081
diff --git a/games-emulation/zsnes/files/zsnes-1.35-cvs.patch b/games-emulation/zsnes/files/zsnes-1.35-cvs.patch
new file mode 100644
index 000000000000..88e356ebe4af
--- /dev/null
+++ b/games-emulation/zsnes/files/zsnes-1.35-cvs.patch
@@ -0,0 +1,855 @@
+diff -ru zsnes-1.35/authors.txt zsnes/authors.txt
+--- zsnes-1.35/authors.txt 2002-06-24 07:34:32.000000000 +0200
++++ zsnes/authors.txt 2002-07-07 05:12:02.000000000 +0200
+@@ -1,6 +1,30 @@
+-ZSNES Open Source Authors:
+---------------------------
++--------------
++The ZSNES Team
++--------------
+
+ zsKnight <zsknight@zsnes.com>
+ _Demo_ <z_demo_z@users.sourceforge.net>
++pagefault
+
++------------------
++Additional Authors
++------------------
++
++stainless
++pharos
++teuf
++relnev
++prometheus
++theoddone33
++EvilTypeGuy
++hpsolo
++aaronl
++Diablo-D3
++
++-------------
++Miscellaneous
++-------------
++
++Wilbern Cobb - initial OpenBSD work
++Thorsten "mirabile" Glaser - more OpenBSD integration
++Mitchell "The Khan Artist" Mebane - manpage
+diff -ru zsnes-1.35/src/aclocal.m4 zsnes/src/aclocal.m4
+--- zsnes-1.35/src/aclocal.m4 2002-06-24 07:34:43.000000000 +0200
++++ zsnes/src/aclocal.m4 2002-07-08 19:13:13.000000000 +0200
+@@ -1,6 +1,6 @@
+-dnl aclocal.m4 generated automatically by aclocal 1.4
++dnl aclocal.m4 generated automatically by aclocal 1.4-p5
+
+-dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
++dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
+ dnl This file is free software; the Free Software Foundation
+ dnl gives unlimited permission to copy and/or distribute it,
+ dnl with or without modifications, as long as this notice is preserved.
+Only in zsnes-1.35/src: config.cache
+diff -ru zsnes-1.35/src/cpu/dma.asm zsnes/src/cpu/dma.asm
+--- zsnes-1.35/src/cpu/dma.asm 2002-06-24 07:34:32.000000000 +0200
++++ zsnes/src/cpu/dma.asm 2002-06-28 00:04:57.000000000 +0200
+@@ -88,7 +88,7 @@
+ and al,00000111b
+ cmp al,5
+ jne .notmode5dma
+- mov al,1
++ sub al,4
+ .notmode5dma
+ mov bl,al
+ shl bl,3
+@@ -475,6 +475,10 @@
+ xor ecx,ecx
+ mov al,[esi]
+ and al,00000111b
++ cmp al,5
++ jb .notmode567dma
++ sub al,4
++.notmode567dma
+ mov ah,[.addrnumt+eax]
+ mov [edx+16],ah
+ mov bl,al
+@@ -575,6 +579,10 @@
+ xor ecx,ecx
+ mov al,[esi]
+ and al,00000111b
++ cmp al,5
++ jb .notmode567dma
++ sub al,4
++.notmode567dma
+ mov ah,[.addrnumt+eax]
+ mov [edx+16],ah
+ mov bl,al
+@@ -677,6 +685,10 @@
+ xor ecx,ecx
+ mov al,[esi]
+ and al,00000111b
++ cmp al,5
++ jb .notmode567dma
++ sub al,4
++.notmode567dma
+ mov ah,[.addrnumt+eax]
+ mov [edx+16],ah
+ mov bl,al
+diff -ru zsnes-1.35/src/cpu/dspproc.asm zsnes/src/cpu/dspproc.asm
+--- zsnes-1.35/src/cpu/dspproc.asm 2002-06-24 07:34:32.000000000 +0200
++++ zsnes/src/cpu/dspproc.asm 2002-07-04 05:13:27.000000000 +0200
+@@ -1746,22 +1746,33 @@
+ sar eax,8
+ add edx,eax
+
++ cmp dword [filter0],488
++ jne %%notfilter2
++
++ mov eax,[prev0]
++ movsx eax,ax
++ mov [prev1],eax
++ mov eax,edx
++ and eax,0fffffffch
++ mov [prev0],eax
++
++ jmp %%skipclamp
++%%notfilter2
+ mov eax,[prev0]
+ mov [prev1],eax
+ cmp edx,-32768
+ jnl %%notless
+- mov dx,0
+-; mov edx,-32768
++ mov edx,-32768
+ mov byte[filteron],1
+ %%notless
+ cmp edx,32767
+ jng %%notgreater
+- mov dx,0
+-; mov edx,32767
++ mov edx,32767
+ mov byte[filteron],1
+ %%notgreater
+ movsx edx,dx
+ mov [prev0],edx
++%%skipclamp
+ %endmacro
+
+ %macro ProcessDynamicLowPass 0
+diff -ru zsnes-1.35/src/cpu/regs.inc zsnes/src/cpu/regs.inc
+--- zsnes-1.35/src/cpu/regs.inc 2002-06-24 07:34:33.000000000 +0200
++++ zsnes/src/cpu/regs.inc 2002-06-29 18:01:27.000000000 +0200
+@@ -64,7 +64,7 @@
+ setreg 2141h*4,reg2141r
+ setreg 2142h*4,reg2142r
+ setreg 2143h*4,reg2143r
+- setreg 2144h*4,reg2144r
++ setreg 2144h*4,reg2140r
+ setreg 2180h*4,reg2180r
+
+ setreg 2A00h*4,reg2Axxr
+@@ -948,6 +948,8 @@
+
+ ; V counter data by external or software latch
+ reg213Dr:
++ cmp byte[latchyr],2 ; hack for games that don't read 213F
++ je .noreset
+ cmp byte[latchyr],1
+ je .highv
+ mov al,byte[latchy]
+@@ -959,7 +961,11 @@
+ or al,byte[latchy+1]
+ mov byte[latchyr],0
+ ret
+-
++.noreset
++ mov al,byte[latchy]
++ and al,0FEh
++ or al,byte[latchy+1]
++ ret
+ ; PPU Status Flag & Version number (OBJ over flags)
+ reg213Er:
+ mov al,01h
+@@ -1426,7 +1432,7 @@
+ ret
+
+ regINVALID: ; Invalid Register
+- cmp cx,2050h
++ cmp cx,2100h
+ jb .cleared
+ mov al,ch
+ cmp byte[SPC7110Enable],0
+diff -ru zsnes-1.35/src/cpu/regsw.inc zsnes/src/cpu/regsw.inc
+--- zsnes-1.35/src/cpu/regsw.inc 2002-06-24 07:34:33.000000000 +0200
++++ zsnes/src/cpu/regsw.inc 2002-06-27 20:13:35.000000000 +0200
+@@ -109,6 +109,7 @@
+ setregw 2141h*4,reg2141w
+ setregw 2142h*4,reg2142w
+ setregw 2143h*4,reg2143w
++ setregw 2144h*4,reg2140w
+ setregw 2180h*4,reg2180w
+ setregw 2181h*4,reg2181w
+ setregw 2182h*4,reg2182w
+diff -ru zsnes-1.35/src/gui/gui.asm zsnes/src/gui/gui.asm
+--- zsnes-1.35/src/gui/gui.asm 2002-06-24 07:34:33.000000000 +0200
++++ zsnes/src/gui/gui.asm 2002-06-29 02:54:35.000000000 +0200
+@@ -606,6 +606,9 @@
+ NEWSYM CombinDataGlob, times 3300 db 0 ; 20-name, 42-combo, 2-key#, 1-P#, 1-ff
+ NEWSYM CombinDataLocl, times 3300 db 0
+
++NEWSYM CmdLineNetPlay, db 0
++NEWSYM CmdLineTCPIPAddress, times 29 db 0
++
+ GUIwinorder times 18 db 0
+ GUIwinpos times 18 db 0
+ GUIwinactiv times 18 db 0
+@@ -892,9 +895,6 @@
+ or bl,80h
+ ret
+
+-NEWSYM CmdLineNetPlay, db 0
+-NEWSYM CmdLineTCPIPAddress, db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
+-
+ NEWSYM GUIRestoreVars
+ mov edx,GUIFName
+ call Open_File
+diff -ru zsnes-1.35/src/init.asm zsnes/src/init.asm
+--- zsnes-1.35/src/init.asm 2002-06-24 07:34:32.000000000 +0200
++++ zsnes/src/init.asm 2002-07-04 19:13:59.000000000 +0200
+@@ -1451,6 +1451,7 @@
+ .mmx2head db 50,58,56,62,50,62,49,95,39,77,95,95,95,95,95,95,95,95,95,95
+
+ EXTSYM ewj2hack
++EXTSYM latchyr
+
+ NEWSYM headerhack
+ mov byte[disablehdma],0
+@@ -1465,6 +1466,103 @@
+ mov byte[MMXSRAMFix],0
+
+ mov esi,[romdata]
++ add esi,0FFC0h
++ cmp dword[esi],'SAMU'
++ jne .notsamuraishodown
++ cmp dword[esi+4],'RAI '
++ jne .notsamuraishodown
++ cmp dword[esi+8],'SHOD'
++ jne .notsamuraishodown
++ cmp dword[esi+12],'OWN '
++ jne .notsamuraishodown
++ mov word [IRQHack],1
++.notsamuraishodown
++
++ mov esi,[romdata]
++ add esi,07FC0h
++ cmp dword[esi],0DFCAB0BDh
++ jne .notfamista1
++ cmp dword[esi+4],0D0A7CCB0h
++ jne .notfamista1
++ cmp dword[esi+8],02020C0BDh
++ jne .notfamista1
++ cmp dword[esi+12],20202020h
++ jne .notfamista1
++ mov esi,[romdata]
++ add esi,2762Fh
++ mov word [esi],0EAEAh ; Skip a check for value FF at 2140 when spc not
++ ; initialized yet?!?
++.notfamista1
++
++ mov esi,[romdata]
++ add esi,07FC0h
++ cmp dword[esi],0DFCAB0BDh
++ jne .notfamista2
++ cmp dword[esi+4],0D0A7CCB0h
++ jne .notfamista2
++ cmp dword[esi+8],03220C0BDh
++ jne .notfamista2
++ cmp dword[esi+12],20202020h
++ jne .notfamista2
++ mov esi,[romdata]
++ add esi,6CEDh
++ mov word [esi],0EAEAh ; Skip a check for value FF at 2140 when spc not
++ ; initialized yet?!?
++ mov esi,[romdata]
++ add esi,6CF9h
++ mov word [esi],0EAEAh ; Skip a check for value FF at 2140 when spc not
++ ; initialized yet?!?
++.notfamista2
++
++ mov esi,[romdata]
++ add esi,07FC0h
++ cmp dword[esi],20434653h
++ jne .notkamenrider
++ cmp dword[esi+4],0D7DDD2B6h
++ jne .notkamenrider
++ cmp dword[esi+8],0B0DEC0B2h
++ jne .notkamenrider
++ cmp dword[esi+12],20202020h
++ jne .notkamenrider
++ mov byte[latchyr],2
++.notkamenrider
++
++ mov esi,[romdata]
++ add esi,07FC0h
++ cmp dword[esi],'EURO'
++ jne .noteuropeanprimegoal
++ cmp dword[esi+4],'PEAN'
++ jne .noteuropeanprimegoal
++ cmp dword[esi+8],' PRI'
++ jne .noteuropeanprimegoal
++ cmp dword[esi+12],'ME G'
++ jne .noteuropeanprimegoal
++ mov al,0h
++ mov edi,spcRam
++ mov ecx,65472
++ rep stosb
++ ret
++.noteuropeanprimegoal
++
++ mov esi,[romdata]
++ add esi,07FC0h
++ cmp dword[esi],'CYBE'
++ jne .notcyberknight2
++ cmp dword[esi+4],'R KN'
++ jne .notcyberknight2
++ cmp dword[esi+8],'IGHT'
++ jne .notcyberknight2
++ cmp dword[esi+12],' 2 '
++ jne .notcyberknight2
++ mov byte[cycpb268],75
++ mov byte[cycpb358],77
++ mov byte[cycpbl2],75
++ mov byte[cycpblt2],75
++ mov byte[cycpbl],75
++ mov byte[cycpblt],75
++.notcyberknight2
++
++ mov esi,[romdata]
+ add esi,07FC0h
+ cmp dword[esi],0B4B1DEC3h
+ jne .notdeasomething
+@@ -6047,6 +6145,8 @@
+ and al,0F0h
+ cmp al,10h
+ je .yessfx
++ cmp al,20h
++ je .yesobc
+ cmp al,30h
+ je near .yessa1
+ cmp al,40h
+@@ -6071,6 +6171,7 @@
+ add esi,32704
+ cmp dword[esi],'META'
+ jne .notsfx
++.yesobc
+ mov byte[OBCEnable],1
+ jmp .nosfx
+ .notsfx
+diff -ru zsnes-1.35/src/linux/copyvwin.asm zsnes/src/linux/copyvwin.asm
+--- zsnes-1.35/src/linux/copyvwin.asm 2002-06-24 07:34:33.000000000 +0200
++++ zsnes/src/linux/copyvwin.asm 2002-06-28 08:50:20.000000000 +0200
+@@ -38,12 +38,11 @@
+ SECTION .text
+
+ NEWSYM copy640x480x16bwin
+- pushad
+ cmp byte[curblank],40h
+ jne .startcopy
+- popad
+ ret
+ .startcopy
++ pushad
+ mov esi,[vidbuffer]
+ mov edi,[WinVidMemStart]
+ add esi,16*2+256*2+32*2
+@@ -120,14 +119,13 @@
+ inc ebx
+ dec dl
+ jnz near .loopa
++ popad
+ xor byte[res512switch],1
+ cmp byte[MMXSupport],1
+ je .mmx2
+- popad
+ ret
+ .mmx2
+ emms
+- popad
+ ret
+ .yeshires
+ mov byte[ebx],0
+@@ -231,7 +229,7 @@
+ .loopab
+ mov ecx,256
+ cmp byte[ebx],1
+- je .yeshiresb
++ je near .yeshiresb
+ cmp byte[ebx],1
+ jbe .ignorehrb
+ call HighResProc
+@@ -261,10 +259,10 @@
+ inc ebx
+ dec dl
+ jnz .loopab
++ popad
+ xor byte[res512switch],1
+ cmp byte[MMXSupport],1
+ je near .mmx2
+- popad
+ ret
+ .yeshiresb
+ mov byte[ebx],0
+@@ -348,9 +346,9 @@
+ inc ebx
+ dec dl
+ jnz near .loopabh
++ popad
+ cmp byte[MMXSupport],1
+ je near .mmx2
+- popad
+ ret
+ .mmxslh
+ mov eax,[spritetablea]
+@@ -448,9 +446,9 @@
+ inc ebx
+ dec byte[lineleft]
+ jnz near .loopabh2
++ popad
+ cmp byte[MMXSupport],1
+ je near .mmx2
+- popad
+ ret
+ .mmxslh2
+ mov eax,[spritetablea]
+@@ -529,7 +527,6 @@
+ jnz .nofielde
+ add edi,[NumBytesPerLine]
+ .nofielde
+- popad
+ ret
+ .hiresmode7
+ cmp byte[MMXSupport],1
+@@ -557,7 +554,6 @@
+ dec ecx
+ jnz .a2b
+ sub esi,75036*4
+- popad
+ ret
+ .yeshiresngmmxmode7
+ mov ecx,64
+@@ -590,7 +586,6 @@
+ dec ecx
+ jnz .mmxrb
+ sub esi,75036*4
+- popad
+ ret
+ .hires
+ cmp byte[MMXSupport],1
+@@ -611,7 +606,6 @@
+ jnz .lowerfield
+ add edi,[NumBytesPerLine]
+ .lowerfield
+- popad
+ ret
+ .nofieldb
+ cmp byte[scanlines],1
+@@ -631,10 +625,8 @@
+ add edi,4
+ dec ecx
+ jnz .bngb
+- popad
+ ret
+ .scanlines
+- popad
+ ret
+ .yeshiresngmmx
+ mov eax,[spritetablea]
+@@ -663,7 +655,6 @@
+ jnz .lowerfieldb
+ add edi,[NumBytesPerLine]
+ .lowerfieldb
+- popad
+ ret
+ .nofieldc
+ cmp byte[scanlines],1
+@@ -696,7 +687,6 @@
+ add edi,32
+ dec ecx
+ jnz .mmxr2
+- popad
+ ret
+ .antialias
+ add edi,[AddEndBytes]
+@@ -730,7 +720,6 @@
+ add esi,8
+ dec ecx
+ jnz .mmxr2aa
+- popad
+ ret
+ .halfscanlines
+ add edi,[AddEndBytes]
+@@ -747,7 +736,6 @@
+ add edi,4
+ dec ecx
+ jnz .abhs
+- popad
+ ret
+ .quartscanlines
+ add edi,[AddEndBytes]
+@@ -767,7 +755,6 @@
+ add edi,4
+ dec ecx
+ jnz .abhs2
+- popad
+ ret
+ .halfscanlinesmmx
+ mov eax,[spritetablea]
+@@ -796,7 +783,6 @@
+ add edi,32
+ dec ecx
+ jnz .mmxr2h
+- popad
+ ret
+ .quartscanlinesmmx
+ mov eax,[spritetablea]
+@@ -1383,7 +1369,7 @@
+ jmp .returninterps
+ .ignorehrs
+ cmp byte[ebx],1
+- je .yeshiresb
++ je near .yeshiresb
+ .ignorehrb
+ push ebx
+ .ab
+diff -ru zsnes-1.35/src/linux/sdlintrf.asm zsnes/src/linux/sdlintrf.asm
+--- zsnes-1.35/src/linux/sdlintrf.asm 2002-06-24 07:34:33.000000000 +0200
++++ zsnes/src/linux/sdlintrf.asm 2002-06-29 01:46:14.000000000 +0200
+@@ -170,6 +170,10 @@
+ mov byte[esi+11+256],'t'
+ mov byte[esi+12+256],0
+
++ mov byte[spcon],1
++ mov byte[soundon],1
++ mov byte[cfgsoundon],1
++
+ ; Get and set the initial directory
+ %ifdef __LINUX__
+ call obtaindir
+diff -ru zsnes-1.35/src/linux/sdllink.c zsnes/src/linux/sdllink.c
+--- zsnes-1.35/src/linux/sdllink.c 2002-06-24 07:34:33.000000000 +0200
++++ zsnes/src/linux/sdllink.c 2002-07-07 05:45:40.000000000 +0200
+@@ -580,6 +580,22 @@
+ return TRUE;
+ }
+
++int saybitdepth()
++{
++ int MyBitsPerPixel;
++ const SDL_VideoInfo *info;
++ SDL_Init(SDL_INIT_VIDEO);
++ info = SDL_GetVideoInfo();
++ MyBitsPerPixel = info->vfmt->BitsPerPixel;
++ switch (MyBitsPerPixel)
++ {
++ case 0: printf("Cannot detect bitdepth. On fbcon and svgalib this is normal.\nTrying to force 16 bpp.\n\n"); break;
++ case 16: break;
++ default: printf("You are running in %d bpp, but ZSNES is forcing 16 bpp.\nYou may experience poor performance and/or crashing.\n\n", MyBitsPerPixel); break;
++ }
++ return 0;
++}
++
+ int startgame(void)
+ {
+ int status;
+@@ -598,7 +614,7 @@
+ if (sdl_state == vid_soft) sw_end();
+ #ifdef __OPENGL__
+ else if (sdl_state == vid_gl) gl_end();
+-
++ saybitdepth();
+ if (UseOpenGL)
+ {
+ status = gl_start(WindowWidth, WindowHeight, BitDepth, FullScreen);
+diff -ru zsnes-1.35/src/linux/sw_draw.c zsnes/src/linux/sw_draw.c
+--- zsnes-1.35/src/linux/sw_draw.c 2002-06-24 07:34:33.000000000 +0200
++++ zsnes/src/linux/sw_draw.c 2002-07-07 04:51:19.000000000 +0200
+@@ -41,9 +41,7 @@
+ {
+ unsigned int color32, p;
+ int i;
+- Uint32 flags = SDL_DOUBLEBUF | SDL_HWSURFACE | SDL_HWPALETTE | SDL_ANYFORMAT
+-
+-;
++ Uint32 flags = SDL_DOUBLEBUF | SDL_HWSURFACE | SDL_HWPALETTE;
+ DWORD GBitMask;
+
+ p = BitConv32Ptr;
+diff -ru zsnes-1.35/src/ui.asm zsnes/src/ui.asm
+--- zsnes-1.35/src/ui.asm 2002-06-24 07:34:32.000000000 +0200
++++ zsnes/src/ui.asm 2002-07-07 05:12:02.000000000 +0200
+@@ -21,7 +21,7 @@
+ EXTSYM ConvertJoyMap,ConvertJoyMap1,ConvertJoyMap2,printhex,InitSPC
+ EXTSYM StartUp,PrintStr,WaitForKey,PrintChar,ZFileSystemInit
+ EXTSYM SPCDisable,SystemInit,allocmem
+-EXTSYM FPSOn,FPSAtStart,cfgsoundon,FirstTimeData
++EXTSYM FPSOn,FPSAtStart,cfgsoundon
+ EXTSYM xa
+ EXTSYM SBPort,SBInt,SBIrq,SBDMA,SBDMAPage,SBHDMAPage,getenv,vibracard
+ EXTSYM ram7fa,wramdataa
+@@ -69,14 +69,6 @@
+
+ cld ;clear direction flag
+
+-%ifndef __MSDOS__
+- cmp byte[FirstTimeData],1
+- je .nofirsttime
+- mov byte[soundon],1
+- mov byte[cfgsoundon],1
+-.nofirsttime
+-%endif
+-
+ call setnoise
+ call InitSPC
+ call allocmem ;allocate memory
+@@ -151,8 +143,7 @@
+ db 'ZSNES v',ZVERSION,' (c) 1997-2002, ZSNES Team (zsKnight & _Demo_)',13,10,13,10
+ db 'Be sure to check http://www.zsnes.com/ for the latest version.',13,10
+ db 'Please report crashes to zsnes-devel@lists.sourceforge.net.',13,10,13,10
+- db ' Main Coders : zsKnight, _Demo_, and pagefault',13,10
+- db ' Assistant Coders : Pharos, teuf, theoddone33, and stainless',13,10,13,10
++ db 'ZSNES is written by the ZSNES Team (See AUTHORS.TXT)',13,10
+ db 'ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software,',10,13
+ db 'and you are welcome to redistribute it under certain conditions;',10,13
+ %ifdef __LINUX__
+diff -ru zsnes-1.35/src/video/newgfx16.mac zsnes/src/video/newgfx16.mac
+--- zsnes-1.35/src/video/newgfx16.mac 2002-06-24 07:34:34.000000000 +0200
++++ zsnes/src/video/newgfx16.mac 2002-06-29 20:07:04.000000000 +0200
+@@ -2832,12 +2832,15 @@
+ je near .offsetm
+ cmp byte[t16x161+ebx+%1*256],1
+ je near .tiles16x16
+- cmp byte[BGMA+ebx],4
+- je near .offsetm
+ .nooffsetm
+ mov eax,[BGPT1+ebx*2+%1*512]
+ test ecx,100h
+ jz .noyinc
++ cmp byte[osm2dis],1
++ je .nooffsetm4
++ cmp byte[BGMA+ebx],4
++ je near .offsetm
++.nooffsetm4
+ add eax,[BGPT1Y+ebx*2+%1*512]
+ .noyinc
+ lea ecx,[ecx*8]
+@@ -3131,10 +3134,7 @@
+ shl edx,6
+ xor eax,eax
+ mov ax,[BGPT3+ebx*2]
+- cmp dx,0
+- jl .isneg1
+ add ax,dx
+-.isneg1
+ xor edx,edx
+ mov dx,[BG3SXl+ebx*2]
+ and dx,0F8h
+@@ -3303,10 +3303,7 @@
+ shl edx,6
+ xor eax,eax
+ mov ax,[BGPT3+ebx*2]
+- cmp dx,0
+- jl .isneg2
+ add ax,dx
+-.isneg2
+ xor edx,edx
+ mov dx,[BG3SXl+ebx*2]
+ and dx,0F8h
+@@ -3709,10 +3706,7 @@
+ shl edx,6
+ xor eax,eax
+ mov ax,[BGPT3+ebx*2]
+- cmp dx,0
+- jl .isneg3
+ add ax,dx
+-.isneg3
+ xor edx,edx
+ mov dx,[BG3SXl+ebx*2]
+ and dx,0F8h
+diff -ru zsnes-1.35/src/video/newgfx.mac zsnes/src/video/newgfx.mac
+--- zsnes-1.35/src/video/newgfx.mac 2002-06-24 07:34:34.000000000 +0200
++++ zsnes/src/video/newgfx.mac 2002-06-29 20:25:36.000000000 +0200
+@@ -2611,20 +2611,24 @@
+ add ecx,ebx
+ jmp %%yesmosaic
+ %%nomosaic
+-
+ cmp byte[BGMA+ebx],5
+ jae near .tiles16x8
+ %%yesmosaic
+-
+ cmp byte[t16x161+ebx+%1*256],1
+ je near .tiles16x16
++ cmp byte[osm2dis],1
++ je .nooffsetm
+ cmp byte[BGMA+ebx],2
+ je near .offsetm
+- cmp byte[BGMA+ebx],4
+- je near .offsetm
++.nooffsetm
+ mov eax,[BGPT1+ebx*2+%1*512]
+ test ecx,100h
+ jz .noyinc
++ cmp byte[osm2dis],1
++ je .nooffsetm4
++ cmp byte[BGMA+ebx],4
++ je near .offsetm
++.nooffsetm4
+ add eax,[BGPT1Y+ebx*2+%1*512]
+ .noyinc
+ lea ecx,[ecx*8]
+@@ -2888,10 +2892,7 @@
+ shl edx,6
+ xor eax,eax
+ mov ax,[BGPT3+ebx*2]
+- cmp dx,0
+- jl .isneg
+ add ax,dx
+-.isneg
+ xor edx,edx
+ mov dx,[BG3SXl+ebx*2]
+ and dx,0F8h
+@@ -2955,6 +2956,21 @@
+ add eax,ecx
+ add [ofsmtptr],ecx
+ mov [ofsmmptr],eax
++
++ mov word[bgtxadd2],0
++ cmp word[BGPT3X+ebx*2],0
++ je .yesoverfl
++ mov cx,word[BG3SXl+ebx*2]
++ add cx,16
++ test cx,100h
++ jz .notoverfl
++ add dword[ofsmcptr],800h
++ sub word[bgtxadd2],800h
++ jmp .yesoverfl
++.notoverfl
++ add word[bgtxadd2],800h
++.yesoverfl
++
+ mov dword[ofshvaladd],0
+ mov ecx,[BGOPT1+ebx*2+%1*512]
+ mov edx,[BGMA+ebx]
+@@ -3066,10 +3082,13 @@
+ %%yesmosaic
+ cmp byte[t16x161+ebx+%1*256],1
+ je near .tiles16x16
++ cmp byte[osm2dis],1
++ je .nooffsetm
+ cmp byte[BGMA+ebx],2
+ je near .offsetm
+- cmp byte[BGMA+ebx],4
+- je near .offsetm
++; cmp byte[BGMA+ebx],4
++; je near .offsetm
++.nooffsetm
+ mov eax,[BG1SYl+ebx*2+%1*512]
+ and eax,0FFFFh
+ add eax,ebx
+@@ -3240,10 +3259,7 @@
+ shl edx,6
+ xor eax,eax
+ mov ax,[BGPT3+ebx*2]
+- cmp dx,0
+- jl .isneg
+ add ax,dx
+-.isneg
+ xor edx,edx
+ mov dx,[BG3SXl+ebx*2]
+ and dx,0F8h
+@@ -3275,6 +3291,21 @@
+ mov eax,[BGPT1+ebx*2+%1*512]
+ mov [ofsmtptr],eax
+ mov [ofsmtptrs],eax
++
++ mov word[bgtxadd2],0
++ cmp word[BGPT3X+ebx*2],0
++ je .yesoverfl
++ mov cx,word[BG3SXl+ebx*2]
++ add cx,16
++ test cx,100h
++ jz .notoverfl
++ add dword[ofsmcptr],800h
++ sub word[bgtxadd2],800h
++ jmp .yesoverfl
++.notoverfl
++ add word[bgtxadd2],800h
++.yesoverfl
++
+ mov ecx,[BG1SXl+ebx*2+%1*512]
+ mov edx,[BGPT1X+ebx*2+%1*512]
+ test ecx,100h
+diff -ru zsnes-1.35/src/win/winintrf.asm zsnes/src/win/winintrf.asm
+--- zsnes-1.35/src/win/winintrf.asm 2002-06-24 07:34:34.000000000 +0200
++++ zsnes/src/win/winintrf.asm 2002-06-29 01:46:14.000000000 +0200
+@@ -189,6 +189,10 @@
+ mov byte[esi+11+256],'t'
+ mov byte[esi+12+256],0
+
++ mov byte[spcon],1
++ mov byte[soundon],1
++ mov byte[cfgsoundon],1
++
+ ; Get and set the initial directory
+ mov ebx,InitDir
+ mov edx,InitDrive
+diff -ru zsnes-1.35/src/win/zloaderw.c zsnes/src/win/zloaderw.c
+--- zsnes-1.35/src/win/zloaderw.c 2002-06-24 07:34:34.000000000 +0200
++++ zsnes/src/win/zloaderw.c 2002-06-29 01:39:53.000000000 +0200
+@@ -40,7 +40,8 @@
+ romtype, scanlines, showallext, smallscreenon, soundon,
+ spcon, vsyncon, DisplayS, fname, filefound, SnowOn,
+ NetChatFirst,NetServer,NetNewNick,
+- NetFilename,TCPIPAddress,NetQuitAfter,UDPConfig;
++ NetFilename,CmdLineTCPIPAddress,NetQuitAfter,UDPConfig,
++ CmdLineNetPlay;
+
+ void ccmdline(void);
+
+@@ -178,7 +179,8 @@
+ if (strptr<4) {
+ NetServer=0;
+ } else {
+- strp=&TCPIPAddress;
++ CmdLineNetPlay = 1;
++ strp=&CmdLineTCPIPAddress;
+ strncpy(strp,ExtA[3],28);
+ }
+ }
+@@ -670,10 +672,17 @@
+ }
+ else
+ {
+- if(gfnm > 0)
++ if(gfnm > 0) // Quick fix to allow spaces, might produce strange names
++ // if there are unrecognized options
+ {
+- printf("Limit yourself to one filename\n");
+- return 2;
++ char *fvar, *fvar2;
++ fvar=&fname;
++ fvar2=&fname+fvar[0]+1;
++ if(fvar[0]+3>127) return(2);
++ fvar2[0]=' ';
++ strncpy(&fvar2[1],argv[p],127-fvar[0]-1);
++ fvar[0] += strlen(argv[p])+1;
++ gfnm++;
+ }
+ else
+ {
+@@ -685,7 +694,7 @@
+ }
+ }
+ }
+- if(gfnm == 1)
++ if(gfnm > 0)
+ {
+ filefound=0;
+ makeextension();
diff --git a/games-emulation/zsnes/zsnes-1.35-r1.ebuild b/games-emulation/zsnes/zsnes-1.35-r1.ebuild
new file mode 100644
index 000000000000..141e63c3b777
--- /dev/null
+++ b/games-emulation/zsnes/zsnes-1.35-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/zsnes-1.35-r1.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="SNES (Super Nintendo) emulator that uses x86 assembly"
+SRC_URI="mirror://sourceforge/zsnes/zsnes${PV//./}src.tar.gz"
+HOMEPAGE="http://www.zsnes.com/"
+
+LICENSE="GPL-2"
+KEYWORDS="x86 -sparc -ppc"
+SLOT="0"
+IUSE="opengl"
+
+RDEPEND="opengl? ( virtual/opengl )
+ virtual/x11
+ >=media-libs/libsdl-1.2.0
+ sys-libs/zlib
+ media-libs/libpng"
+DEPEND="${RDEPEND}
+ >=dev-lang/nasm-0.98"
+
+src_compile() {
+ # Don't attempt to introduce $CFLAGS usage, docs say result will be slower.
+ patch -p1 < ${FILESDIR}/${P}-cvs.patch || die "CVS patch failed"
+ cd ${S}/src
+ use opengl || myconf="--without-opengl"
+ ./configure --prefix=/usr --host=${CHOST} $myconf || die
+ make || die
+}
+src_install() {
+ cd ${S}/src
+ into /usr
+ dobin zsnes
+ doman linux/zsnes.1
+ cd ${S}
+ dodoc *.txt linux/*
+}
diff --git a/games-emulation/zsnes/zsnes-1.36.ebuild b/games-emulation/zsnes/zsnes-1.36.ebuild
new file mode 100644
index 000000000000..74817af92072
--- /dev/null
+++ b/games-emulation/zsnes/zsnes-1.36.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/zsnes/zsnes-1.36.ebuild,v 1.1 2003/09/09 16:26:50 vapier Exp $
+
+DESCRIPTION="SNES (Super Nintendo) emulator that uses x86 assembly"
+SRC_URI="mirror://sourceforge/zsnes/zsnes${PV//./}src.tar.gz"
+HOMEPAGE="http://www.zsnes.com/"
+
+LICENSE="GPL-2"
+KEYWORDS="x86 -ppc -sparc"
+IUSE="opengl"
+SLOT="0"
+
+RDEPEND="opengl? ( virtual/opengl )
+ virtual/x11
+ >=media-libs/libsdl-1.2.0
+ sys-libs/zlib
+ media-libs/libpng"
+DEPEND="${RDEPEND}
+ >=dev-lang/nasm-0.98"
+
+pkg_setup() {
+ # xfree should not install these, remove until the fixed
+ # xfree is in main use.
+ rm -f /usr/X11R6/include/{zconf.h,zlib.h}
+}
+
+src_compile() {
+ # Don't attempt to introduce $CFLAGS usage, docs say result will be slower.
+ cd ${S}/src
+ econf `use_with opengl`
+ emake || die "emake failed"
+}
+
+src_install() {
+ cd ${S}/src
+ into /usr
+ dobin zsnes
+ doman linux/zsnes.1
+ cd ${S}
+ dodoc *.txt linux/*
+}