flightgear: use system sqlite

Also unbreak aarch64.
This commit is contained in:
Alessio Sergi 2017-05-25 19:59:59 +02:00
parent 3ffe084f7a
commit b228f98883

View file

@ -1,9 +1,9 @@
# Template file for 'flightgear'
pkgname=flightgear
version=2017.2.1
revision=2
revision=3
build_style=cmake
configure_args="-DFG_DATA_DIR:STRING=/usr/share/flightgear/fgdata"
configure_args="-DFG_DATA_DIR:STRING=/usr/share/flightgear/fgdata -DSYSTEM_SQLITE=1"
hostmakedepends="fltk pkg-config"
makedepends="MesaLib-devel boost-devel freealut-devel libfreeglut-devel fltk-devel
libgsm-devel glew-devel speex-devel sqlite-devel osg-devel plib-devel libcurl-devel
@ -13,10 +13,10 @@ short_desc="Sophisticated flight simulator"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="http://www.flightgear.org/"
#_mirror=http://mirror.netcologne.de/gentoo/distfiles
distfiles="
$SOURCEFORGE_SITE/project/flightgear/release-${version%.*}/${pkgname}-${version}.tar.bz2
$SOURCEFORGE_SITE/project/flightgear/release-${version%.*}/FlightGear-${version}-data.tar.bz2"
_mirror=http://mirror.netcologne.de/gentoo/distfiles
checksum="
c7d9a63736cafd02236707d0f8e1bb36884a1a989cf49575bad13b4cbb311f5b
c9350e4500a1d97ebc515e7bb9e74081a8726a8fa244966543c9c67bcdacd1a4"
@ -30,7 +30,6 @@ esac
build_options="qt"
build_options_default="qt"
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DSIMGEAR_COMPILE_TEST_EXITCODE=0"
hostmakedepends+=" qt5-host-tools $(vopt_if qt 'qt5-devel qt5-declarative-devel')"
fi
# Suppress warnings regarding auto_ptr