42 lines
1.6 KiB
Bash
42 lines
1.6 KiB
Bash
# Template file for 'speed-dreams'
|
|
pkgname=speed-dreams
|
|
version=2.2.2
|
|
revision=1
|
|
_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 -DCMAKE_CXX_FLAGS=-fpermissive -DCMAKE_C_FLAGS=-fpermissive"
|
|
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"
|
|
depends="speed-dreams-data>=${version}"
|
|
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
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) broken="Segmentation fault" ;;
|
|
*) ;;
|
|
esac
|
|
|
|
speed-dreams-data_package() {
|
|
short_desc+=" - data files"
|
|
archs=noarch
|
|
pkg_install() {
|
|
vmove usr/share/speed-dreams-2
|
|
}
|
|
}
|
|
|