games-strategy/heroes3-demo-1.3.1a-r2 has a keyword "~amd64" in addition to "x86" games-strategy/heroes3-1.3.1a-r2 is for "x86" but there is no keyword for "amd64" architecture I don't think that the system requirements differ. Maybe it's overlooked? Reproducible: Always
it requires a cdrom, I can't test it.
Marek, does it work for you on an amd64 system?
Created attachment 280413 [details] build.log Emerge fails with this error:
Emerge fails (same error for any combination of useflags). When I do manually run official script installer and use simple uname hack for amd64 (script will die unless uname returns "x86") game runs (though without sound).
It dies because ebuild doesn't copy a downloaded patch to a place where unpacker eclass would search for it. I've added the following to ebuild to be able to build the package: src_unpack() { cdrom_get_cds hiscore.tar.gz + cp /usr/portage/distfiles/${P}-cdrom-x86.run ${DISTDIR} || die - use x86 && unpack_makeself ${P}-cdrom-x86.run + unpack_makeself ${P}-cdrom-x86.run use ppc && unpack_makeself ${P}-ppc.run } copy is needed on all platforms + on amd64 I needed to remove 'use x86' conditional so that the patch is really unpacked on my platform. With these changes applied, I've successfully installed and run the game.
Actually, the installation is fixed just by adding the patch file to SRC_URI for amd64 (then it's automatically copied to DISTDIR on unpack/prepare).
Created attachment 314283 [details] heroes3 ebuild with support for amd64 platform