29 lines
982 B
Bash
29 lines
982 B
Bash
# Template file for 'simgear'
|
|
pkgname=simgear
|
|
version=2020.3.17
|
|
revision=2
|
|
# 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
|
|
|
|
simgear-devel_package() {
|
|
depends="simgear>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|