Gentoo now has a working (albeit, unofficial) ToME 4 beta 41 ebuild on overlay raiagent. I estimate full installation including download time and transitive dependencies (e.g., SDL 2.0) to require roughly an hour and 400MB of free space. Your mileage may vary. ("On with the dreary show, you rogue!")
Installation instructions follow.
EDIT: Wiki article "Gentoo" now offers authoritative installation instructions summarizing this and the posts below. Unless you enjoy stumbling in the dark, in which case... read on, my pointy-hatted friend. Read on.
Code: Select all
# Install "layman", if you haven't already.
emerge -av layman
echo "source /var/lib/layman/make.conf" >> /etc/make.conf
# Add the "raiagent" overlay.
layman -o https://raw.github.com/leycec/raiagent/master/overlay.xml -f -a raiagent
layman -S
# Add helpful SDL USE flags. (Optional.)
echo "media-libs/libsdl xinput xrandr" >> /etc/portage/package.use
# Unmask "tome4" and friends.
echo ">=media-libs/libsdl-9999\n>=media-libs/sdl-image-9999\n>=media-libs/sdl-ttf-9999\n>=games-roguelike/tome4-1.0.0_beta1" >> /etc/portage/package.accept_keywords
# Install "tome4" and friends.
emerge -av tome4
Code: Select all
# Add "-music" to the ToME4-specific USE flags.
echo "games-roguelike/tome4 -music" >> /etc/portage/package.use
# Or, add "-music" to the global USE flags. (You might not want to do this.)
vi /etc/make.conf
# Reinstall.
emerge -av tome4
For his and her protection, I've hard-masked beta 42. If you still feel like dancing with death, you'll need to unmask it and reinstall "tome4". And did I mention? The tarball is about 60MB larger.
Code: Select all
# Unmask beta 42.
echo "=games-roguelike/tome4-1.0.0_beta42" >> /etc/portage/package.unmask
# Reinstall.
emerge -av tome4
May darkgod have mercy on our "sed"-patched builds. Let the games begin.
P.S., @darkgod. Please consider not depending on SDL daily builds for future releases, following the official release of SDL 2.0. Daily build dependencies make Gentoo a sad solipsistic panda. Err, penguin.

EDIT: I'd like to add these instructions to the wiki but don't appear to have edit access. (That or I just can't find the "Edit" button. Oh, how I looked.) Since "http://te4.org/node/346/edit" gives "You are not authorized to access this page," I suspect it's the former. Call me fanciful, but isn't public writability the de facto definition of a wiki? If anyone with edit access could replace the existing (and very much non-working) Gentoo Linux instructions with these or even just link to this thread, the community would direly appreciate it. Cheers!
EDITEDIT: Ignore the prior EDIT. I wasn't logged in. Yes, insert foot in mouth here. If you need me, I'll be self-flagellatting myself behind the bleachers with a demonic dark axe of Kroll. You know the one.