diff options
Diffstat (limited to 'games-simulation/fgrun/fgrun-3.5.0_p20150118.ebuild')
-rw-r--r-- | games-simulation/fgrun/fgrun-3.5.0_p20150118.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/games-simulation/fgrun/fgrun-3.5.0_p20150118.ebuild b/games-simulation/fgrun/fgrun-3.5.0_p20150118.ebuild new file mode 100644 index 0000000..1ecf472 --- /dev/null +++ b/games-simulation/fgrun/fgrun-3.5.0_p20150118.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit games cmake-utils vcs-snapshot + +DESCRIPTION="A graphical frontend for the FlightGear Flight Simulator" +HOMEPAGE="http://sourceforge.net/projects/fgrun" +SRC_URI="https://gitorious.org/fg/fgrun/archive/a9b036105a7c519090dc8324f5a43ba89810451e.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +COMMON_DEPEND=" + >=dev-games/openscenegraph-3.0.1 + sys-libs/zlib + x11-libs/fltk:1[opengl,threads] +" + +DEPEND="${COMMON_DEPEND} + >=dev-games/simgear-2.9 + >=dev-libs/boost-1.34 + nls? ( virtual/libintl ) +" + +RDEPEND="${COMMON_DEPEND} + >=games-simulation/flightgear-2.9 +" + +DOCS=(AUTHORS NEWS) + +src_configure() { + mycmakeargs=( + -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX} + -DSIMGEAR_SHARED=ON + $(cmake-utils_use_enable nls) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + make_desktop_entry ${PN} "${PN}" flightgear + prepgamesdirs +} |