warzone2100: update to 3.2.1 (for real this time)

This commit is contained in:
Jeff Huang 2016-08-03 08:23:16 +01:00
parent 80c9ca7a70
commit eed1639a4b
3 changed files with 31 additions and 15 deletions

View File

@ -12,11 +12,17 @@ depends=('libgl' 'openal' 'libjpeg' 'libpng' 'libvorbis' 'libtheora' 'libmad'
'qt5-x11extras' 'glew' 'sdl2')
makedepends=('gawk' 'bison' 'flex' 'zip' 'unzip' 'libxrandr' 'asciidoc')
conflicts=('warzone2100-dev')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('0f66b76c50c598abcc895134bd49aab5dd46dcf8135645f2505e93077402a6d9')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz"
warzone2100.appdata.xml)
sha256sums=('0f66b76c50c598abcc895134bd49aab5dd46dcf8135645f2505e93077402a6d9'
'd6fd6bf40bd72d57a2872b3e439bed04f4cd78e0a7b2993de580ed765b80cfc4')
build() {
cd ${pkgname}-${pkgver}
# Add missing file from the tarball
cp ${srcdir}/warzone2100.appdata.xml icons/
./configure \
--prefix=/usr \
--with-backend=qt \

View File

@ -1,13 +0,0 @@
diff --git a/lib/ivis_opengl/screen.cpp b/lib/ivis_opengl/screen.cpp
index d240a63..861265d 100644
--- a/lib/ivis_opengl/screen.cpp
+++ b/lib/ivis_opengl/screen.cpp
@@ -261,7 +261,7 @@ void screen_EnableMissingFunctions()
__glewUseProgram = __glewUseProgramObjectARB;
__glewGetShaderiv = __glewGetObjectParameterivARB;
__glewLinkProgram = __glewLinkProgramARB;
- __glewShaderSource = __glewShaderSourceARB;
+ __glewShaderSource = (PFNGLSHADERSOURCEPROC) __glewShaderSourceARB;
__glewUniform1f = __glewUniform1fARB;
__glewUniform1i = __glewUniform1iARB;
__glewUniform4fv = __glewUniform4fvARB;

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<application>
<id type="desktop">warzone2100.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<license>GPL-2.0+</license>
<summary>Real-Time-Strategy War Game</summary>
<name>Warzone 2100</name>
<description>
<p>
In Warzone 2100, you command the forces of The Project in a battle to rebuild the world after mankind has almost been destroyed by nuclear missiles.
</p>
<p>
The game offers campaign, multi-player, and single-player skirmish modes. An extensive tech tree with over 400 different technologies, combined with the unit design system, allows for a wide variety of possible units and tactics.
</p>
<p>
Warzone 2100 was originally developed as a commercial game by Pumpkin Studios and published in 1999, and was released as open source by them in 2004, for the community to continue working on it.
</p>
</description>
<url type="homepage">https://wz2100.net/</url>
<screenshots>
<screenshot type="default">https://wz2100.net/static/img/wz2100-CAM_3A50.png</screenshot>
</screenshots>
</application>