From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1O84Hm-000395-Bq for garchives@archives.gentoo.org; Sat, 01 May 2010 04:26:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67A1CE0675; Sat, 1 May 2010 04:26:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 24614E0675 for ; Sat, 1 May 2010 04:26:35 +0000 (UTC) Received: from corvid.gentoo.org (corvid.gentoo.org [208.92.234.79]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 993FF1B4071 for ; Sat, 1 May 2010 04:26:34 +0000 (UTC) Received: by corvid.gentoo.org (Postfix, from userid 665) id 8EA6B2C08A; Sat, 1 May 2010 04:26:33 +0000 (UTC) From: "Michael Sterrett (mr_bones_)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mr_bones_@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in games-simulation/openttd: ChangeLog openttd-1.0.1.ebuild openttd-1.0.0.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog openttd-1.0.1.ebuild openttd-1.0.0.ebuild X-VCS-Directories: games-simulation/openttd X-VCS-Committer: mr_bones_ X-VCS-Committer-Name: Michael Sterrett Content-Type: text/plain; charset=utf8 Message-Id: <20100501042633.8EA6B2C08A@corvid.gentoo.org> Date: Sat, 1 May 2010 04:26:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 0d949ba2-b0b9-46e4-931c-f03e1ede9b1b X-Archives-Hash: f814115124b7cde312bbef22aaa3e1bd mr_bones_ 10/05/01 04:26:33 Modified: ChangeLog Added: openttd-1.0.1.ebuild Removed: openttd-1.0.0.ebuild Log: version bump; clean old (Portage version: 2.1.8.3/cvs/Linux i686) Revision Changes Path 1.86 games-simulation/openttd/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/o= penttd/ChangeLog?rev=3D1.86&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/o= penttd/ChangeLog?rev=3D1.86&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/o= penttd/ChangeLog?r1=3D1.85&r2=3D1.86 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/games-simulation/openttd/ChangeLog,v retrieving revision 1.85 retrieving revision 1.86 diff -u -r1.85 -r1.86 --- ChangeLog 18 Apr 2010 07:35:40 -0000 1.85 +++ ChangeLog 1 May 2010 04:26:33 -0000 1.86 @@ -1,6 +1,12 @@ # ChangeLog for games-simulation/openttd # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/openttd/ChangeLog,v = 1.85 2010/04/18 07:35:40 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-simulation/openttd/ChangeLog,v = 1.86 2010/05/01 04:26:33 mr_bones_ Exp $ + +*openttd-1.0.1 (01 May 2010) + + 01 May 2010; Michael Sterrett + -openttd-1.0.0.ebuild, +openttd-1.0.1.ebuild: + version bump; clean old =20 *openttd-1.0.0 (18 Apr 2010) =20 1.1 games-simulation/openttd/openttd-1.0.1.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/o= penttd/openttd-1.0.1.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/o= penttd/openttd-1.0.1.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: openttd-1.0.1.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-simulation/openttd/openttd-1.0.1= .ebuild,v 1.1 2010/05/01 04:26:33 mr_bones_ Exp $ EAPI=3D2 inherit eutils games MY_PV=3D${PV/_rc/-RC} MY_P=3D${PN}-${MY_PV} DESCRIPTION=3D"OpenTTD is a clone of Transport Tycoon Deluxe" HOMEPAGE=3D"http://www.openttd.org/" SRC_URI=3D"http://binaries.openttd.org/releases/${MY_PV}/${MY_P}-source.t= ar.bz2" S=3D${WORKDIR}/${MY_P} LICENSE=3D"GPL-2" SLOT=3D"0" KEYWORDS=3D"~amd64 ~ppc ~ppc64 ~x86" IUSE=3D"alsa debug dedicated iconv icu lzo +openmedia +png +truetype zlib= " RESTRICT=3D"test" DEPEND=3D" !dedicated? ( media-libs/libsdl[audio,X,video] icu? ( dev-libs/icu ) truetype? ( media-libs/fontconfig media-libs/freetype:2 sys-libs/zlib ) ) lzo? ( dev-libs/lzo:2 ) iconv? ( virtual/libiconv ) png? ( media-libs/libpng ) zlib? ( sys-libs/zlib )" RDEPEND=3D"${DEPEND} !dedicated? ( alsa? ( media-sound/alsa-utils ) )" PDEPEND=3D" openmedia? ( games-misc/opengfx games-misc/opensfx games-misc/openmsx )" src_configure() { # there is an allegro interface available as well as sdl, but # the configure for it looks broken so the sdl interface is # always built instead. local myopts=3D"${myopts} --without-allegro" use debug && myopts=3D"${myopts} --enable-debug=3D3" if use dedicated ; then myopts=3D"${myopts} --enable-dedicated" else use alsa && myopts=3D"${myopts} --with-midi=3D/usr/bin/aplaymidi" myopts=3D"${myopts} $(use_with truetype freetype) $(use_with icu) --with-sdl" fi if use png || { use !dedicated && use truetype; } || use zlib ; then myopts=3D"${myopts} --with-zlib" else myopts=3D"${myopts} --without-zlib" fi # configure is a hand-written bash-script, so econf will not work. # It's all built as C++, upstream uses CFLAGS internally. CFLAGS=3D"" ./configure \ --disable-strip \ --prefix-dir=3D"${EPREFIX}" \ --binary-dir=3D"${GAMES_BINDIR}" \ --data-dir=3D"${GAMES_DATADIR}/${PN}" \ --install-dir=3D"${D}" \ --icon-dir=3D/usr/share/pixmaps \ --menu-dir=3D/usr/share/applications \ --icon-theme-dir=3D/usr/share/icons/hicolor \ --man-dir=3D/usr/share/man/man6 \ --doc-dir=3D/usr/share/doc/${PF} \ --menu-group=3D"Game;Simulation;" \ ${myopts} \ $(use_with iconv) \ $(use_with png) \ $(use_with lzo liblzo2) \ || die "configure failed" } src_compile() { emake VERBOSE=3D1 || die } src_install() { emake DESTDIR=3D"${D}" install || die "emake install failed" if use dedicated ; then newinitd "${FILESDIR}"/${PN}.initd ${PN} rm -rf "${D}"/usr/share/{applications,icons,pixmaps} fi rm -f "${D}"/usr/share/doc/${PF}/COPYING prepalldocs prepgamesdirs } pkg_postinst() { games_pkg_postinst if ! use openmedia ; then elog elog "OpenTTD was compiled without openmedia USE flags." elog elog "In order to play, you must either install games-misc/opengfx" elog "as well as games-misc/opensfx or copy the following 6 files" elog "from a version of Transport Tycoon Deluxe (windows or DOS)" elog "to ~/.openttd/data/ or ${GAMES_DATADIR}/${PN}/data/." elog elog "From the WINDOWS version you need: " elog " sample.cat trg1r.grf trgcr.grf trghr.grf trgir.grf trgtr.grf" elog "OR from the DOS version you need: " elog " SAMPLE.CAT TRG1.GRF TRGC.GRF TRGH.GRF TRGI.GRF TRGT.GRF" elog elog "File names are case sensitive so make sure they are " elog "correct for whichever version you have." elog fi if ! use lzo ; then elog "OpenTTD was compiled without lzo2 support." elog "While lzo2 is not required, disabling it does mean that" elog "loading old savegames/scenarios from ancient versions (~0.2)" elog "will be disabled" elog fi if use dedicated ; then ewarn "Warning: The init script will kill all running openttd" ewarn "processes when run, including any running client sessions!" else if use alsa ; then elog "You have emerged with 'aplaymidi' for playing MIDI." elog "You have to set the environment variable ALSA_OUTPUT_PORTS." elog "Available ports can be listed by using 'aplaymidi -l'." if ! use openmedia ; then elog "You have disabled the openmedia use flag, in-game music" elog "will be unavailable unless you install games-misc/openmsx" elog "or install a music set in ~/.openttd/gm or use the in-game" elog "download functionality to get a music set" fi else elog "alsa not in USE so music will not be played during the game." fi fi }