30 lines
1.0 KiB
Bash
30 lines
1.0 KiB
Bash
# Template file for 'simgear'
|
|
pkgname=simgear
|
|
version=2020.3.17
|
|
revision=3
|
|
# XXX: always keep in sync with flightgear version!
|
|
build_style=cmake
|
|
configure_args="-DENABLE_TESTS=OFF -DOpenGL_GL_PREFERENCE=GLVND
|
|
-DSYSTEM_EXPAT=ON -DSYSTEM_UDNS=ON"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="boost-devel freetype-devel libjpeg-turbo-devel giflib-devel
|
|
libcurl-devel libfreeglut-devel libopenal-devel osg-devel plib-devel
|
|
liblzma-devel expat-devel udns-devel"
|
|
short_desc="Simulation engine for FlightGear"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.flightgear.org/"
|
|
distfiles="$SOURCEFORGE_SITE/project/flightgear/release-${version%.*}/${pkgname}-${version}.tar.bz2"
|
|
checksum=4c5e9cd0dcff1bd311c2460aa601230bd80abdbaec751b559c1d7147749f377c
|
|
CXXFLAGS=" -D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64"
|
|
|
|
simgear-devel_package() {
|
|
depends="simgear>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|