[arch-commits] Commit in warzone2100/repos (6 files)

Felix Yan fyan at archlinux.org
Tue Sep 29 03:05:19 UTC 2015


    Date: Tuesday, September 29, 2015 @ 05:05:19
  Author: fyan
Revision: 142174

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  warzone2100/repos/community-staging-i686/
  warzone2100/repos/community-staging-i686/PKGBUILD
    (from rev 142173, warzone2100/trunk/PKGBUILD)
  warzone2100/repos/community-staging-i686/buildfix.patch
    (from rev 142173, warzone2100/trunk/buildfix.patch)
  warzone2100/repos/community-staging-x86_64/
  warzone2100/repos/community-staging-x86_64/PKGBUILD
    (from rev 142173, warzone2100/trunk/PKGBUILD)
  warzone2100/repos/community-staging-x86_64/buildfix.patch
    (from rev 142173, warzone2100/trunk/buildfix.patch)

-----------------------------------------+
 community-staging-i686/PKGBUILD         |   37 ++++++++++++++++++++++++++++++
 community-staging-i686/buildfix.patch   |   13 ++++++++++
 community-staging-x86_64/PKGBUILD       |   37 ++++++++++++++++++++++++++++++
 community-staging-x86_64/buildfix.patch |   13 ++++++++++
 4 files changed, 100 insertions(+)

Copied: warzone2100/repos/community-staging-i686/PKGBUILD (from rev 142173, warzone2100/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-29 03:05:19 UTC (rev 142174)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
+
+pkgname=warzone2100
+pkgver=3.1.2
+pkgrel=3
+pkgdesc="3D realtime strategy game on a future Earth"
+url="http://wz2100.net/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('sdl' 'glew' 'fribidi' 'openal' 'libvorbis' 'libtheora' 'physfs' 'ttf-dejavu' 'qt4')
+makedepends=('gawk' 'flex' 'zip' 'unzip' 'asciidoc' 'mesa')
+source=("http://downloads.sourceforge.net/project/warzone2100/releases/${pkgver}/${pkgname}-${pkgver}.tar.xz"
+        'buildfix.patch')
+md5sums=('4e947125e9604821164f1ad9d1922447'
+         '7503052fc52d1cea0bae275db33544e6')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  patch -p1 -i ../buildfix.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --with-distributor="Archlinux"
+
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  make DESTDIR=${pkgdir} install
+}

Copied: warzone2100/repos/community-staging-i686/buildfix.patch (from rev 142173, warzone2100/trunk/buildfix.patch)
===================================================================
--- community-staging-i686/buildfix.patch	                        (rev 0)
+++ community-staging-i686/buildfix.patch	2015-09-29 03:05:19 UTC (rev 142174)
@@ -0,0 +1,13 @@
+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;

Copied: warzone2100/repos/community-staging-x86_64/PKGBUILD (from rev 142173, warzone2100/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-29 03:05:19 UTC (rev 142174)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
+
+pkgname=warzone2100
+pkgver=3.1.2
+pkgrel=3
+pkgdesc="3D realtime strategy game on a future Earth"
+url="http://wz2100.net/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('sdl' 'glew' 'fribidi' 'openal' 'libvorbis' 'libtheora' 'physfs' 'ttf-dejavu' 'qt4')
+makedepends=('gawk' 'flex' 'zip' 'unzip' 'asciidoc' 'mesa')
+source=("http://downloads.sourceforge.net/project/warzone2100/releases/${pkgver}/${pkgname}-${pkgver}.tar.xz"
+        'buildfix.patch')
+md5sums=('4e947125e9604821164f1ad9d1922447'
+         '7503052fc52d1cea0bae275db33544e6')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+
+  patch -p1 -i ../buildfix.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --with-distributor="Archlinux"
+
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  make DESTDIR=${pkgdir} install
+}

Copied: warzone2100/repos/community-staging-x86_64/buildfix.patch (from rev 142173, warzone2100/trunk/buildfix.patch)
===================================================================
--- community-staging-x86_64/buildfix.patch	                        (rev 0)
+++ community-staging-x86_64/buildfix.patch	2015-09-29 03:05:19 UTC (rev 142174)
@@ -0,0 +1,13 @@
+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;



More information about the arch-commits mailing list