summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-09 14:27:10 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-09 14:27:10 +0000
commit86fa4e8d5af8384689cb724b785feb4fe215f00e (patch)
tree66a2e8d979b8b696167cd8e7a65a8e17004e5885 /games-simulation/lincity-ng
parentx11-misc/skippy: Change virtual/xft dependency to x11-libs/libXft, bug 253771. (diff)
downloadgentoo-2-86fa4e8d5af8384689cb724b785feb4fe215f00e.tar.gz
gentoo-2-86fa4e8d5af8384689cb724b785feb4fe215f00e.tar.bz2
gentoo-2-86fa4e8d5af8384689cb724b785feb4fe215f00e.zip
EAPI=2; add use-based dep for media-libs/sdl-mixer
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
Diffstat (limited to 'games-simulation/lincity-ng')
-rw-r--r--games-simulation/lincity-ng/ChangeLog8
-rw-r--r--games-simulation/lincity-ng/lincity-ng-1.1.2.ebuild17
2 files changed, 10 insertions, 15 deletions
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 <mr_bones_@gentoo.org>
+ lincity-ng-1.1.2.ebuild:
+ EAPI=2; add use-based dep for media-libs/sdl-mixer
28 Jun 2008; Markus Meier <maekke@gentoo.org> 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"
}