Commit 3c3e9e58 authored by Adrian Chaves Fernandez (Gallaecio)'s avatar Adrian Chaves Fernandez (Gallaecio)
Browse files

enet 1.3.12

Also rebuilt the following packages depending on it:
0ad
lipsofsuna
redeclipse
speed-dreams
supertuxkart
parent c704063c
......@@ -6,7 +6,7 @@
pkgname=0ad
pkgver=0.0.17
_pkgver=$pkgver-alpha
pkgrel=1
pkgrel=2
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
screenshot=http://www.wildfiregames.com/0ad/images/news_images/dynamic-borders.jpg
arch=('i686' 'x86_64')
......
......@@ -4,8 +4,8 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=enet
pkgver=1.3.9
pkgrel=3
pkgver=1.3.12
pkgrel=1
pkgdesc='A relatively thin, simple and robust network communication layer on top of UDP.'
arch=('i686' 'x86_64')
url='http://enet.bespin.org/'
......@@ -13,7 +13,7 @@ license=('MIT')
replaces=('enet-old')
changelog=ChangeLog
source=("http://$pkgname.bespin.org/download/$pkgname-$pkgver.tar.gz")
md5sums=('43513288d7dc5a171cb59e3e65be361c')
md5sums=('2b581600a589553c1e7684ad663f27a8')
build() {
cd $pkgname-$pkgver
......
......@@ -2,10 +2,13 @@
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
#
# Note: Using Git until a stable version of Lips of Suna supports Ogre 1.9.0.
# See: http://forum.freegamedev.net/viewtopic.php&t=550
pkgname=lipsofsuna
pkgver=0.8.0
pkgrel=2
pkgrel=3
pkgdesc="Tongue-in-cheek dungeon crawl game that takes place in the chaotic dungeons of Suna."
arch=('i686' 'x86_64')
url="http://lipsofsuna.org/"
......@@ -14,8 +17,10 @@ depends=('bullet' 'enet' 'flac' 'glew' 'inotify-tools' 'libogg' 'libvorbis' 'lua
makedepends=('python')
categories=('games')
changelog=ChangeLog
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('92bc72aab1236714e31545e930ae16bf')
#source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
#md5sums=('92bc72aab1236714e31545e930ae16bf')
source=(${pkgname}-${pkgver}::git://git.code.sf.net/p/lipsofsuna/code)
md5sums=('SKIP')
build() {
cd $srcdir/$pkgname-$pkgver
......
......@@ -5,12 +5,12 @@
pkgname=redeclipse
pkgver=1.4
pkgrel=3
pkgrel=4
pkgdesc='A first-person shooter, built as a total conversion of Cube Engine 2'
arch=(i686 x86_64)
url=http://redeclipse.net
license=(CCPL-by-sa ZLIB)
depends=(enet libgl mesa sdl sdl_image sdl_mixer zlib hicolor-icon-theme)
depends=(enet glu libgl mesa sdl sdl_image sdl_mixer zlib hicolor-icon-theme)
makedepends=('mesa' 'gzip')
categories=('games')
source=(http://downloads.sourceforge.net/$pkgname/${pkgname}_${pkgver}_nix.tar.bz2)
......
......@@ -7,12 +7,12 @@ pkgbase=speed-dreams
pkgname=('speed-dreams' 'speed-dreams-data')
pkgver=2.0.0
_pkgver=2.0.0-r4687
pkgrel=8
pkgrel=9
pkgdesc="A racing simulator with rich graphics and physics"
arch=('i686' 'x86_64')
url="http://speed-dreams.sourceforge.net/"
license=('GPL2')
depends=('enet' 'freeglut' 'libgl' 'libjpeg' 'libpng' 'libxi' 'libxmu' 'libxrandr' 'openal' 'plib' 'sdl' 'zlib')
depends=('enet' 'freeglut' 'glu' 'libgl' 'libjpeg' 'libpng' 'libxi' 'libxmu' 'libxrandr' 'openal' 'plib' 'sdl' 'zlib')
makedepends=('mesa')
categories=('games')
source=("http://downloads.sourceforge.net/project/$pkgbase/$pkgver/$pkgbase-src-base-$_pkgver.tar.xz"
......
......@@ -6,7 +6,7 @@
pkgname=supertuxkart
_pkgname=SuperTuxKart
pkgver=0.8.1
pkgrel=2
pkgrel=3
pkgdesc="Kart racing game featuring Tux and friends."
url="http://supertuxkart.sourceforge.net/"
arch=('x86_64')
......@@ -17,13 +17,11 @@ categories=('games')
changelog=ChangeLog
source=("http://downloads.sourceforge.net/project/${pkgname}/${_pkgname}/${pkgver}/${pkgname}-${pkgver}-src.tar.bz2"
"$pkgname-system-libs.diff"
"$pkgname-$pkgver-mesa.patch"
"FindEnet.cmake"
"FindIrrlicht.cmake"
"FindWiiUse.cmake")
md5sums=('aa31ecf883dc35859eec76c667f1a6d6'
'e4aba32ba949f6489654e5788584d0d5'
'a3da9be5737e6a27b48834403cfcf489'
'f63b2d5fbac6c53699aaaf97ed7f89d6'
'78735ca4da9c04422a09f385561f5d9d'
'b23cdd616cb27e2c114bbb1e3840274c')
......@@ -38,7 +36,9 @@ build() {
sed -e "s#wiiuse/wiiuse.h#wiiuse.h#" -i src/input/wiimote_manager.cpp
cp $srcdir/*.cmake cmake/
patch -uNp0 -i $srcdir/$pkgname-$pkgver-mesa.patch
cp /usr/include/GL/glext.h lib/irrlicht/source/Irrlicht/glext.h
cp /usr/include/GL/glxext.h lib/irrlicht/source/Irrlicht/glxext.h
cp /usr/include/GL/wglext.h lib/irrlicht/source/Irrlicht/wglext.h
mkdir -p build && cd build
cmake \
......
--- lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h.orig 2013-12-17 21:29:50.324711941 +0100
+++ lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h 2013-12-17 21:31:25.739819400 +0100
@@ -60,6 +60,10 @@
#endif
#include <GL/gl.h>
#include <GL/glx.h>
+ #include <GL/glxext.h>
+ #ifndef PFNGLBLENDEQUATIONPROC
+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
+ #endif
#if defined(_IRR_OPENGL_USE_EXTPOINTER_)
#include "glext.h"
#undef GLX_ARB_get_proc_address // avoid problems with local glxext.h
--- lib/irrlicht/source/Irrlicht/glxext.h.orig 2013-12-17 21:41:06.516874146 +0100
+++ lib/irrlicht/source/Irrlicht/glxext.h 2013-12-17 22:00:18.107664863 +0100
@@ -667,6 +667,8 @@
#endif /* GLX_GLXEXT_PROTOTYPES */
typedef Display * ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void);
typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value);
+
+typedef XID GLXContextID;
typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context);
typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID contextID);
typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display *dpy, GLXContext context);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment