mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 05:37:01 +02:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'pioneer'
|
|
pkgname=pioneer
|
|
version=20240710
|
|
revision=1
|
|
build_style=cmake
|
|
make_build_target="all build-data"
|
|
configure_args="-DPIONEER_DATA_DIR=/usr/share/pioneer/data
|
|
-DUSE_SYSTEM_LIBLUA=ON -DUSE_SYSTEM_LIBGLEW=ON -DUSE_SSE42=OFF"
|
|
hostmakedepends="automake pkg-config"
|
|
makedepends="freetype-devel libassimp-devel libsigc++-devel
|
|
libvorbis-devel SDL2_image-devel glew-devel lua52-devel"
|
|
depends="pioneer-data>=${version}_${revision}"
|
|
short_desc="Space adventure game set in our galaxy at the turn of the 31st century"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://pioneerspacesim.net"
|
|
distfiles="https://github.com/pioneerspacesim/pioneer/archive/${version}.tar.gz"
|
|
checksum=65549552df84edaecf0c2547d01dec137282c9fe20a1299f9494b739c90ef7ed
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" pioneer-modelcompiler"
|
|
fi
|
|
|
|
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
|
broken="Not yet implemented"
|
|
fi
|
|
|
|
pioneer-modelcompiler_package() {
|
|
short_desc+=" -modelcompiler"
|
|
pkg_install() {
|
|
vmove usr/bin/modelcompiler
|
|
}
|
|
}
|
|
|
|
pioneer-data_package() {
|
|
short_desc+=" - data"
|
|
pkg_install() {
|
|
vmove usr/share/pioneer
|
|
}
|
|
}
|