# Template file for 'simgear'
pkgname=simgear
version=2018.2.2
revision=2
# XXX: always keep in sync with flightgear version!
build_style=cmake
configure_args="-DENABLE_TESTS=OFF -Wdev"
hostmakedepends="pkg-config"
makedepends="boost-devel freetype-devel libjpeg-turbo-devel giflib-devel
 libcurl-devel libfreeglut-devel libopenal-devel osg-devel plib-devel"
short_desc="Simulation engine for FlightGear - static libraries"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2.0-or-later"
homepage="http://www.flightgear.org/"
distfiles="$SOURCEFORGE_SITE/project/flightgear/release-${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=f61576bc36aae36f350154749df1cee396763604c06b8a71c4b50452d9151ce5

# Suppress warnings regarding auto_ptr
CXXFLAGS="-Wno-deprecated-declarations"
