diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /dev-games/simgear | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'dev-games/simgear')
-rw-r--r-- | dev-games/simgear/Manifest | 4 | ||||
-rw-r--r-- | dev-games/simgear/simgear-2018.3.2.ebuild | 66 | ||||
-rw-r--r-- | dev-games/simgear/simgear-9999.ebuild | 14 |
3 files changed, 79 insertions, 5 deletions
diff --git a/dev-games/simgear/Manifest b/dev-games/simgear/Manifest index 36f00dcae011..cdf8ce2f1975 100644 --- a/dev-games/simgear/Manifest +++ b/dev-games/simgear/Manifest @@ -1,4 +1,6 @@ DIST simgear-2018.3.1.tar.bz2 1330322 BLAKE2B 5b350ddce726d8ea15c4a1a64a28b9e4307647378c52989231daa7b4a0e53730dc754c239660d0f5ec33189ece6629448b37f61ca7578c21c3aa4147d4565a26 SHA512 673ee76e9f4f9c9adb25a2523bad5b70a079d821391cb8fc9f9e651ad6c195356ac9a8ba18a65df365dc66990406de287099fb249ca23eefc111ebba884f7289 +DIST simgear-2018.3.2.tar.bz2 1329982 BLAKE2B cc4ee90e0a76db5212ca3bb8f422376d9fd91c261c4aaee1aa0c2dc7438ed589866bdde009fd44c727ae87d7365d4aea67da0cfd32ff26d47e81eb9c027ddf0b SHA512 3f60df34f22ea84bdb3e0aa0e2c0b73b2fddf15d17ea985aee254bf4c269b7447976629a7e4b022c460c7c406940d0b2669b723c6b899499d064cfe91546f0ba EBUILD simgear-2018.3.1.ebuild 1287 BLAKE2B 24ab62ed87377e3768837df1142b60a7b4643aad77997f2b58499ceb9451258aa4e040b603deb14fd3281e27286c0567663a958cf558c576481364f405a094af SHA512 3fe5d0ee5312bddc9d943ba565222834611fbb64446ee3f2455e03f389876586e2f118d4077a3c859320018db2a4879fc7ec48a36b225c5ac82ea377eac8936d -EBUILD simgear-9999.ebuild 1349 BLAKE2B be29b4a393daa27f22693d05a9c2b7ce9ae63407351131872b4c8ed7c910fd25bf9116d409e1b2bfab7d2ec5bb22c618d2e42c0e48a2a7b5f62f91c170f3679b SHA512 257ebd7d5e7904d6386b6390fa5a5f67a81c3f7c757e1a748bea159eba6380eb1216954ff34eb60d22d5d4149419533eda056f6941d2a5d0776ec234d6961115 +EBUILD simgear-2018.3.2.ebuild 1473 BLAKE2B bfc47edecae046092dd64493fa574961c274cfed77b2ffe23821ff741407593b83e49398a4b8b85a0de069e90e31478eaa281ad4de6ad0b45d9efc79565d42d9 SHA512 bec365a0b3dd69204a5d66ce74254d4a9b1869f5f4c5712dccfb2312a74ce034ae52455bc0f1096b36cc78146e6b022b5bc403a6db49a7d75a9c7b2c33ca934b +EBUILD simgear-9999.ebuild 1535 BLAKE2B cabc0460fe4527432239370e2e9e9c4585071a9efb2771a8d5100fda599e07d7a2b3351932eea6d82ee54dc4e43b6fbe233adbbeebe12c39f643920b3c498b7f SHA512 2b0998e84aca57859e563e823161ef1dcc7e1079f0363d7a9a18517439ae98160dfdf754d22365cfacb65df5803d83ffa1a0da73eee37c255be550d449d7d225 MISC metadata.xml 911 BLAKE2B 978dd6e83dce780a6b6250e86def3f5f3052d7c09cda9d4974ec9f63d151cb0040c9434cde00007a8821b28854d2c49c5a040e29f176d1ebb91600e97ba09f17 SHA512 59839dd8b60cbf26b548157edf6f30255c2ca81545df77d39d47cebbf2eec561014c698ac15028765921fb9a7a570f5032f699f71fc135c5bbad211ce6b0a5a8 diff --git a/dev-games/simgear/simgear-2018.3.2.ebuild b/dev-games/simgear/simgear-2018.3.2.ebuild new file mode 100644 index 000000000000..a65b51665aac --- /dev/null +++ b/dev-games/simgear/simgear-2018.3.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils toolchain-funcs flag-o-matic + +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="cpu_flags_x86_sse2 +dns debug gdal openmp subversion test" + +COMMON_DEPEND=" + dev-libs/expat + <dev-games/openscenegraph-3.5.6:= + 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=OFF # see CPU_FLAGS + -DENABLE_SIMD_CODE=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 + ) + + if use cpu_flags_x86_sse2; then + append-flags -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize + fi + + cmake-utils_src_configure +} diff --git a/dev-games/simgear/simgear-9999.ebuild b/dev-games/simgear/simgear-9999.ebuild index 10462f88d9fc..4ef9fc550b61 100644 --- a/dev-games/simgear/simgear-9999.ebuild +++ b/dev-games/simgear/simgear-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils cmake-utils toolchain-funcs git-r3 +inherit eutils cmake-utils toolchain-funcs flag-o-matic 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 gdal openmp subversion test" +IUSE="cpu_flags_x86_sse2 +dns debug gdal openmp subversion test" COMMON_DEPEND=" dev-libs/expat @@ -48,7 +48,8 @@ src_configure() { -DENABLE_OPENMP=$(usex openmp) -DENABLE_PKGUTIL=ON -DENABLE_RTI=OFF - -DENABLE_SIMD=ON + -DENABLE_SIMD=OFF # see CPU_FLAGS + -DENABLE_SIMD_CODE=OFF -DENABLE_SOUND=ON -DENABLE_TESTS=$(usex test) -DSIMGEAR_HEADLESS=OFF @@ -58,5 +59,10 @@ src_configure() { -DUSE_AEONWAVE=OFF -DOSG_FSTREAM_EXPORT_FIXED=OFF # TODO perhaps track it ) + + if use cpu_flags_x86_sse2; then + append-flags -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize + fi + cmake-utils_src_configure } |