xmame-0.76.1 needs ~amd64 with a small change to the ebuild. in the section
near the top of the ebuild that sets CPU a stanza needs to be added that is
identical to all the others but sets CPU=amd64.
As the person who wrote the patch for xmame to support amd64, I can assure you
this works :)
PS: As a side note, the same thing can be done for ia64, though I don't have an
ia64 machine to test this on.
PPS: we may want to consider adding support for the new LOW_MEM option in the
makefile for people with less than 256MB RAM, since xmame takes a TON of memory
to compile without it, but it does make the compile take longer with it, so
maybe via a local USE flag? I recommend "lowspec". I would be surprised if
there weren't other ebuilds that would benefit from this flag since I know of
at least one other program that has options for building with limited resources
(gcc - though in this case it's for building with limited disk space, not RAM,
which is why I recommend lowspec and not lowmem).
Created an attachment (id=23698) [details]
ebuild diff for amd64
xmame-0.77.1.ebuild currently configures amd64 to use nasm and therefore fails
to compile. i suppose the reporter requested adding a cpu section similar to
the other architectures setting MY_CPU=amd64 instead of the current
configuration which assumes amd64=i386=ia64.
i'll attach a diff to fix the amd64 problem.
it's possible that ia64 requires a similar fix since the makefile also contains
# MY_CPU=ia64, but i don't have access to an ia64 machine to verify this.
by the way, the makefile contains the following statement about joysticks:
# If supported, you can use the standard joystick driver. Note that this
# can work on non-x86 platforms. I just haven't come up with a good
# replacement name for it.
have not been able to test that, i don't have a joystick.