diff options
-rw-r--r-- | dev-games/simgear/Manifest | 1 | ||||
-rw-r--r-- | dev-games/simgear/simgear-2017.1.1.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-games/simgear/Manifest b/dev-games/simgear/Manifest index 068e5f664ad9..82c27afd6bd0 100644 --- a/dev-games/simgear/Manifest +++ b/dev-games/simgear/Manifest @@ -1 +1,2 @@ DIST simgear-2016.4.4.tar.bz2 1200320 SHA256 5514fd0006bbfcdbdc0e2dab7da41eae491ea03a6246cc6a009590032b2fc1dc SHA512 f7b9124e40dba347cd73304fc1b20a5b6d09eb476bc41949d5be615be968a6a66f64141b87819bfa357bd1fd376b2e1fc18334eb1d4df2d4f1e3f95ef4a1928d WHIRLPOOL 3fb4d580d84633a6a852f6a8ab5e708afde9616b636bb5b49d30b56ed232d9938606f602d473e51855605d2544b364691ae362ec974f56b34e32507a37752221 +DIST simgear-2017.1.1.tar.bz2 1236106 SHA256 1815f6a2c3f43bb6121b2394e68f8e6e341c14a7a40e4163c0bcc105ee06ccbc SHA512 8920b41127eac40e3633444eae2cd7b61ac8a386164571a5f1205c92da7f555d54824fc39ab2e1af40860cb507eb358679282adede371c9a81c858bbcaadc9dd WHIRLPOOL 2b1fcce13c5919ac8fe248320a0289ac1dd317224f9a9b9ab9fd000e627ea726b1b2abf5e0fec6f924bc8561f408281dffd907081f82cd0b0e48ab5be8e97169 diff --git a/dev-games/simgear/simgear-2017.1.1.ebuild b/dev-games/simgear/simgear-2017.1.1.ebuild new file mode 100644 index 000000000000..ddd8ca08d242 --- /dev/null +++ b/dev-games/simgear/simgear-2017.1.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils cmake-utils + +DESCRIPTION="Development library for simulation games" +HOMEPAGE="http://www.simgear.org/" +SRC_URI="mirror://sourceforge/flightgear/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" +IUSE="+dns debug subversion test" + +COMMON_DEPEND=" + dev-libs/expat + >=dev-games/openscenegraph-3.2.0 + media-libs/openal + net-misc/curl + sys-libs/zlib + virtual/opengl + dns? ( net-libs/udns ) +" +DEPEND="${COMMON_DEPEND} + >=dev-libs/boost-1.44 +" +RDEPEND="${COMMON_DEPEND} + subversion? ( dev-vcs/subversion ) +" + +DOCS=(AUTHORS ChangeLog NEWS README Thanks) + +src_configure() { + local mycmakeargs=( + -DENABLE_DNS=$(usex dns) + -DENABLE_PKGUTIL=ON + -DENABLE_RTI=OFF + -DENABLE_SIMD=OFF + -DENABLE_SOUND=ON + -DENABLE_TESTS=$(usex test) + -DSIMGEAR_HEADLESS=OFF + -DSIMGEAR_SHARED=ON + -DSYSTEM_EXPAT=ON + -DSYSTEM_UDNS=ON + -DUSE_AEONWAVE=OFF + -DOSG_FSTREAM_EXPORT_FIXED=OFF # TODO perhaps track it + ) + cmake-utils_src_configure +} |