warzone2100: update to 3.4.0.

This commit is contained in:
Helmut Pozimski 2020-06-25 21:12:32 +02:00
parent cbdacba483
commit 099089a0a4
1 changed files with 9 additions and 13 deletions

View File

@ -1,26 +1,22 @@
# Template file for 'warzone2100'
pkgname=warzone2100
version=3.3.0
version=3.4.0
revision=1
wrksrc="warzone2100"
build_style=gnu-configure
configure_args="--with-distributor=void"
hostmakedepends="zip unzip asciidoc gettext pkg-config perl autoconf automake"
build_style=cmake
configure_args="-DWZ_ENABLE_WARNINGS_AS_ERRORS=OFF -DWZ_DISTRIBUTOR=void"
hostmakedepends="zip unzip asciidoc gettext pkg-config qt5-qmake qt5-host-tools"
makedepends="libpng-devel fribidi-devel fontconfig-devel SDL2-devel libvorbis-devel
libtheora-devel libopenal-devel glew-devel physfs-devel harfbuzz-devel
qt5-script-devel"
depends="desktop-file-utils ${pkgname}-data"
qt5-script-devel libsodium-devel libcurl-devel"
depends="desktop-file-utils warzone2100-data"
short_desc="3D realtime strategy game on a future Earth"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later"
homepage="http://wz2100.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}_src.tar.xz"
checksum=cc48c8128d17a499e833996470d843855389d9fc985c71f05be08901f33116e8
nocross="cannot run test program while cross compiling"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
distfiles="https://github.com/Warzone2100/${pkgname}/releases/download/${version}/${pkgname}_src.tar.xz"
checksum=fe0128b4fe590d29d6f03fc1bc72016448fdb282dd8d9f9fbb4403fe53e4983c
nocross="fails to detect SDL2 when cross-compiling"
warzone2100-data_package() {
archs=noarch