diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2015-09-17 18:37:28 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2015-09-17 18:37:28 +0200 |
commit | 3d54930664c9f0fb9b81d8207068e888691eae19 (patch) | |
tree | 4a68011b9b365c2572ace99fa017e4832b80226d | |
download | AUR-3d54930664c9f0fb9b81d8207068e888691eae19.tar.gz AUR-3d54930664c9f0fb9b81d8207068e888691eae19.tar.zst AUR-3d54930664c9f0fb9b81d8207068e888691eae19.zip |
Initial commit to AUR4
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | cal3d-gcc43.diff | 53 |
3 files changed, 95 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..fe01ad8 --- /dev/null +++ b/.SRCINFO | |||
@@ -0,0 +1,18 @@ | |||
1 | pkgbase = cal3d | ||
2 | pkgdesc = A skeletal-based 3D character animation library | ||
3 | pkgver = 0.11.0 | ||
4 | pkgrel = 6 | ||
5 | url = https://gna.org/projects/cal3d | ||
6 | arch = i686 | ||
7 | arch = x86_64 | ||
8 | license = GPL2 | ||
9 | makedepends = patch | ||
10 | depends = gcc-libs | ||
11 | options = !libtool | ||
12 | source = http://download.gna.org/cal3d/sources/cal3d-0.11.0.tar.gz | ||
13 | source = cal3d-gcc43.diff | ||
14 | md5sums = 82ad09c1c28e73bc9596aec47237bfba | ||
15 | md5sums = f290fb54f844e044ae80165f083cf58f | ||
16 | |||
17 | pkgname = cal3d | ||
18 | |||
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..c2b36ec --- /dev/null +++ b/PKGBUILD | |||
@@ -0,0 +1,24 @@ | |||
1 | pkgname=cal3d | ||
2 | pkgver=0.11.0 | ||
3 | pkgrel=6 | ||
4 | pkgdesc="A skeletal-based 3D character animation library" | ||
5 | arch=(i686 x86_64) | ||
6 | url="https://gna.org/projects/cal3d" | ||
7 | options=(!libtool) | ||
8 | license=(GPL2) | ||
9 | depends=('gcc-libs') | ||
10 | makedepends=('patch') | ||
11 | source=(http://download.gna.org/cal3d/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff) | ||
12 | md5sums=('82ad09c1c28e73bc9596aec47237bfba' | ||
13 | 'f290fb54f844e044ae80165f083cf58f') | ||
14 | build() { | ||
15 | cd "${pkgname}-$pkgver" | ||
16 | patch -p0 < ../cal3d-gcc43.diff | ||
17 | ./configure --prefix=/usr | ||
18 | make | ||
19 | } | ||
20 | |||
21 | package() { | ||
22 | cd "${pkgname}-$pkgver" | ||
23 | make DESTDIR=${pkgdir} install | ||
24 | } | ||
diff --git a/cal3d-gcc43.diff b/cal3d-gcc43.diff new file mode 100644 index 0000000..fc61235 --- /dev/null +++ b/cal3d-gcc43.diff | |||
@@ -0,0 +1,53 @@ | |||
1 | --- src/cal3d/hardwaremodel.cpp | ||
2 | +++ src/cal3d/hardwaremodel.cpp | ||
3 | @@ -24,6 +24,7 @@ | ||
4 | #include "cal3d/coreskeleton.h" | ||
5 | #include "cal3d/skeleton.h" | ||
6 | |||
7 | +#include <string.h> | ||
8 | |||
9 | /*****************************************************************************/ | ||
10 | /** Constructs the hardware model instance. | ||
11 | --- src/cal3d/platform.cpp | ||
12 | +++ src/cal3d/platform.cpp | ||
13 | @@ -18,6 +18,8 @@ | ||
14 | |||
15 | #include "cal3d/platform.h" | ||
16 | |||
17 | +#include <string.h> | ||
18 | + | ||
19 | /*****************************************************************************/ | ||
20 | /** Constructs the platform instance. | ||
21 | * | ||
22 | --- src/cal3d/renderer.cpp | ||
23 | +++ src/cal3d/renderer.cpp | ||
24 | @@ -29,6 +29,8 @@ | ||
25 | #include "cal3d/coresubmesh.h" | ||
26 | #include "cal3d/physique.h" | ||
27 | |||
28 | +#include <string.h> | ||
29 | + | ||
30 | /*****************************************************************************/ | ||
31 | /** Constructs the renderer instance. | ||
32 | * | ||
33 | --- src/cal3d/submesh.cpp | ||
34 | +++ src/cal3d/submesh.cpp | ||
35 | @@ -16,6 +16,7 @@ | ||
36 | #include "cal3d/error.h" | ||
37 | #include "cal3d/coresubmesh.h" | ||
38 | |||
39 | +#include <string.h> | ||
40 | |||
41 | CalSubmesh::CalSubmesh(CalCoreSubmesh* coreSubmesh) | ||
42 | { | ||
43 | --- src/cal3d_converter.cpp | ||
44 | +++ src/cal3d_converter.cpp | ||
45 | @@ -11,6 +11,8 @@ | ||
46 | |||
47 | #include "cal3d/cal3d.h" | ||
48 | |||
49 | +#include <strings.h> | ||
50 | + | ||
51 | #define SKELETON 0 | ||
52 | #define MESH 1 | ||
53 | #define ANIMATION 2 | ||