aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanagiotis Nikolaou <hostmaster@slackonly.com>2016-12-16 23:49:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-17 01:18:33 +0700
commit512fdb62351a2e5fa775cdb131a3113b6e1fb268 (patch)
treeeb513451d7598fb6a295675213ce620e8f91af0a
parent7438ceeee9c64c6de055c82d87370caa0ab01eac (diff)
games/FlightGear: Updated for version 2016.4.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/FlightGear/FlightGear.SlackBuild5
-rw-r--r--games/FlightGear/FlightGear.info6
-rw-r--r--games/FlightGear/README4
-rw-r--r--games/FlightGear/explicitly-link-with-libX11.patch36
4 files changed, 6 insertions, 45 deletions
diff --git a/games/FlightGear/FlightGear.SlackBuild b/games/FlightGear/FlightGear.SlackBuild
index b1d3b01bb1e1e..7737580030b0b 100644
--- a/games/FlightGear/FlightGear.SlackBuild
+++ b/games/FlightGear/FlightGear.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=FlightGear
SRCNAM=flightgear
-VERSION=${VERSION:-2016.3.1}
+VERSION=${VERSION:-2016.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -77,9 +77,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix underlinking (patch thanks to Arch Linux)
-patch -p1 < $CWD/explicitly-link-with-libX11.patch
-
mkdir -p build
cd build
cmake \
diff --git a/games/FlightGear/FlightGear.info b/games/FlightGear/FlightGear.info
index 19984a216c735..3b24a61b12a72 100644
--- a/games/FlightGear/FlightGear.info
+++ b/games/FlightGear/FlightGear.info
@@ -1,8 +1,8 @@
PRGNAM="FlightGear"
-VERSION="2016.3.1"
+VERSION="2016.4.3"
HOMEPAGE="http://www.flightgear.org/"
-DOWNLOAD="https://sourceforge.net/projects/flightgear/files/release-2016.3/flightgear-2016.3.1.tar.bz2"
-MD5SUM="70936a91c80ee18a7dd7ed663c0273e3"
+DOWNLOAD="https://heanet.dl.sourceforge.net/project/flightgear/release-2016.4/flightgear-2016.4.3.tar.bz2"
+MD5SUM="a437fff65fc1922b4410c280a78f99f9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="FlightGear-data SimGear"
diff --git a/games/FlightGear/README b/games/FlightGear/README
index c7ed4078ab965..1ed241340aa58 100644
--- a/games/FlightGear/README
+++ b/games/FlightGear/README
@@ -2,5 +2,5 @@ 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 pass
-QT5=yes to the script
+To build the internal Qt launcher, you will require QT5 and libxkbcommon
+and then pass QT5=yes to the script
diff --git a/games/FlightGear/explicitly-link-with-libX11.patch b/games/FlightGear/explicitly-link-with-libX11.patch
deleted file mode 100644
index 97a16e40a325f..0000000000000
--- a/games/FlightGear/explicitly-link-with-libX11.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 04ca64edc46cfb54ecff5bddf12370b2c7a0f192 Mon Sep 17 00:00:00 2001
-From: Fabrice Bellet <fabrice@bellet.info>
-Date: Tue, 17 Feb 2015 22:49:50 +0100
-Subject: [PATCH] explicitely link with libX11
-
----
- src/Main/CMakeLists.txt | 1 +
- utils/fgviewer/CMakeLists.txt | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/src/Main/CMakeLists.txt b/src/Main/CMakeLists.txt
-index 12c0961..78c4163 100644
---- a/src/Main/CMakeLists.txt
-+++ b/src/Main/CMakeLists.txt
-@@ -142,6 +142,7 @@ target_link_libraries(fgfs
- ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
- ${SIMGEAR_SCENE_LIBRARY_DEPENDENCIES}
- ${PLATFORM_LIBS}
-+ ${X11_X11_LIB}
- )
-
- if(ENABLE_FLITE)
-diff --git a/utils/fgviewer/CMakeLists.txt b/utils/fgviewer/CMakeLists.txt
-index 165be74..065b8f1 100644
---- a/utils/fgviewer/CMakeLists.txt
-+++ b/utils/fgviewer/CMakeLists.txt
-@@ -48,5 +48,6 @@ target_link_libraries(fgviewer
- ${OPENGL_LIBRARIES}
- ${FGVIEWER_RTI_LIBRARIES}
- ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
-+ ${X11_X11_LIB}
- )
- install(TARGETS fgviewer RUNTIME DESTINATION bin)
---
-2.1.0
-