--- openttd-0.4.0.1.ebuild 2005-05-30 02:42:31.000000000 -0500 +++ openttd-0.4.0.1.ebuild.new 2005-05-30 02:44:36.000000000 -0500 @@ -11,13 +11,13 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~amd64" -IUSE="debug png zlib timidity alsa dedicated" +IUSE="debug png zlib timidity alsa dedicatedonly" DEPEND="media-libs/libsdl png? ( media-libs/libpng ) zlib? ( sys-libs/zlib )" RDEPEND="${DEPEND} - !dedicated? ( + !dedicatedonly? ( timidity? ( media-sound/timidity++ ) !timidity? ( alsa? ( media-sound/alsa-utils ) ) )" @@ -25,10 +25,10 @@ src_compile() { local myopts="MANUAL_CONFIG=1 UNIX=1 WITH_NETWORK=1 INSTALL=1 RELEASE=${PV} USE_HOMEDIR=1 PERSONAL_DIR=.openttd PREFIX=/usr DATA_DIR=share/games/${PN}" use debug && myopts="${myopts} DEBUG=1" - use dedicated && myopts="${myopts} DEDICATED=1" + use dedicatedonly && myopts="${myopts} DEDICATED=1" use png && myopts="${myopts} WITH_PNG=1" use zlib && myopts="${myopts} WITH_ZLIB=1" - if ! use dedicated; then + if ! use dedicatedonly; then myopts="${myopts} WITH_SDL=1" if ! use timidity; then use alsa && myopts="${myopts} MIDI=/usr/bin/aplaymidi" @@ -55,7 +55,7 @@ doicon media/openttd.*.png - if ! use dedicated; then + if ! use dedicatedonly; then if use timidity || use alsa; then make_desktop_entry "openttd -m extmidi" "OpenTTD" openttd.64.png else @@ -96,8 +96,8 @@ einfo "correct for whichever version you have." echo - if use dedicated; then - einfo "You have chosen the dedicated USE flag which builds a " + if use dedicatedonly; then + einfo "You have chosen the dedicatedonly USE flag which builds a " einfo "version of OpenTTD to be used as a game server which " einfo "does not require SDL. You will not be able to play the " einfo "game, but if you don't pass this flag you can still use "