summaryrefslogtreecommitdiff
path: root/games-simulation/flightgear
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
commit29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch)
treeab466b4dfa7abecb401b2f8039d08af4689306bb /games-simulation/flightgear
parentd42200bec37eef2a7478d88988ff00addd0a9202 (diff)
gentoo resync : 05.02.2020
Diffstat (limited to 'games-simulation/flightgear')
-rw-r--r--games-simulation/flightgear/Manifest8
-rw-r--r--games-simulation/flightgear/flightgear-2018.3.1.ebuild159
-rw-r--r--games-simulation/flightgear/flightgear-2019.1.1.ebuild (renamed from games-simulation/flightgear/flightgear-2018.3.2.ebuild)3
-rw-r--r--games-simulation/flightgear/flightgear-9999.ebuild6
4 files changed, 10 insertions, 166 deletions
diff --git a/games-simulation/flightgear/Manifest b/games-simulation/flightgear/Manifest
index 0986caa096b9..632da9cbf15a 100644
--- a/games-simulation/flightgear/Manifest
+++ b/games-simulation/flightgear/Manifest
@@ -1,9 +1,7 @@
AUX ac3d.vim 45 BLAKE2B 04a6e4c70a8be0f7d996f1192289cc05012d4b4cc82a56a14b5d6d2dd7aae8f23f1cd853d29d071a0b9691cf5b8e8b262355b40752f43bccaa318065992d709b SHA512 b691585c6772222525b7f2d67ed41431663400930d9c7deed843a6abe50f67b517bd3180026a0cfe949df29036a49bcaf33ab759dd958ae64d550c271150a7da
AUX flightgear-2018.3.2-cmake.patch 1322 BLAKE2B 4b68e744cf0cd7ea9582025980d055f8def5d5d1c82cabf133d4d1f9e35d501e28fdba1fca51ed409caa6398043fa52a82f68f77ce8f34a3f0a3ce45fa526352 SHA512 5ae183a04df6f12e23e87649210249a0857d5915aba40198507d2e45ee6fba6b997575df40457cb8e214b9fe9f4b81f4bec8fadb3875f1bbebf0c3181ba4fce3
AUX nasal.vim 47 BLAKE2B c3809ad7297d5811ff0b4a004295cd8e7a0984d30acc5790e5c05f5aa400c4c0723e480256e26627f67969a85e9ed91706fae9d9807e19e0566b32339a41031b SHA512 1edfa24fabbaae5037c8c521052d7013f3b29d2933d79a8381593121115229df6764219614d8d06b4058eb93cf84d9cc75773fd0864fd7a6e2aebd811e9d1afb
-DIST flightgear-2018.3.1.tar.bz2 8404294 BLAKE2B b90d64bc7381baef3adf3f2b77acb6822562d76319e85bebeda977754c281cd48b4ce137d910cc9f96947cfe1b7612c6ff45f2ed49775348b651944bb8796ba4 SHA512 ad07cdf90b1890519a22a1f79374b2d11e70191d85bc76d50913708a250801c3e091228999011367e374572a46c60f572f8b138d6a7c9fd2155f63107667d93c
-DIST flightgear-2018.3.2.tar.bz2 8405351 BLAKE2B 8abc3cc37281f1cc30c51518570e7278722f1d804f6568d7619150e7ddf13eef784314873571ea99d039ca4a94968e8e96779e26d8618eee4b1ed248e88dc52a SHA512 76a127949351fe48d847a1471002ecbc3daa769952fef7a7a141e83031771e87f4e23c329e9d03ddd2e99b4b96fb6af2ebe5ab90ca50c0111217c62492cd516d
-EBUILD flightgear-2018.3.1.ebuild 4087 BLAKE2B 0a7b0911675ce783ce24f58787eee9cf68913c1e0c6fc6d2b3314deba9c11f4b7c9827af793f406256edc134b40bfbb237007342032d9946b036998b03c1e3ce SHA512 add99296631ba12248fca84385bbd0055d28b702afae17dee1025f5dd88bb46390dd85a59c43c195ca534a866ecb9894fbd047fcf0670a03de6705209a376407
-EBUILD flightgear-2018.3.2.ebuild 4310 BLAKE2B 65312f38f62182e651ceda96a80403d4f1f3e193c6f69aac8c89a38a7402fbf8e5358fd9b1b94fc45cde89d8cef53bc6dab5d93867e202318dc435a6ebcafc35 SHA512 4f57dedad121246e8d9e7350b523f51fac5516be0b8d0c035483a16e52c1dca671a916292e0a744fe482c454262438acf49a55cf24b71be7200d6c6172f226ce
-EBUILD flightgear-9999.ebuild 4231 BLAKE2B 294cf39adb8a9ca6295d0d374efd43568bf008df536ec06c661ff158c376ffcc314203a4849aeefd53e035b16158e34ffd9f0007c8c8063570953674e4d5690e SHA512 72dcd42ac6f639774326f6ab99e391cc304cb4c08973b7e3934c2905b8da899ffda1da0dc207a019b7389733cc9987c7a1229b198d788d992c33891c058b00a8
+DIST flightgear-2019.1.1.tar.bz2 8440986 BLAKE2B da387456aaa6e8b86a8a865989f40c6bbcef4bf378175628c26fb172161cc3b278e4b16a3a270b7ed7fcf70329a88754c9a875a14f919fa90f284a485c909cce SHA512 edcc464af0bde4766e61137211276d77a6bb297567b0168dfaf3b97fdb9a595e5e8a0b84232680fcc975cf195261b9751edb79ae73123333feb31ab3d7215d8c
+EBUILD flightgear-2019.1.1.ebuild 4327 BLAKE2B 71b5479c5f2d082e765e9ec235e11c16c501430d6ae87f5b573fc94fc53e86067a80671f03b062f4823dfd961fb674199d2afa1a0195bf0d09a05c6bd95094a9 SHA512 5c02a2cdf92c826d55882983c863c0bcc623b333fd2d9235aa99a9ded4404ea9efdf9f4d6a53e0ef8c0301c6471124451494db2a91a20eb879b4c4fb7d7637ba
+EBUILD flightgear-9999.ebuild 4358 BLAKE2B 99e4fc1717e36ff393fb23de058daeca6b1837b224daea3cd0e2515b9d16f305e262e64ab4ff30ec6d88c6eed5d1c047e6be460f01eb9aef951f96aaea03411c SHA512 c443982a2dc2b33a4b3db3976ca2c6bb997fef4c0b51c290f6438a8a0a64bbd1064992a8766a13a23647395d76fbf99d01cd92599a19c5190e2628dfb83bf085
MISC metadata.xml 867 BLAKE2B b6bb892bffffec9fa00677768455fc49dd49164fae26b1c6ae70ac905feeaca79d670f4041294fb94e7c11d741a68bc6e3205e34aba5caf36da77fc808fdff8c SHA512 645a952785a101a8400be7a2608e7c71007c093c8f7cdbd0fab36f21b64ea1bbeb67e8f30404ab63841d41e5709a30570223732ebb586c780727ab0cfed0d943
diff --git a/games-simulation/flightgear/flightgear-2018.3.1.ebuild b/games-simulation/flightgear/flightgear-2018.3.1.ebuild
deleted file mode 100644
index 6e3aa9ddb610..000000000000
--- a/games-simulation/flightgear/flightgear-2018.3.1.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils bash-completion-r1 toolchain-funcs
-
-DESCRIPTION="Open Source Flight Simulator"
-HOMEPAGE="https://www.flightgear.org/"
-SRC_URI="mirror://sourceforge/flightgear/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-IUSE="dbus debug examples gdal openmp qt5 +udev +utils vim-syntax"
-
-# Needs --fg-root with path to flightgear-data passed to test runner passed,
-# not really worth patching
-RESTRICT="test"
-
-# zlib is some strange auto-dep from simgear
-COMMON_DEPEND="
- dev-db/sqlite:3
- <dev-games/openscenegraph-3.5.6:=[jpeg,png]
- ~dev-games/simgear-${PV}[gdal=]
- media-libs/openal
- >=media-libs/speex-1.2.0:0
- media-libs/speexdsp:0
- media-sound/gsm
- sys-libs/zlib
- virtual/glu
- x11-libs/libX11
- dbus? ( >=sys-apps/dbus-1.6.18-r1 )
- gdal? ( >=sci-libs/gdal-2.0.0:0 )
- qt5? (
- >=dev-qt/qtcore-5.7.1:5
- >=dev-qt/qtdeclarative-5.7.1:5
- >=dev-qt/qtgui-5.7.1:5
- >=dev-qt/qtnetwork-5.7.1:5
- >=dev-qt/qtwidgets-5.7.1:5
- )
- udev? ( virtual/udev )
- utils? (
- media-libs/freeglut
- media-libs/freetype:2
- media-libs/glew:0
- media-libs/libpng:0
- virtual/opengl
- qt5? ( >=dev-qt/qtwebsockets-5.7.1:5 )
- )
-"
-# libXi and libXmu are build-only-deps according to FindGLUT.cmake
-DEPEND="${COMMON_DEPEND}
- >=dev-libs/boost-1.44
- >=media-libs/plib-1.8.5
- utils? (
- x11-libs/libXi
- x11-libs/libXmu
- )
-"
-RDEPEND="${COMMON_DEPEND}
- ~games-simulation/${PN}-data-${PV}
-"
-
-DOCS=(AUTHORS ChangeLog NEWS README Thanks)
-
-pkg_pretend() {
- use openmp && tc-check-openmp
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_AUTOTESTING=OFF
- -DENABLE_FGCOM=$(usex utils)
- -DENABLE_FGELEV=$(usex utils)
- -DENABLE_FGJS=$(usex utils)
- -DENABLE_FGVIEWER=$(usex utils)
- -DENABLE_FLITE=OFF
- -DENABLE_GDAL=$(usex gdal)
- -DENABLE_GPSSMOOTH=$(usex utils)
- -DENABLE_HID_INPUT=$(usex udev)
- -DENABLE_JS_DEMO=$(usex utils)
- -DENABLE_JSBSIM=ON
- -DENABLE_LARCSIM=ON
- -DENABLE_METAR=$(usex utils)
- -DENABLE_OPENMP=$(usex openmp)
- -DENABLE_PLIB_JOYSTICK=ON # NOTE look for defaults changes in CMake
- -DENABLE_PROFILE=OFF
- -DENABLE_QT=$(usex qt5)
- -DENABLE_RTI=OFF
- -DENABLE_STGMERGE=ON
- -DENABLE_TERRASYNC=$(usex utils)
- -DENABLE_TRAFFIC=$(usex utils)
- -DENABLE_UIUC_MODEL=ON
- -DENABLE_YASIM=ON
- -DEVENT_INPUT=$(usex udev)
- -DFG_BUILD_TYPE=Release
- -DFG_DATA_DIR=/usr/share/${PN}
- -DJSBSIM_TERRAIN=ON
- -DOSG_FSTREAM_EXPORT_FIXED=OFF # TODO also see simgear
- -DSP_FDMS=ON
- -DSYSTEM_CPPUNIT=OFF # NOTE we do not build tests anyway
- -DSYSTEM_FLITE=ON
- -DSYSTEM_HTS_ENGINE=ON
- -DSYSTEM_SPEEX=ON
- -DSYSTEM_GSM=ON
- -DSYSTEM_SQLITE=ON
- -DUSE_AEONWAVE=OFF
- -DUSE_DBUS=$(usex dbus)
- -DWITH_FGPANEL=$(usex utils)
- )
- if use gdal && use utils; then
- mycmakeargs+=(-DENABLE_DEMCONVERT=ON)
- else
- mycmakeargs+=(-DENABLE_DEMCONVERT=OFF)
- fi
- if use qt5 && use utils; then
- mycmakeargs+=(-DENABLE_FGQCANVAS=ON)
- else
- mycmakeargs+=(-DENABLE_FGQCANVAS=OFF)
- fi
-
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- # Install bash completion (TODO zsh)
- # Uncomment below when scripts stops writing files...
-# sed -e "s|/usr/local/share/FlightGear|${GAMES_DATADIR}/${PN}|" \
-# -i scripts/completion/fg-completion.bash || die 'unable to replace FG_ROOT'
-# newbashcomp scripts/completion/fg-completion.bash ${PN}
-
- # Install examples and other misc files
- if use examples; then
- insinto /usr/share/doc/"${PF}"/examples
- doins -r scripts/java scripts/perl scripts/python
- insinto /usr/share/doc/"${PF}"/examples/c++
- doins -r scripts/example/*
- insinto /usr/share/doc/"${PF}"/tools
- doins -r scripts/atis scripts/tools/*
- fi
-
- # Install nasal script syntax
- if use vim-syntax; then
- insinto /usr/share/vim/vimfiles/syntax
- doins scripts/syntax/{ac3d,nasal}.vim
- insinto /usr/share/vim/vimfiles/ftdetect/
- doins "${FILESDIR}"/{ac3d,nasal}.vim
- fi
-}
-
-pkg_postinst() {
- einfo "Please note that data files location changed to /usr/share/flightgear"
- if use qt5; then
- einfo "To use launcher, run fgfs with '--launcher' parameter"
- fi
-}
diff --git a/games-simulation/flightgear/flightgear-2018.3.2.ebuild b/games-simulation/flightgear/flightgear-2019.1.1.ebuild
index 7b68e8112ef2..5eb17e2184a5 100644
--- a/games-simulation/flightgear/flightgear-2018.3.2.ebuild
+++ b/games-simulation/flightgear/flightgear-2019.1.1.ebuild
@@ -21,7 +21,7 @@ RESTRICT="test"
# zlib is some strange auto-dep from simgear
COMMON_DEPEND="
dev-db/sqlite:3
- <dev-games/openscenegraph-3.5.6:=[jpeg,png]
+ dev-games/openscenegraph[jpeg,png]
~dev-games/simgear-${PV}[gdal=]
media-libs/openal
>=media-libs/speex-1.2.0:0
@@ -74,6 +74,7 @@ pkg_pretend() {
src_configure() {
local mycmakeargs=(
-DENABLE_AUTOTESTING=OFF
+ -DENABLE_COMPOSITOR=OFF
-DENABLE_FGCOM=$(usex utils)
-DENABLE_FGELEV=$(usex utils)
-DENABLE_FGJS=$(usex utils)
diff --git a/games-simulation/flightgear/flightgear-9999.ebuild b/games-simulation/flightgear/flightgear-9999.ebuild
index 1dcf521d629d..6303c1ab598d 100644
--- a/games-simulation/flightgear/flightgear-9999.ebuild
+++ b/games-simulation/flightgear/flightgear-9999.ebuild
@@ -23,7 +23,7 @@ RESTRICT="test"
# zlib is some strange auto-dep from simgear
COMMON_DEPEND="
dev-db/sqlite:3
- <dev-games/openscenegraph-3.5.6:=[jpeg,png]
+ dev-games/openscenegraph[jpeg,png]
~dev-games/simgear-${PV}[gdal=]
media-libs/openal
>=media-libs/speex-1.2.0:0
@@ -76,6 +76,7 @@ pkg_pretend() {
src_configure() {
local mycmakeargs=(
-DENABLE_AUTOTESTING=OFF
+ -DENABLE_COMPOSITOR=OFF
-DENABLE_FGCOM=$(usex utils)
-DENABLE_FGELEV=$(usex utils)
-DENABLE_FGJS=$(usex utils)
@@ -114,6 +115,9 @@ src_configure() {
-DUSE_DBUS=$(usex dbus)
-DWITH_FGPANEL=$(usex utils)
)
+ if use cpu_flags_x86_sse2; then
+ append-flags -msse2 -mfpmath=sse -ftree-vectorize -ftree-slp-vectorize
+ fi
if use gdal && use utils; then
mycmakeargs+=(-DENABLE_DEMCONVERT=ON)
else