diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2017-10-20 00:39:01 +0200 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2017-10-20 00:45:35 +0200 |
commit | caafd4191dff3213ec89e71ba5eab17d884c61a7 (patch) | |
tree | 5229fe97320a7517c8ba5c2c08a64e38c772500e /dev-games/simgear | |
parent | net-analyzer/hexinject: add proxy-maintainer (diff) | |
download | gentoo-caafd4191dff3213ec89e71ba5eab17d884c61a7.tar.gz gentoo-caafd4191dff3213ec89e71ba5eab17d884c61a7.tar.bz2 gentoo-caafd4191dff3213ec89e71ba5eab17d884c61a7.zip |
games-simulation/flightgear: Version bump 2017.3.1
Diffstat (limited to 'dev-games/simgear')
-rw-r--r-- | dev-games/simgear/Manifest | 1 | ||||
-rw-r--r-- | dev-games/simgear/simgear-2017.3.1.ebuild | 60 | ||||
-rw-r--r-- | dev-games/simgear/simgear-9999.ebuild | 10 |
3 files changed, 66 insertions, 5 deletions
diff --git a/dev-games/simgear/Manifest b/dev-games/simgear/Manifest index f5e09310de6d..866e76051412 100644 --- a/dev-games/simgear/Manifest +++ b/dev-games/simgear/Manifest @@ -2,3 +2,4 @@ DIST simgear-2016.4.4.tar.bz2 1200320 SHA256 5514fd0006bbfcdbdc0e2dab7da41eae491 DIST simgear-2017.1.2.tar.bz2 1235662 SHA256 69c8223051b039b00038aabbb8660cecce1866e3f854dadd9543db824d232f6b SHA512 5746262873f9ca9183bf5bcfbff1493637faa68c8d070a5683f991b414b69b0e432f181394db0c39c939b3d6e433288a143eb3489a407c38f3d26c9033027404 WHIRLPOOL a6b18db36078e1e26c8915ef72a5bb890bcef7433c6c641f314533c637cbcd3a626e4146ddbf7551fc179b9b07989baba04559a0f1684c4b00e94760ddace2cb DIST simgear-2017.1.3.tar.bz2 1235062 SHA256 85304d985b4fc0dc00d9f7603b02d096e3c24ca4c98adc18dc9af1e2d0e3c310 SHA512 600f883ad92d37bf76d5e6beb066da340c7af927b0f2d51ce290cccaf23d1f3289b1aa31d3aa6cc17a4b9bc57c7180f03e234e08601e4169f26624678bf551aa WHIRLPOOL 377caa9327be22f10e0c45a64db7747d66dc7498b425ae5cf330544e727248b84f907b9eebb7c6b8e6a3272d1929a2b2ae1eaf8a4a542469d1e3615e9a2b7966 DIST simgear-2017.2.1.tar.bz2 1290780 SHA256 9924592c01cb41ad66a0ff1dc43b7678ceec69fb573d3f4e4637e26c247c7a9e SHA512 168f5e3eab7cdd44643a62e1970c6329ac1121ca98e36c4134d963237e70304a20b7c8df3b438e24c204d51569d6863ef8b16098462d850f72a5f11a10ccbfd5 WHIRLPOOL dc57cb2b87ec0111b0c555b6b87bcba7ec80c34c2277978c3aac7e71a3df260b4ac32f79698b2ea6d84a3bd6a942dc163aabd80c5f5004c409a189456f812d4a +DIST simgear-2017.3.1.tar.bz2 1302704 SHA256 0ee08550b737b249dcc91590ec0cb9c5dc9080998f6ba66a7d7209cdfce6e1f4 SHA512 339c9af78e8c0490caec69be34b54f947751a9677cbb1163e73917f6aaa8f3d965ccf8058222c48ca4249cba4bb509205143f846de84595e92abdcd93e64c901 WHIRLPOOL f26535449fd04c18e3a0f31817411f634be669c14d84b112f9d5662e56aeb800b7c801fab9113acb111c4823ed1fc25d2fc92822479d7e87ce93d6b3beaf2b8c diff --git a/dev-games/simgear/simgear-2017.3.1.ebuild b/dev-games/simgear/simgear-2017.3.1.ebuild new file mode 100644 index 000000000000..cca44548c832 --- /dev/null +++ b/dev-games/simgear/simgear-2017.3.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils toolchain-funcs + +DESCRIPTION="Development library for simulation games" +HOMEPAGE="http://www.simgear.org/" +SRC_URI="mirror://sourceforge/flightgear/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+dns debug gdal openmp 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 ) + gdal? ( sci-libs/gdal ) +" +DEPEND="${COMMON_DEPEND} + >=dev-libs/boost-1.44 +" +RDEPEND="${COMMON_DEPEND} + subversion? ( dev-vcs/subversion ) +" + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_configure() { + local mycmakeargs=( + -DENABLE_DNS=$(usex dns) + -DENABLE_GDAL=$(usex gdal) + -DENABLE_OPENMP=$(usex openmp) + -DENABLE_PKGUTIL=ON + -DENABLE_RTI=OFF + -DENABLE_SIMD=ON + -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 +} diff --git a/dev-games/simgear/simgear-9999.ebuild b/dev-games/simgear/simgear-9999.ebuild index 00072326c7c9..6ee236bee6f8 100644 --- a/dev-games/simgear/simgear-9999.ebuild +++ b/dev-games/simgear/simgear-9999.ebuild @@ -33,12 +33,12 @@ RDEPEND="${COMMON_DEPEND} subversion? ( dev-vcs/subversion ) " -PATCHES=( "${FILESDIR}/simgear-2017.2.1-gdal-underlinking.patch" ) - -DOCS=(AUTHORS ChangeLog NEWS README Thanks) - pkg_pretend() { - use openmp && tc-check-openmp + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } src_configure() { |