I worked out an ebuild for the 1.3a version of lightyears. It looks like the author has had source available for 1.3a released for a while. In any event, the sounds in 1.3a are much much nicer to than the previous ones.
Created attachment 161429 [details] The ebuild.
Created attachment 161430 [details, diff] Associated file path patch needed to install in gentoo locations
Thanks for the ebuild
The -1.3a {ebuild,patch} set works to install a good lightyears game on amd64 and on sparc. -1.3a has the added advantage that it uses /usr/bin/python to run it instead of /usr/bin/python2.4, so it works "out of the box" with current stable python. I'm adding myself to the CC because once this gets added to the tree, it can have a ~sparc keyword, no need for a spearate bug to request it. HOWEVER, -1.3a does not install the manual because the manual .html files are now in a separate directory parallel to their image directory. The following change to the -1.3a.ebuild file installs the complete manual in a way that you can read it while you play (verified with dillo). ============================================================= --- lightyears-1.3a.ebuild- 2008-08-13 13:54:14.000000000 +0000 +++ lightyears-1.3a.ebuild 2008-08-13 14:00:27.000000000 +0000 @@ -38,6 +38,9 @@ || die "Failed moving html data" mv data/html*.jpg html/data \ || die "Failed moving html data" + mkdir -p html/manual + mv manual/*.html html/manual \ + || die "Failed moving LightYears manual." } src_install() { @@ -47,7 +50,7 @@ doins code/*.py || die "doins code failed" dodoc README.txt - dohtml -r *.html html/data + dohtml -r html/data html/manual insinto "${GAMES_DATADIR}/${PN}/data" doins -r data/* || die "doins data failed" ===================================================== Good game with some interesting twists.
Created attachment 162822 [details] lightyears-1.3a ebuild which installs the manual and which adds ~sparc keyword. Attached new lightyears-1.3a.ebuild adds the ~sparc keyword (because it works just fine on sparc) and installs the complete manual, thus: /usr/share/doc/lightyears-1.3a/html/data <<- manual data (.png) files; /usr/share/doc/lightyears-1.3a/html/manual << actual manual (.html) files The manual's *.html files expect to read images from ../data/*.png files
Version bumped. Thanks