void-packages/srcpkgs/speed-dreams/template

31 lines
1.4 KiB
Bash

# Template file for 'speed-dreams'
pkgname=speed-dreams
version=2.2.3
revision=2
_rev=r7616
archs="i686* x86_64* ppc64le* aarch64*"
create_wrksrc=yes
build_style=cmake
build_helper=qemu
configure_args="-DSD_BINDIR=/usr/bin -DSD_DATADIR=/usr/share/speed-dreams-2
-DSD_LIBDIR=/usr/lib/speed-dreams-2 -DOPTION_OFFICIAL_ONLY=ON -Wno-dev"
hostmakedepends="pkg-config"
makedepends="freealut-devel libenet-devel libfreeglut-devel libjpeg-turbo-devel
libpng-devel libvorbis-devel libXrandr-devel osg-devel plib-devel SDL2-devel
libcurl-devel"
short_desc="Open source motorsport simulation and racing game"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.speed-dreams.org"
distfiles="${SOURCEFORGE_SITE}/speed-dreams/speed-dreams-src-base-${version}-${_rev}.tar.xz
${SOURCEFORGE_SITE}/speed-dreams/speed-dreams-src-wip-cars-and-tracks-${version}-${_rev}.tar.xz
${SOURCEFORGE_SITE}/speed-dreams/speed-dreams-src-hq-cars-and-tracks-${version}-${_rev}.tar.xz
${SOURCEFORGE_SITE}/speed-dreams/speed-dreams-src-more-hq-cars-and-tracks-${version}-${_rev}.tar.xz"
checksum="1af07c483641f548af252b107cc3289fd37931445dc533b0b1a3781745d05021
aff20e49ff94660d9ef962079f640d0ceeaa414869209be1ec41768d0ee5cb20
06eaf2094bc10fbaca980a4236c4e444dd14275aba3f7b1d62b4b3a53a9d4c77
19208761b252df9db200c733cecb3bb584905f02d057af2bbff5e4c86cbe1a86"
replaces="speed-dreams-data>=0"
LDFLAGS="-Wl,--no-as-needed -Wl,-z,stack-size=2097152"
lib32disabled=yes