diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-07-06 12:44:01 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-07-06 13:00:47 +0200 |
commit | 4f22eabc253111ab64a1878dc8e4453449de6e03 (patch) | |
tree | c3a64bf0a4de186df5892779be411019b1b6d356 /testing/xonotic | |
parent | b0e53117d9ddf1287c897c4a01fdbbaa477f7393 (diff) | |
download | aports-4f22eabc253111ab64a1878dc8e4453449de6e03.tar.bz2 aports-4f22eabc253111ab64a1878dc8e4453449de6e03.tar.xz |
testing/xonotic: upgrade to 0.8.1
Diffstat (limited to 'testing/xonotic')
-rw-r--r-- | testing/xonotic/APKBUILD | 38 |
1 files changed, 14 insertions, 24 deletions
diff --git a/testing/xonotic/APKBUILD b/testing/xonotic/APKBUILD index 459af3e110..c76de09489 100644 --- a/testing/xonotic/APKBUILD +++ b/testing/xonotic/APKBUILD @@ -2,39 +2,29 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: pkgname=xonotic -pkgver=0.8.0 +pkgver=0.8.1 pkgrel=0 pkgdesc="Game engine for Xonotic (quake1/nexuiz derivative)" url="http://www.xonotic.org/" arch="x86 x86_64" license="GPL2+" depends="xonotic-data" -depends_dev="sdl-dev mesa-dev jpeg-dev libvorbis-dev libxpm-dev libxxf86dga-dev - libxxf86vm-dev libmodplug-dev libpng-dev alsa-lib-dev" -makedepends="$depends_dev" +depends_dev="" +makedepends="sdl-dev mesa-dev jpeg-dev libvorbis-dev libxpm-dev libxxf86dga-dev + libxxf86vm-dev libmodplug-dev libpng-dev alsa-lib-dev" install="" subpackages="$pkgname-glx $pkgname-sdl" -source="http://dl.xonotic.org/xonotic-${pkgver}-source.zip +source="$pkgname-$pkgver.zip::http://dl.xonotic.org/${pkgname}-${pkgver}-source.zip xonotic-moncontrol.patch" -_builddir="$srcdir"/Xonotic -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - +builddir="$srcdir"/Xonotic build() { # msg "building Xonotic-patched QuakeC compiler" - # make -C "$_builddir"/source/fteqcc CPUOPTIMIZATIONS="${CFLAGS}" + # make -C "$builddir"/source/fteqcc CPUOPTIMIZATIONS="${CFLAGS}" local r for r in sv cl sdl; do - make -C "$_builddir"/source/darkplaces \ + make -C "$builddir"/source/darkplaces \ CPUOPTIMIZATIONS="$CFLAGS" \ DP_FS_BASEDIR="/usr/share/$pkgname" \ DP_LINK_TO_LIBJPEG=1 \ @@ -44,27 +34,27 @@ build() { package() { mkdir -p "$pkgdir"/usr/bin - install -Dm755 "$_builddir"/source/darkplaces/darkplaces-dedicated \ + install -Dm755 "$builddir"/source/darkplaces/darkplaces-dedicated \ "$pkgdir"/usr/bin/xonotic-dedicated || return 1 } sdl() { pkgdesc="$pkgdesc (SDL client)" mkdir -p "$subpkgdir"/usr/bin - install -Dm755 "$_builddir"/source/darkplaces/darkplaces-sdl \ + install -Dm755 "$builddir"/source/darkplaces/darkplaces-sdl \ "$subpkgdir"/usr/bin/xonotic-sdl || return 1 } glx() { pkgdesc="$pkgdesc (GLX client)" mkdir -p "$subpkgdir"/usr/bin - install -Dm755 "$_builddir"/source/darkplaces/darkplaces-glx \ + install -Dm755 "$builddir"/source/darkplaces/darkplaces-glx \ "$subpkgdir"/usr/bin/xonotic-glx || return 1 } -md5sums="2715a0b219239211cff9bc24d693e1c5 xonotic-0.8.0-source.zip +md5sums="8890191a21d2ea7b64447eee58b29f9f xonotic-0.8.1.zip 67b56ab2676cbc76c015fc889d7c23e3 xonotic-moncontrol.patch" -sha256sums="0ba4e05e845a0672d9c47e0ff06c6194d5eb8b2dda28ef2c90b3f2f615f4c84a xonotic-0.8.0-source.zip +sha256sums="c212e31fc1de2c0b49e439e222520a424daa15e87f92a526d9a0f52d0f6c62be xonotic-0.8.1.zip b745ba7c58f3c18b53464f6142c1c4552bda1c131b796453c633b4a91892040e xonotic-moncontrol.patch" -sha512sums="9d150fce57aa567e5b2dec420c727b8867b2df38651743261533dd0654a59aa7830a441d672b2c605a2ce4869171a4728ee0b035a2da95bef870f9c084e64620 xonotic-0.8.0-source.zip +sha512sums="50449e401672bee8cf90072c5d223d6e40548085dddee5101fd8cbe89cc892bdc25acfce755c6128feaccde449f1dd8e598457359e4dcbb3b49d9aed02c28716 xonotic-0.8.1.zip d74a1d1421dc68dbf46595510cea463382e69c8421110cd7b187419530dbfe9d262d9b65843b89b49aa91d9e32041e11941e411fe52f2dcb0ede18311ab821ec xonotic-moncontrol.patch" |