flightgear: update to 2016.4.3
This commit is contained in:
parent
f99f3192fd
commit
550c8ba629
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'flightgear'
|
||||
pkgname=flightgear
|
||||
version=2016.4.2
|
||||
version=2016.4.3
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DFG_DATA_DIR:STRING=/usr/share/flightgear/fgdata"
|
||||
|
@ -17,8 +17,8 @@ distfiles="
|
|||
$SOURCEFORGE_SITE/project/flightgear/release-${version%.*}/${pkgname}-${version}.tar.bz2
|
||||
$SOURCEFORGE_SITE/project/flightgear/release-${version%.*}/FlightGear-${version}-data.tar.bz2"
|
||||
checksum="
|
||||
c42f3b6e3f5f15fa0b9f5b56682d50319c648f45a4671d5b58d82f2468f793b7
|
||||
f2303d4c2c9884d4858c86e1d8470af87cc1798cda482c50acff0bd8e70a2f73"
|
||||
35a9c439265e4a9caf794458bb42917d93280b2e561cc7b9a02aaba1226d2822
|
||||
e4f6b26624af3fa6cf874077a8fe2f57fc298d124a7899731946a593cd73c4f3"
|
||||
|
||||
build_options="qt"
|
||||
build_options_default="qt"
|
||||
|
@ -26,6 +26,16 @@ if [ "$CROSS_BUILD" ]; then
|
|||
configure_args+=" -DSIMGEAR_COMPILE_TEST_EXITCODE=0"
|
||||
hostmakedepends+=" qt5-host-tools $(vopt_if qt qt5-devel)"
|
||||
fi
|
||||
# Suppress warnings regarding auto_ptr
|
||||
CXXFLAGS="-Wno-deprecated-declarations"
|
||||
|
||||
post_configure() {
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
# Remove "-isystem ${XBPS_CROSS_BASE}/usr/include" from Makefiles
|
||||
find ${wrksrc}/build -iname flags.make -exec sed -i "{}" \
|
||||
-e "s;-isystem ${XBPS_CROSS_BASE}/usr/include ; ;g" \;
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall package/flightgear.desktop 644 usr/share/applications
|
||||
|
|
Loading…
Reference in New Issue