xonotic: update to 0.8.1.

This commit is contained in:
Juan RP 2015-08-30 09:15:21 +02:00
parent e1d7b14b1a
commit aa95945299

View file

@ -1,6 +1,6 @@
# Template file for 'xonotic'
pkgname=xonotic
version=0.8.0
version=0.8.1
revision=1
wrksrc="Xonotic"
homepage="http://xonotic.org"
@ -8,19 +8,20 @@ license="GPL-2, GPL-3"
distfiles="http://dl.xonotic.org/xonotic-${version}-source.zip"
short_desc="A free, fast-paced crossplatform first-person shooter"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
checksum=0ba4e05e845a0672d9c47e0ff06c6194d5eb8b2dda28ef2c90b3f2f615f4c84a
checksum=c212e31fc1de2c0b49e439e222520a424daa15e87f92a526d9a0f52d0f6c62be
nocross=yes
hostmakedepends="unzip automake libtool"
makedepends="gmp-devel MesaLib-devel SDL2-devel libcurl-devel alsa-lib-devel
libmodplug-devel libvorbis-devel libXpm-devel libjpeg-turbo-devel"
depends="desktop-file-utils xonotic-data>=${version}"
depends="desktop-file-utils xonotic-data"
do_build() {
make_build_args="SDL_CONFIG=sdl2-config DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1"
if [ "$XBPS_TARGET_MACHINE" != "i686" -a "$XBPS_TARGET_MACHINE" != "x86_64" ]; then
make_build_args+=" CFLAGS_SSE= CFLAGS_SSE2="
fi
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) ;;
*) make_build_args+=" CFLAGS_SSE= CFLAGS_SSE2=";;
esac
echo $make_build_args
make ${makejobs} -C source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" $make_build_args cl-release
make ${makejobs} -C source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" $make_build_args sdl-release