Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 436272

Summary: games-arcade/bittrip-runner - new ebuild
Product: Gentoo Linux Reporter: Jared B. <nitro>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: enhancement Keywords: EBUILD
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.bittripgame.com/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: games-arcade/bittrip-runner-1.0.ebuild
games-arcade/bittrip-runner-1.0.ebuild

Description Jared B. 2012-09-26 04:16:14 UTC
Created attachment 325012 [details]
games-arcade/bittrip-runner-1.0.ebuild

Attached is a new ebuild for Bit.Trip Runner, "an arcade-style rhythm game developed by Gaijin Games".  Ebuild is pretty standard fare for a Humble Indie Bundle release, with one rather notable exception: it's linked against a version GLIBC only provided with >=GCC 4.6.  Since that's still 'unstable' in Gentoo, I found a workaround.

Jamestown, also included in the same bundle, also requires this version of GLIBC, but unlike Bit.Trip Runner it actually bundles it with the game.  So, I give you today's Terrible/ugly/dirty/stupid/don't-try-this-at-home hack to work-around need for GCC 4.6:
if use jamestown; then
	LIBDIR=${GAMES_PREFIX_OPT}/jamestown/${MY_ARCH}
else
	LIBDIR="${GAMEDIR}"
fi

Obviously this is not even remotely a preferred solution, but the last time I unmasked GCC 4.6 on my system it brought KDE to it's knees (seems to have some bad interaction with nepomuk), so I'd prefer to hold off for now.  If it's included in portage, the whole Jamestown workaround should be dropped, but I'm leaving it included here just for reference for anyone else that may find themselves in a similar situation.
Comment 1 Jared B. 2012-09-29 19:50:54 UTC
Created attachment 325346 [details]
games-arcade/bittrip-runner-1.0.ebuild

rev bump.  New revision no longer requires GCC 4.6 (yay!), so I removed all of the jamestown library hackery.