Commit fdda59fc authored by Adrián Chaves Fernández (Gallaecio)'s avatar Adrián Chaves Fernández (Gallaecio)
Browse files

Added DccNiTghtMare, based on Arch Linux PKGBUILD.

parent c8e86650
2010-10-24 Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
* 0.11.0-1 :
Imported from Arch Linux's AUR:
http://aur.archlinux.org/packages.php?ID=10105
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=cal3d
pkgver=0.11.0
pkgrel=1
pkgdesc="A skeletal-based 3D character animation library."
arch=('i686' 'x86_64')
url="https://gna.org/projects/cal3d"
license=('GPL2')
depends=('gcc-libs')
makedepends=('patch')
changelog=ChangeLog
source=("http://download.gna.org/$pkgname/sources/$pkgname-$pkgver.tar.gz"
"cal3d-gcc43.diff")
md5sums=('82ad09c1c28e73bc9596aec47237bfba'
'f290fb54f844e044ae80165f083cf58f')
build() {
cd $srcdir/$pkgname-$pkgver
patch -p0 < ../cal3d-gcc43.diff
./configure \
--prefix=/usr
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}
--- src/cal3d/hardwaremodel.cpp
+++ src/cal3d/hardwaremodel.cpp
@@ -24,6 +24,7 @@
#include "cal3d/coreskeleton.h"
#include "cal3d/skeleton.h"
+#include <string.h>
/*****************************************************************************/
/** Constructs the hardware model instance.
--- src/cal3d/platform.cpp
+++ src/cal3d/platform.cpp
@@ -18,6 +18,8 @@
#include "cal3d/platform.h"
+#include <string.h>
+
/*****************************************************************************/
/** Constructs the platform instance.
*
--- src/cal3d/renderer.cpp
+++ src/cal3d/renderer.cpp
@@ -29,6 +29,8 @@
#include "cal3d/coresubmesh.h"
#include "cal3d/physique.h"
+#include <string.h>
+
/*****************************************************************************/
/** Constructs the renderer instance.
*
--- src/cal3d/submesh.cpp
+++ src/cal3d/submesh.cpp
@@ -16,6 +16,7 @@
#include "cal3d/error.h"
#include "cal3d/coresubmesh.h"
+#include <string.h>
CalSubmesh::CalSubmesh(CalCoreSubmesh* coreSubmesh)
{
--- src/cal3d_converter.cpp
+++ src/cal3d_converter.cpp
@@ -11,6 +11,8 @@
#include "cal3d/cal3d.h"
+#include <strings.h>
+
#define SKELETON 0
#define MESH 1
#define ANIMATION 2
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=dccnitghtmare
pkgver=0.7
pkgrel=1
pkgdesc="A sarcastic 3D single player RPG set in a post-apocalyptical world."
arch=('i686' 'x86_64')
url="http://dnt.dnteam.org/"
license=('custom:code:GPL' 'custom:media:GPL, CC:BY-SA or Public Domain' )
depends=('cal3d' 'mesa' 'libgl' 'libvorbis' 'openal' 'sdl' 'sdl_image' 'sdl_ttf')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
md5sums=('fd015add7670b99ef1e0761544e90d40')
build() {
cd $srcdir/$pkgname
./configure \
--prefix=/usr \
LDFLAGS=""
make \
LDFLAGS=""
}
package() {
cd $srcdir/$pkgname
mkdir -p $pkgdir/usr/bin
make prefix=$pkgdir/usr install
}
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