commit: 3d8732be59c3698bca698dc051e106107c3b4f88 Author: Michael Weber <michael <AT> xmw <DOT> de> AuthorDate: Tue Mar 10 11:13:05 2015 +0000 Commit: Michael Weber <xmw <AT> gentoo <DOT> org> CommitDate: Tue Mar 10 11:13:05 2015 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=3d8732be
Add snapshot version due broken upstream repo .../fgrun/fgrun-3.5.0_p20150118.ebuild | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) 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 +}
