1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit cmake-utils eutils git-2 games
11 DESCRIPTION="An open source, real time strategy game based on the Dungeon Keeper series"
12 HOMEPAGE="http://opendungeons.sourceforge.net"
13 EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}"
14 EGIT_BRANCH="development"
16 LICENSE="GPL-3 CC-BY-SA-3.0"
21 RDEPEND=">=dev-games/cegui-0.7.0[ogre,opengl]
22 >=dev-games/ogre-1.7.0[cg,freeimage,ois,opengl]
26 games-strategy/opendungeons-data
39 CMAKE_IN_SOURCE_BUILD=1
43 -DOPENDUNGEONS_DATA_PATH="${GAMES_DATADIR}"/${MY_PN}
44 -DOPENDUNGEONS_BINARY_PATH="${GAMES_BINDIR}"/${MY_PN}.bin
45 -DBINDIR="${GAMES_BINDIR}"
48 cmake-utils_src_configure
52 cmake-utils_src_install
53 doicon "${FILESDIR}"/${PN}.svg || die
54 make_desktop_entry ${MY_PN} ${PN} ${PN}