flightgear: update to 2017.3.1
This commit is contained in:
parent
be8db51f68
commit
b83bc9b5b9
1 changed files with 6 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'flightgear'
|
||||
pkgname=flightgear
|
||||
version=2017.2.1
|
||||
revision=4
|
||||
version=2017.3.1
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DFG_DATA_DIR:STRING=/usr/share/flightgear/fgdata -DSYSTEM_SQLITE=1"
|
||||
hostmakedepends="fltk pkg-config"
|
||||
|
@ -18,8 +18,8 @@ distfiles="
|
|||
$SOURCEFORGE_SITE/project/flightgear/release-${version%.*}/${pkgname}-${version}.tar.bz2
|
||||
$SOURCEFORGE_SITE/project/flightgear/release-${version%.*}/FlightGear-${version}-data.tar.bz2"
|
||||
checksum="
|
||||
c7d9a63736cafd02236707d0f8e1bb36884a1a989cf49575bad13b4cbb311f5b
|
||||
c9350e4500a1d97ebc515e7bb9e74081a8726a8fa244966543c9c67bcdacd1a4"
|
||||
6f2e1d992e2f202b8f9c918c9fb19124ef06824ea0e767e2f4dff6ba43728ccd
|
||||
df08b06e88a29a9f80f29186afd54d278636a663281a1b68e8f484bbb403d898"
|
||||
|
||||
build_options="qt"
|
||||
build_options_default="qt"
|
||||
|
@ -30,11 +30,10 @@ fi
|
|||
CXXFLAGS="-Wno-deprecated-declarations"
|
||||
|
||||
post_install() {
|
||||
vinstall package/RedHat/flightgear.desktop 644 usr/share/applications
|
||||
vinstall package/org.flightgear.FlightGear.desktop 644 usr/share/applications
|
||||
vinstall package/flightgear.ico 644 usr/share/icons
|
||||
vinstall ${FILESDIR}/flightgear.png 644 usr/share/pixmaps
|
||||
vinstall scripts/completion/fg-completion.bash 644 usr/share/bash-completion/completions/fgfs
|
||||
sed -i ${DESTDIR}/usr/share/applications/flightgear.desktop \
|
||||
sed -i ${DESTDIR}/usr/share/applications/*.desktop \
|
||||
-e "s;Exec=.*;Exec=fgfs --fg-root=/usr/share/flightgear/fgdata;"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue