# Copyright 1999-2006 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.0.3.ebuild,v 1.3 2006/04/19 00:58:31 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity-ng/lincity-ng-1.0.3.ebuild,v 1.4 2006/11/24 16:07:56 nyhm Exp $
inherit eutils games
KEYWORDS="amd64 ~ppc x86"
IUSE=""
-RDEPEND="
- virtual/opengl
- >=sys-libs/zlib-1.0.0
+RDEPEND="virtual/opengl
>=dev-libs/libxml2-2.6.11
>=media-libs/libsdl-1.2.5
>=media-libs/sdl-mixer-1.2.4
>=media-libs/sdl-ttf-2.0.0
>=media-libs/sdl-gfx-2.0.13
>=dev-games/physfs-1.0.0"
-
DEPEND="${RDEPEND}
- || (
- ( x11-libs/libXt x11-libs/libX11 x11-proto/xproto )
- virtual/x11
- )
+ x11-libs/libXt
+ x11-libs/libX11
+ x11-proto/xproto
dev-util/pkgconfig
>=dev-util/jam-2.5"
pkg_setup() {
+ games_pkg_setup
if ! built_with_use -o media-libs/sdl-mixer vorbis oggvorbis ; 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
- games_pkg_setup
}
src_compile() {