# 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 " 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 } }