# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="5" PYTHON_COMPAT=( python2_7 ) inherit eutils python-single-r1 DESCRIPTION="An open-source level editor for Doom 3 and The Dark Mod" HOMEPAGE="http://darkradiant.sourceforge.net/" SRC_URI="https://github.com/codereader/DarkRadiant/archive/${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+darkmod-plugins debug python" DEPEND=">=x11-libs/wxGTK-3.0 >=dev-libs/boost-1.46.1 python? ( dev-libs/boost[python,${PYTHON_USEDEP}] ) media-libs/ftgl media-libs/glew dev-libs/libxml2 sys-libs/zlib media-libs/libpng virtual/jpeg media-libs/libvorbis media-libs/freealut" RDEPEND="$DEPEND" src_prepare() { epatch "${FILESDIR}/gentoo-203.patch" touch configure.ac aclocal.m4 configure Makefile.am Makefile.in } src_configure() { econf \ $(use_enable darkmod-plugins) \ $(use_enable debug) \ $(use_enable python) }