# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.69-r1.ebuild,v 1.2 2010/03/25 04:50:18 calchan Exp $ EAPI="2" inherit eutils games MY_PV=${PV//.} PATCH_URL_BASE=http://files.bioware.com/neverwinternights/updates/linux/${MY_PV}/English_linuxclient${MY_PV}_ DESCRIPTION="role-playing game set in a huge medieval fantasy world of Dungeons and Dragons" HOMEPAGE="http://nwn.bioware.com/downloads/linuxclient.html" SRC_URI="http://dev.gentoo.org/~calchan/distfiles/nwn-libs-1.tar.bz2 !sou? ( !hou? ( ${PATCH_URL_BASE}orig.tar.gz ) ) sou? ( !hou? ( ${PATCH_URL_BASE}xp1.tar.gz ) ) hou? ( ${PATCH_URL_BASE}xp2.tar.gz )" LICENSE="NWN-EULA" SLOT="0" KEYWORDS="-* amd64 ~x86" IUSE="sou hou" RESTRICT="mirror strip" QA_DT_HASH="/opt/nwn/en/nwserver /opt/nwn/en/nwmain /opt/nwn/lib/libSDL-1.2.so.0.11.2 /opt/nwn/lib/libelf.so.1" NWN_DATA=">=games-rpg/nwn-data-1.29-r3[sou?,hou?" # ${P} requires games-rpg/nwn-data emerged with at least LINGUAS=en or none at all RDEPEND=" || ( ${NWN_DATA},linguas_en] ${NWN_DATA},-linguas_fr,-linguas_de,-linguas_es,-linguas_it] ) virtual/opengl >=media-libs/libsdl-1.2.5 ! ~/.nwn/en" ewarn "If it does not work, try removing ~/.nwn, start nwn then quit, and re-import all you" ewarn "need (saves, etc...) in ~/.nwn/en, but please do not file a bug." }