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