# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-rpg/freedroidrpg/freedroidrpg-0.13.ebuild,v 1.5 2010/07/12 21:40:55 mr_bones_ Exp $ EAPI=2 PYTHON_DEPEND="2" inherit autotools eutils python games DESCRIPTION="A modification of the classical Freedroid engine into an RPG" HOMEPAGE="http://freedroid.sourceforge.net/" SRC_URI="mirror://sourceforge/freedroid/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ppc x86" IUSE="opengl" RDEPEND="media-libs/libsdl[opengl?,video] dev-lang/lua media-libs/jpeg media-libs/libpng media-libs/sdl-image[jpeg,png] media-libs/sdl-net media-libs/sdl-mixer[vorbis] media-libs/sdl-gfx media-libs/libogg media-libs/libvorbis x11-libs/libX11 opengl? ( virtual/opengl )" DEPEND="${RDEPEND} x11-libs/libXt dev-lang/python" pkg_setup() { python_set_active_version 2 games_pkg_setup } src_prepare() { rm -rf lua src/SDL_rotozoom* epatch "${FILESDIR}"/${P}-syslibs.patch has_version '