summaryrefslogtreecommitdiffstats
path: root/games/FlightGear
diff options
context:
space:
mode:
Diffstat (limited to 'games/FlightGear')
-rw-r--r--games/FlightGear/FlightGear.SlackBuild15
-rw-r--r--games/FlightGear/FlightGear.info6
-rw-r--r--games/FlightGear/README8
3 files changed, 17 insertions, 12 deletions
diff --git a/games/FlightGear/FlightGear.SlackBuild b/games/FlightGear/FlightGear.SlackBuild
index 77920a9421..fed48f1bff 100644
--- a/games/FlightGear/FlightGear.SlackBuild
+++ b/games/FlightGear/FlightGear.SlackBuild
@@ -3,6 +3,8 @@
# Copyright before version 2016.3.1 by Diego Pantano <poplin.dp@gmail.com>
# Copyright 2016-2018 Panagiotis Nikolaou, Culver City, CA
+# Copyright 2019, 2020 Lenard Spencer, Orlando, Florida, USA
+
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +26,7 @@
PRGNAM=FlightGear
SRCNAM=flightgear
-VERSION=${VERSION:-2019.1.1}
+VERSION=${VERSION:-2020.3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
+tar xvf $CWD/$SRCNAM-${VERSION}.tar.?z*
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -80,13 +82,14 @@ find -L . \
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DEVENT_INPUT:STRING="ON" \
+ -DEVENT_INPUT="ON" \
-DFG_DATA_DIR=/usr/share/${PRGNAM} \
$OPT \
- -DCMAKE_BUILD_TYPE=Release ..
+ -DCMAKE_BUILD_TYPE=Release \
+ -DFG_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
cd ..
diff --git a/games/FlightGear/FlightGear.info b/games/FlightGear/FlightGear.info
index e5d23bc298..15c3db0072 100644
--- a/games/FlightGear/FlightGear.info
+++ b/games/FlightGear/FlightGear.info
@@ -1,8 +1,8 @@
PRGNAM="FlightGear"
-VERSION="2019.1.1"
+VERSION="2020.3.6"
HOMEPAGE="http://www.flightgear.org/"
-DOWNLOAD="https://downloads.sourceforge.net/flightgear/flightgear-2019.1.1.tar.bz2"
-MD5SUM="6a4d708cb407885dd8731f793ecec3bd"
+DOWNLOAD="https://downloads.sourceforge.net/flightgear/flightgear-2020.3.6.tar.bz2"
+MD5SUM="ba2ff86313ff8e926a6653492bae1005"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="FlightGear-data SimGear"
diff --git a/games/FlightGear/README b/games/FlightGear/README
index 592ed58ccb..40164a5f29 100644
--- a/games/FlightGear/README
+++ b/games/FlightGear/README
@@ -2,7 +2,9 @@ FlightGear is a flight-simulator created by an international group of
volunteers, and released as free, open-source GPL software.
It has been used for academic research, education, and for fun.
-To build the internal Qt launcher, you will require QT5 and libxkbcommon
-and then pass QT5=yes to the script
+To build the internal Qt launcher, you will require QT5 and then pass
+QT5=yes to the script. Otherwise, you can install either fgo or ffgo
+as a more basic launcher.
-To enable voice ATC, you will need flite (autodetected at build time).
+speex and flite are optional dependencies for voice communication
+(autodetected at build time).