diff options
author | Christian Schmitt <chris@ilovelinux.de> | 2011-01-03 12:23:53 +0100 |
---|---|---|
committer | Christian Schmitt <chris@ilovelinux.de> | 2011-01-16 18:02:38 +0100 |
commit | c6ceba2695dbae35a6278de26baa0b2610bb8156 (patch) | |
tree | ad439dd99ff2a43465b2277c9658a683c8d3e502 /games-simulation/flightgear | |
parent | [x11-apps/typhon] updated useflags typhon-9999.ebuild (diff) | |
download | gamerlay-c6ceba2695dbae35a6278de26baa0b2610bb8156.tar.gz gamerlay-c6ceba2695dbae35a6278de26baa0b2610bb8156.tar.bz2 gamerlay-c6ceba2695dbae35a6278de26baa0b2610bb8156.zip |
[games-simulation/flightgear] move to cmake build system
Diffstat (limited to 'games-simulation/flightgear')
-rw-r--r-- | games-simulation/flightgear/Manifest | 4 | ||||
-rw-r--r-- | games-simulation/flightgear/flightgear-9999.ebuild | 21 | ||||
-rw-r--r-- | games-simulation/flightgear/metadata.xml | 1 |
3 files changed, 12 insertions, 14 deletions
diff --git a/games-simulation/flightgear/Manifest b/games-simulation/flightgear/Manifest index 800415e..565dbb0 100644 --- a/games-simulation/flightgear/Manifest +++ b/games-simulation/flightgear/Manifest @@ -1,2 +1,2 @@ -EBUILD flightgear-9999.ebuild 1427 RMD160 d9947fb605b812378c5aae6e7af25db1036f8a0a SHA1 8599a6b959904031b580036b206182857434698d SHA256 0d78e2144da870c1bc402f2eb87abf9e98fb7c98703685ae686b2220d558e8ba -MISC metadata.xml 353 RMD160 068d76460adbcf17bc9ec9c50469e026df6f6e65 SHA1 0c038b1fdd2f2a082b0d4f229a6f20f36d443d4a SHA256 527e7864e63fce5b6258b1e902ea65b3d084794a20bfce04e14ee298a40c8ed0 +EBUILD flightgear-9999.ebuild 1383 RMD160 ba38abeb4289d0876e1aa355d08d5ebeacb8df79 SHA1 fb70c11a4432649a743653b8ddb918d946ebf330 SHA256 6bfb0cd471d3e0d6bfc9064a47a3502a62ea592f37f65e73b952d6e58eea8868 +MISC metadata.xml 352 RMD160 651b5753992587448bf0d4f0a0b245fc709f2961 SHA1 98d7bfea449549d012f6db935a40fb1cd73987ea SHA256 20385f5d1bef1620888522b90736cbf65b1496dc1da2a350d673c43099c4f1c2 diff --git a/games-simulation/flightgear/flightgear-9999.ebuild b/games-simulation/flightgear/flightgear-9999.ebuild index e3c6a9b..9c0799f 100644 --- a/games-simulation/flightgear/flightgear-9999.ebuild +++ b/games-simulation/flightgear/flightgear-9999.ebuild @@ -6,7 +6,7 @@ EAPI=2 EGIT_BRANCH="next" -inherit games git autotools +inherit games cmake-utils git DESCRIPTION="Open Source Flight Simulator" HOMEPAGE="http://www.flightgear.org/" @@ -25,23 +25,22 @@ RDEPEND=">=dev-games/openscenegraph-2.9[png] subversion? ( dev-vcs/subversion )" DEPEND="${RDEPEND}" -src_prepare() { - eautoreconf -} +DOCS=(AUTHORS ChangeLog NEWS README Thanks) src_configure() { - egamesconf \ - --disable-dependency-tracking \ - --enable-osgviewer \ - $(use_with subversion libsvn) \ - || die "configure failed" + mycmakeargs=( + -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX} + -DENABLE_FGADMIN=OFF + $(cmake-utils_use subversion ENABLE_LIBSVN) + ) + + cmake-utils_src_configure } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" + cmake-utils_src_install newicon icons/fg-16.png ${PN}.png make_desktop_entry fgfs FlightGear /usr/share/pixmaps/${PN}.png - dodoc AUTHORS ChangeLog NEWS README Thanks prepgamesdirs } diff --git a/games-simulation/flightgear/metadata.xml b/games-simulation/flightgear/metadata.xml index 20c5451..26c62bf 100644 --- a/games-simulation/flightgear/metadata.xml +++ b/games-simulation/flightgear/metadata.xml @@ -10,4 +10,3 @@ <name>Christian Schmitt</name> </maintainer> </pkgmetadata> - |