void-packages/srcpkgs/speed-dreams/template

36 lines
1.5 KiB
Bash

# Template file for 'speed-dreams'
pkgname=speed-dreams
version=2.2.2
revision=3
archs="i686* x86_64* ppc64le*"
_rev=r6553
create_wrksrc=yes
build_style=cmake
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="32aa55c17f8dafc1c54fb0d0b7b993d2688d431899cfc5db9eeece148c6887d0
9808d6d77b27cba2ca21943d1cff3c1f4022428cca4f76a2873eabe6954f4df1
d8ebe92ebeb88bdf4339de9da5fa20da3d0873a6c2776f23f18e61fc6f510b51
0b7b417d007ab3b7f0f4dcfdc868aafee1722150b81af519e1cd4c082b408183"
nocross=yes
replaces="speed-dreams-data>=0"
CFLAGS=-fpermissive
CXXFLAGS=-fpermissive
lib32disabled=yes
if [ "$XBPS_TARGET_LIBC" = musl ]; then
broken="Segmentation fault"
fi