summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-games/simgear/Manifest2
-rw-r--r--dev-games/simgear/simgear-2020.1.2.ebuild (renamed from dev-games/simgear/simgear-2019.1.1.ebuild)6
-rw-r--r--dev-games/simgear/simgear-9999.ebuild6
-rw-r--r--games-simulation/flightgear-data/Manifest2
-rw-r--r--games-simulation/flightgear-data/flightgear-data-2020.1.2.ebuild (renamed from games-simulation/flightgear-data/flightgear-data-2019.1.1.ebuild)2
-rw-r--r--games-simulation/flightgear-data/flightgear-data-9999.ebuild2
-rw-r--r--games-simulation/flightgear/Manifest2
-rw-r--r--games-simulation/flightgear/files/flightgear-2018.3.2-cmake.patch24
-rw-r--r--games-simulation/flightgear/files/flightgear-2020.1.2-cmake.patch45
-rw-r--r--games-simulation/flightgear/flightgear-2020.1.2.ebuild (renamed from games-simulation/flightgear/flightgear-2019.1.1.ebuild)19
-rw-r--r--games-simulation/flightgear/flightgear-9999.ebuild14
11 files changed, 76 insertions, 48 deletions
diff --git a/dev-games/simgear/Manifest b/dev-games/simgear/Manifest
index 7e80f426ea0..5662c13e156 100644
--- a/dev-games/simgear/Manifest
+++ b/dev-games/simgear/Manifest
@@ -1 +1 @@
-DIST simgear-2019.1.1.tar.bz2 1370523 BLAKE2B 2f61b2b4b7716b7f15852ff68bee6b749b7daa04caa27927a53eb6d6e4346c46c835938c95436250da767efd2e8043aacc0cb444b37dacde78acada98ffdb4e8 SHA512 83fe4330cf27b9298719f53f2fccde2af77bacdc6f430cc22c8bdfb475fe9b6e01578c1225af21e4e1433c7d2f2b00427454064f942359ba4c1e9896e7fe05d2
+DIST simgear-2020.1.2.tar.bz2 1393059 BLAKE2B 62fa15d88368177e23cf52edf51e8c56252399d8f2661e518911c1093a0d7f9f11069da8d65b479f2d4b45792dcd011194e57fa99ac3991f749e8196aaff9552 SHA512 c2e835de471f374a6c33cfd1769b7079d178ee66075bfe87cc9eb1f06dc2648db93c31f62f0ac7a664703406817cb1e909a531812cb76c99cd8751eb7e6782e7
diff --git a/dev-games/simgear/simgear-2019.1.1.ebuild b/dev-games/simgear/simgear-2020.1.2.ebuild
index be0ff641626..318b7167413 100644
--- a/dev-games/simgear/simgear-2019.1.1.ebuild
+++ b/dev-games/simgear/simgear-2020.1.2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit cmake-utils toolchain-funcs flag-o-matic
+inherit cmake toolchain-funcs flag-o-matic
DESCRIPTION="Development library for simulation games"
HOMEPAGE="http://www.simgear.org/"
@@ -68,5 +68,5 @@ src_configure() {
append-flags -msse2 -mfpmath=sse
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
diff --git a/dev-games/simgear/simgear-9999.ebuild b/dev-games/simgear/simgear-9999.ebuild
index d5d56055482..b0146cf1b28 100644
--- a/dev-games/simgear/simgear-9999.ebuild
+++ b/dev-games/simgear/simgear-9999.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit eutils cmake-utils toolchain-funcs flag-o-matic git-r3
+inherit eutils cmake toolchain-funcs flag-o-matic git-r3
DESCRIPTION="Development library for simulation games"
HOMEPAGE="http://www.simgear.org/"
@@ -70,5 +70,5 @@ src_configure() {
append-flags -msse2 -mfpmath=sse
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
diff --git a/games-simulation/flightgear-data/Manifest b/games-simulation/flightgear-data/Manifest
index 001e1fa1533..35816de847b 100644
--- a/games-simulation/flightgear-data/Manifest
+++ b/games-simulation/flightgear-data/Manifest
@@ -1 +1 @@
-DIST FlightGear-2019.1.1-data.tar.bz2 1748213475 BLAKE2B 6be5021a666d8363fd97e777e0674d61875e1309a391647f6ecebcc4443d494821a737709c135dc45521ae30401479f6f74c28d7db8da992fa279ae461e16a2c SHA512 e5697f587c272036d3f5cfd7dcc7464e3eae7251e41425a91c80eabccbf711a6416a4746b5bf39a2806dc3d4f6839359483a0165899eb4ec812308b2b5da060a
+DIST FlightGear-2020.1.2-data.tar.bz2 1954932485 BLAKE2B e3f06ed6a36d2cfc6518f4a1cac4aaf28df2b7e1fb4720488dd38f3df7dfccb1cc9b48e0f216fa79db5fc3b380dcdd1161325ba0195cc14aadbc2d79fab39031 SHA512 16329d230f8cfd35dbd60aad0afc66225134e5c2f98abb89ca271837f04917f6aa876fc35868783a3a3d56c4ba1d25f429436de516a8086f4b7e296a0d352e03
diff --git a/games-simulation/flightgear-data/flightgear-data-2019.1.1.ebuild b/games-simulation/flightgear-data/flightgear-data-2020.1.2.ebuild
index 30bc1d192aa..d5d9b497664 100644
--- a/games-simulation/flightgear-data/flightgear-data-2019.1.1.ebuild
+++ b/games-simulation/flightgear-data/flightgear-data-2020.1.2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DESCRIPTION="FlightGear data files"
HOMEPAGE="https://www.flightgear.org/"
diff --git a/games-simulation/flightgear-data/flightgear-data-9999.ebuild b/games-simulation/flightgear-data/flightgear-data-9999.ebuild
index 387835083e9..27d27dcf76b 100644
--- a/games-simulation/flightgear-data/flightgear-data-9999.ebuild
+++ b/games-simulation/flightgear-data/flightgear-data-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit git-r3
diff --git a/games-simulation/flightgear/Manifest b/games-simulation/flightgear/Manifest
index ea3c7817887..2977ffa6f2d 100644
--- a/games-simulation/flightgear/Manifest
+++ b/games-simulation/flightgear/Manifest
@@ -1 +1 @@
-DIST flightgear-2019.1.1.tar.bz2 8440986 BLAKE2B da387456aaa6e8b86a8a865989f40c6bbcef4bf378175628c26fb172161cc3b278e4b16a3a270b7ed7fcf70329a88754c9a875a14f919fa90f284a485c909cce SHA512 edcc464af0bde4766e61137211276d77a6bb297567b0168dfaf3b97fdb9a595e5e8a0b84232680fcc975cf195261b9751edb79ae73123333feb31ab3d7215d8c
+DIST flightgear-2020.1.2.tar.bz2 8504580 BLAKE2B 699db9490e27b3de82bcf2903321c7ee24784e6a96285784bb449eb05fb23f3a0417d015ea10a55992c3783c0e42a2cda7e591d998532145213d1941811b1725 SHA512 a27897a1e23fe78c64717df1a86ef37dba047a1942af1dd2e4e3f3da05975bb5c524ee03444c8067551966d6a1bbfe36866f2617fa6fe1f6b957d5769c31058c
diff --git a/games-simulation/flightgear/files/flightgear-2018.3.2-cmake.patch b/games-simulation/flightgear/files/flightgear-2018.3.2-cmake.patch
deleted file mode 100644
index 97747e8b748..00000000000
--- a/games-simulation/flightgear/files/flightgear-2018.3.2-cmake.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ruN flightgear-2018.3.2/CMakeLists.txt my/CMakeLists.txt
---- flightgear-2018.3.2/CMakeLists.txt 2019-01-29 14:17:49.000000000 +0100
-+++ my/CMakeLists.txt 2019-08-18 05:29:04.762138013 +0200
-@@ -323,7 +323,7 @@
- ## Qt5 setup setup
- if (ENABLE_QT)
- message(STATUS "Qt launcher enabled, checking for Qt >= 5.4 / qmake")
-- find_package(Qt5 5.4 COMPONENTS Widgets Network Qml Quick Svg)
-+ find_package(Qt5 5.4 COMPONENTS Widgets Network Qml Quick)
- if (Qt5Widgets_FOUND)
- message(STATUS "Will enable Qt launcher GUI")
- message(STATUS " Qt5Widgets version: ${Qt5Widgets_VERSION_STRING}")
-diff -ruN flightgear-2018.3.2/src/GUI/CMakeLists.txt my/src/GUI/CMakeLists.txt
---- flightgear-2018.3.2/src/GUI/CMakeLists.txt 2019-01-29 14:17:50.000000000 +0100
-+++ my/src/GUI/CMakeLists.txt 2019-08-18 05:38:19.607822998 +0200
-@@ -127,7 +127,7 @@
- ${qml_sources})
-
- set_property(TARGET fglauncher PROPERTY AUTOMOC ON)
-- target_link_libraries(fglauncher Qt5::Core Qt5::Widgets Qt5::Network Qt5::Qml Qt5::Quick Qt5::Svg SimGearCore)
-+ target_link_libraries(fglauncher Qt5::Core Qt5::Widgets Qt5::Network Qt5::Qml Qt5::Quick SimGearCore)
- target_include_directories(fglauncher PRIVATE ${PROJECT_BINARY_DIR}/src/GUI)
-
- add_library(fgqmlui QQuickDrawable.cxx
diff --git a/games-simulation/flightgear/files/flightgear-2020.1.2-cmake.patch b/games-simulation/flightgear/files/flightgear-2020.1.2-cmake.patch
new file mode 100644
index 00000000000..f463c458b5a
--- /dev/null
+++ b/games-simulation/flightgear/files/flightgear-2020.1.2-cmake.patch
@@ -0,0 +1,45 @@
+diff -ruN flightgear-2020.1.2/CMakeLists.txt fgfs-my/CMakeLists.txt
+--- flightgear-2020.1.2/CMakeLists.txt 2020-05-24 17:14:48.000000000 +0200
++++ fgfs-my/CMakeLists.txt 2020-05-31 13:56:41.745941586 +0200
+@@ -367,7 +367,7 @@
+ ## Qt5 setup setup
+ if (ENABLE_QT)
+ message(STATUS "Qt launcher enabled, checking for Qt >= 5.4 / qmake")
+- find_package(Qt5 5.4 COMPONENTS Widgets Network Qml Quick Svg)
++ find_package(Qt5 5.4 COMPONENTS Widgets Network Qml Quick)
+ if (Qt5Widgets_FOUND)
+ message(STATUS "Will enable Qt launcher GUI")
+ set(HAVE_QT 1)
+diff -ruN flightgear-2020.1.2/CMakeModules/SetupFGFSLibraries.cmake fgfs-my/CMakeModules/SetupFGFSLibraries.cmake
+--- flightgear-2020.1.2/CMakeModules/SetupFGFSLibraries.cmake 2020-05-24 17:14:48.000000000 +0200
++++ fgfs-my/CMakeModules/SetupFGFSLibraries.cmake 2020-05-31 13:55:33.484421108 +0200
+@@ -33,15 +33,8 @@
+
+ # PkgConfig::DBUS target
+
+- if(CMAKE_VERSION VERSION_LESS 3.6)
+- if(DBUS_FOUND)
+- target_link_libraries(${target} ${DBUS_LDFLAGS})
+- endif()
+- else()
+- # PkgConfig::DBUS target
+- if(TARGET PkgConfig::DBUS)
+- target_link_libraries(${target} PkgConfig::DBUS)
+- endif()
++ if(DBUS_FOUND)
++ target_link_libraries(${target} ${DBUS_LDFLAGS})
+ endif()
+
+ if(FG_HAVE_GPERFTOOLS)
+diff -ruN flightgear-2020.1.2/src/GUI/CMakeLists.txt fgfs-my/src/GUI/CMakeLists.txt
+--- flightgear-2020.1.2/src/GUI/CMakeLists.txt 2020-05-24 17:14:48.000000000 +0200
++++ fgfs-my/src/GUI/CMakeLists.txt 2020-05-31 13:56:41.745941586 +0200
+@@ -137,7 +137,7 @@
+ ${qml_sources})
+
+ set_property(TARGET fglauncher PROPERTY AUTOMOC ON)
+- target_link_libraries(fglauncher Qt5::Core Qt5::Widgets Qt5::Network Qt5::Qml Qt5::Quick Qt5::Svg SimGearCore)
++ target_link_libraries(fglauncher Qt5::Core Qt5::Widgets Qt5::Network Qt5::Qml Qt5::Quick SimGearCore)
+ target_include_directories(fglauncher PRIVATE ${PROJECT_BINARY_DIR}/src/GUI)
+
+ add_library(fgqmlui QQuickDrawable.cxx
diff --git a/games-simulation/flightgear/flightgear-2019.1.1.ebuild b/games-simulation/flightgear/flightgear-2020.1.2.ebuild
index a8847f1ad50..d3f932dbf99 100644
--- a/games-simulation/flightgear/flightgear-2019.1.1.ebuild
+++ b/games-simulation/flightgear/flightgear-2020.1.2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit cmake-utils bash-completion-r1 toolchain-funcs
+inherit cmake bash-completion-r1 toolchain-funcs
DESCRIPTION="Open Source Flight Simulator"
HOMEPAGE="https://www.flightgear.org/"
@@ -63,7 +63,9 @@ RDEPEND="${COMMON_DEPEND}
~games-simulation/${PN}-data-${PV}
"
-PATCHES=("${FILESDIR}/${PN}-2018.3.2-cmake.patch")
+PATCHES=(
+ "${FILESDIR}/${PN}-2020.1.2-cmake.patch"
+)
DOCS=(AUTHORS ChangeLog NEWS README Thanks)
@@ -73,13 +75,13 @@ pkg_pretend() {
src_configure() {
local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=OFF
-DENABLE_AUTOTESTING=OFF
-DENABLE_COMPOSITOR=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)
@@ -95,6 +97,7 @@ src_configure() {
-DENABLE_SIMD=OFF # see CPU_FLAGS
-DENABLE_SIMD_CODE=$(usex cpu_flags_x86_sse2)
-DENABLE_STGMERGE=ON
+ -DENABLE_SWIFT=OFF # swift pilot client not packaged yet
-DENABLE_TERRASYNC=$(usex utils)
-DENABLE_TRAFFIC=$(usex utils)
-DENABLE_UIUC_MODEL=ON
@@ -106,8 +109,8 @@ src_configure() {
-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_FLITE=OFF
+ -DSYSTEM_HTS_ENGINE=OFF
-DSYSTEM_SPEEX=ON
-DSYSTEM_GSM=ON
-DSYSTEM_SQLITE=ON
@@ -129,11 +132,11 @@ src_configure() {
mycmakeargs+=(-DENABLE_FGQCANVAS=OFF)
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# Install bash completion (TODO zsh)
# Uncomment below when scripts stops writing files...
diff --git a/games-simulation/flightgear/flightgear-9999.ebuild b/games-simulation/flightgear/flightgear-9999.ebuild
index ce6c889aeb7..fcfdb4a0c9e 100644
--- a/games-simulation/flightgear/flightgear-9999.ebuild
+++ b/games-simulation/flightgear/flightgear-9999.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit cmake-utils bash-completion-r1 toolchain-funcs git-r3
+inherit cmake bash-completion-r1 toolchain-funcs git-r3
DESCRIPTION="Open Source Flight Simulator"
HOMEPAGE="https://www.flightgear.org/"
@@ -65,7 +65,9 @@ RDEPEND="${COMMON_DEPEND}
~games-simulation/${PN}-data-${PV}
"
-PATCHES=("${FILESDIR}/${PN}-2018.3.2-cmake.patch")
+PATCHES=(
+ "${FILESDIR}/${PN}-2020.1.2-cmake.patch"
+)
DOCS=(AUTHORS ChangeLog NEWS README Thanks)
@@ -75,6 +77,7 @@ pkg_pretend() {
src_configure() {
local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=OFF
-DENABLE_AUTOTESTING=OFF
-DENABLE_COMPOSITOR=OFF
-DENABLE_FGCOM=$(usex utils)
@@ -96,6 +99,7 @@ src_configure() {
-DENABLE_SIMD=OFF # see CPU_FLAGS
-DENABLE_SIMD_CODE=$(usex cpu_flags_x86_sse2)
-DENABLE_STGMERGE=ON
+ -DENABLE_SWIFT=OFF # swift pilot client not packaged yet
-DENABLE_TERRASYNC=$(usex utils)
-DENABLE_TRAFFIC=$(usex utils)
-DENABLE_UIUC_MODEL=ON
@@ -130,11 +134,11 @@ src_configure() {
mycmakeargs+=(-DENABLE_FGQCANVAS=OFF)
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# Install bash completion (TODO zsh)
# Uncomment below when scripts stops writing files...