void-packages/srcpkgs/simgear/template

23 lines
956 B
Bash

# Template file for 'simgear'
pkgname=simgear
version=2016.4.3
revision=1
# 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"
homepage="http://www.flightgear.org/"
distfiles="$SOURCEFORGE_SITE/project/flightgear/release-${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=6933550215818c2043b84df01b6bf5f7adef218c8648b510b8202e394003d2bd
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="/builddir/simgear-2016.4.3/simgear/scene/model/particles.cxx:132:14: internal compiler error: Segmentation fault"
esac
# Suppress warnings regarding auto_ptr
CXXFLAGS="-Wno-deprecated-declarations"