New package: speed-dreams-2.2.1

This commit is contained in:
cr6git 2017-12-11 06:46:10 +01:00 committed by Toyam Cox
parent f45a6d3e3a
commit aaa38e058e
2 changed files with 44 additions and 0 deletions

1
srcpkgs/speed-dreams-data Symbolic link
View File

@ -0,0 +1 @@
speed-dreams

View File

@ -0,0 +1,43 @@
# Template file for 'speed-dreams'
pkgname=speed-dreams
version=2.2.1
revision=1
_rev=r6404
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"
depends="speed-dreams-data>=${version}"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Open source motorsport simulation and racing game"
homepage="http://www.speed-dreams.org"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-base-${version}-${_rev}.tar.xz
${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-unmaintained-${version}-${_rev}.tar.xz
${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-wip-cars-and-tracks-${version}-${_rev}.tar.xz
${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-hq-cars-and-tracks-${version}-${_rev}.tar.xz
${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-more-hq-cars-and-tracks-${version}-${_rev}.tar.xz"
create_wrksrc=yes
checksum="7d5d5a616bdf8ed37de8f2ff3356e9fa6f781af36b798c08dd5eb7d5d1d4870c
a756d1b92af32fe990c247e3085c0e73ec1bd31c97e9f73a710dff0333abeb13
b5c374d9ca284de5a1bf34f94c58fecf2621560550d6cdefef2489964d39537b
787cb0b9538638fd01346ba7931e93b93eae47849ecd210dce56100b42a0a0c0
8db3e63bfc0209ca6de56e98080a7ce4b211cccef5d3d7a4d30fcb011a7fa30e"
nocross=yes
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="Segmentation fault" ;;
*) ;;
esac
speed-dreams-data_package() {
short_desc+=" - data files"
noarch=yes
pkg_install() {
vmove usr/share/speed-dreams-2
}
}