diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2017-06-15 05:36:55 +0200 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2017-06-15 05:45:08 +0200 |
commit | c4ad6b25be4e46fe9f36968d2b32cbf707d42fd9 (patch) | |
tree | 20c132141b16176aa4b50552820bc59cad900fc2 /dev-games | |
parent | systemd.eclass: Improve systemd_install_serviced documentation (diff) | |
download | gentoo-c4ad6b25be4e46fe9f36968d2b32cbf707d42fd9.tar.gz gentoo-c4ad6b25be4e46fe9f36968d2b32cbf707d42fd9.tar.bz2 gentoo-c4ad6b25be4e46fe9f36968d2b32cbf707d42fd9.zip |
games-simulation/flightgear: Version bump 2017.2.1
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/simgear/Manifest | 1 | ||||
-rw-r--r-- | dev-games/simgear/files/simgear-2017.2.1-gdal-underlinking.patch | 28 | ||||
-rw-r--r-- | dev-games/simgear/metadata.xml | 5 | ||||
-rw-r--r-- | dev-games/simgear/simgear-2017.2.1.ebuild | 60 | ||||
-rw-r--r-- | dev-games/simgear/simgear-9999.ebuild | 13 |
5 files changed, 103 insertions, 4 deletions
diff --git a/dev-games/simgear/Manifest b/dev-games/simgear/Manifest index 353ae86b6935..f5e09310de6d 100644 --- a/dev-games/simgear/Manifest +++ b/dev-games/simgear/Manifest @@ -1,3 +1,4 @@ DIST simgear-2016.4.4.tar.bz2 1200320 SHA256 5514fd0006bbfcdbdc0e2dab7da41eae491ea03a6246cc6a009590032b2fc1dc SHA512 f7b9124e40dba347cd73304fc1b20a5b6d09eb476bc41949d5be615be968a6a66f64141b87819bfa357bd1fd376b2e1fc18334eb1d4df2d4f1e3f95ef4a1928d WHIRLPOOL 3fb4d580d84633a6a852f6a8ab5e708afde9616b636bb5b49d30b56ed232d9938606f602d473e51855605d2544b364691ae362ec974f56b34e32507a37752221 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 diff --git a/dev-games/simgear/files/simgear-2017.2.1-gdal-underlinking.patch b/dev-games/simgear/files/simgear-2017.2.1-gdal-underlinking.patch new file mode 100644 index 000000000000..63eb79ed35ce --- /dev/null +++ b/dev-games/simgear/files/simgear-2017.2.1-gdal-underlinking.patch @@ -0,0 +1,28 @@ +From 9971d517fdf351e40467c88915d3e30e56f999d4 Mon Sep 17 00:00:00 2001 +From: Maciej Mrozowski <reavertm@gmail.com> +Date: Thu, 15 Jun 2017 04:58:03 +0200 +Subject: [PATCH] Link shared SimGearScene with libgdal when enabled + +--- + simgear/CMakeLists.txt | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/simgear/CMakeLists.txt b/simgear/CMakeLists.txt +index 18c2e04c..6c7cb495 100644 +--- a/simgear/CMakeLists.txt ++++ b/simgear/CMakeLists.txt +@@ -173,6 +173,11 @@ if(NOT SIMGEAR_HEADLESS) + ${OPENGL_LIBRARY} + ${JPEG_LIBRARY}) + ++ if(ENABLE_GDAL) ++ target_link_libraries(SimGearScene ++ ${GDAL_LIBRARIES}) ++ endif() ++ + # only actually needed by canvas/KeyboardEvent.cxx + target_include_directories(SimGearScene PRIVATE ${PROJECT_SOURCE_DIR}/3rdparty/utf8/source) + endif() +-- +2.13.0 + diff --git a/dev-games/simgear/metadata.xml b/dev-games/simgear/metadata.xml index c852718c8ded..8a1ed54ebf70 100644 --- a/dev-games/simgear/metadata.xml +++ b/dev-games/simgear/metadata.xml @@ -14,8 +14,9 @@ SimGear is a set of open-source libraries designed to be used as building blocks quickly assembling 3d simulations, games, and visualization applications. </longdescription> <use> - <flag name="dns">Enables DNS resolver via <pkg>net-libs/udns</pkg></flag> - <flag name="subversion">Enables terrasync scenery downloader</flag> + <flag name="dns">Enable DNS resolver via <pkg>net-libs/udns</pkg></flag> + <flag name="gdal">Enable alternative terrain engine based on pagedLOD via <pkg>sci-libs/gdal</pkg></flag> + <flag name="subversion">Enable terrasync scenery downloader</flag> </use> <upstream> <remote-id type="sourceforge">flightgear</remote-id> diff --git a/dev-games/simgear/simgear-2017.2.1.ebuild b/dev-games/simgear/simgear-2017.2.1.ebuild new file mode 100644 index 000000000000..fcdd831b3043 --- /dev/null +++ b/dev-games/simgear/simgear-2017.2.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 eutils 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" +KEYWORDS="~amd64 ~x86" +SLOT="0" +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 ) +" + +PATCHES=( "${FILESDIR}/simgear-2017.2.1-gdal-underlinking.patch" ) + +DOCS=(AUTHORS ChangeLog NEWS README Thanks) + +pkg_pretend() { + 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 b18a51cc4e30..00072326c7c9 100644 --- a/dev-games/simgear/simgear-9999.ebuild +++ b/dev-games/simgear/simgear-9999.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit eutils cmake-utils git-r3 +inherit eutils cmake-utils toolchain-funcs git-r3 DESCRIPTION="Development library for simulation games" HOMEPAGE="http://www.simgear.org/" @@ -14,7 +14,7 @@ EGIT_BRANCH="next" LICENSE="GPL-2" KEYWORDS="" SLOT="0" -IUSE="+dns debug subversion test" +IUSE="+dns debug gdal openmp subversion test" COMMON_DEPEND=" dev-libs/expat @@ -24,6 +24,7 @@ COMMON_DEPEND=" sys-libs/zlib virtual/opengl dns? ( net-libs/udns ) + gdal? ( sci-libs/gdal ) " DEPEND="${COMMON_DEPEND} >=dev-libs/boost-1.44 @@ -32,11 +33,19 @@ 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 +} + 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 |