From 86fa4e8d5af8384689cb724b785feb4fe215f00e Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Fri, 9 Jan 2009 14:27:10 +0000 Subject: EAPI=2; add use-based dep for media-libs/sdl-mixer (Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686) --- games-simulation/lincity-ng/ChangeLog | 8 ++++++-- games-simulation/lincity-ng/lincity-ng-1.1.2.ebuild | 17 ++++------------- 2 files changed, 10 insertions(+), 15 deletions(-) (limited to 'games-simulation/lincity-ng') diff --git a/games-simulation/lincity-ng/ChangeLog b/games-simulation/lincity-ng/ChangeLog index 223687a5deaa..c0fc789ef4ab 100644 --- a/games-simulation/lincity-ng/ChangeLog +++ b/games-simulation/lincity-ng/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-simulation/lincity-ng -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity-ng/ChangeLog,v 1.14 2008/06/28 07:38:16 maekke Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity-ng/ChangeLog,v 1.15 2009/01/09 14:27:10 mr_bones_ Exp $ + + 09 Jan 2009; Michael Sterrett + lincity-ng-1.1.2.ebuild: + EAPI=2; add use-based dep for media-libs/sdl-mixer 28 Jun 2008; Markus Meier lincity-ng-1.1.2.ebuild: x86 stable, bug #229659 diff --git a/games-simulation/lincity-ng/lincity-ng-1.1.2.ebuild b/games-simulation/lincity-ng/lincity-ng-1.1.2.ebuild index 13dccf435c97..d7b2a0d5f2cd 100644 --- a/games-simulation/lincity-ng/lincity-ng-1.1.2.ebuild +++ b/games-simulation/lincity-ng/lincity-ng-1.1.2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity-ng/lincity-ng-1.1.2.ebuild,v 1.5 2008/07/08 16:50:32 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity-ng/lincity-ng-1.1.2.ebuild,v 1.6 2009/01/09 14:27:10 mr_bones_ Exp $ +EAPI=2 inherit eutils games DESCRIPTION="city/country simulation game for X and opengl" @@ -16,7 +17,7 @@ IUSE="" RDEPEND="virtual/opengl dev-libs/libxml2 media-libs/libsdl - media-libs/sdl-mixer + media-libs/sdl-mixer[vorbis] media-libs/sdl-image media-libs/sdl-ttf media-libs/sdl-gfx @@ -25,17 +26,7 @@ DEPEND="${RDEPEND} dev-util/pkgconfig dev-util/ftjam" -pkg_setup() { - games_pkg_setup - if ! built_with_use media-libs/sdl-mixer vorbis ; then - eerror "lincity-ng doesn't work properly if" - eerror "sdl-mixer is built without vorbis support" - die "Please emerge sdlmixer with USE=vorbis" - fi -} - src_compile() { - egamesconf || die jam || die "jam failed" } -- cgit v1.2.3-65-gdbad