diff options
author | garbled <garbled> | 2004-02-10 09:14:34 +0000 |
---|---|---|
committer | garbled <garbled> | 2004-02-10 09:14:34 +0000 |
commit | 98bca6ec2ef8b0174444fffdfd453685d8e3708f (patch) | |
tree | e4f0ff5682a897f5d23df68314568e9f3e486363 | |
parent | 3b297e5192200ac72ca9c540245060099c948c61 (diff) | |
download | pkgsrc-98bca6ec2ef8b0174444fffdfd453685d8e3708f.tar.gz |
Add new package for cal3d-0.9.1, a 3D skeletal animation library.
-rw-r--r-- | graphics/cal3d/DESCR | 5 | ||||
-rw-r--r-- | graphics/cal3d/Makefile | 19 | ||||
-rw-r--r-- | graphics/cal3d/Makefile.common | 23 | ||||
-rw-r--r-- | graphics/cal3d/PLIST | 47 | ||||
-rw-r--r-- | graphics/cal3d/buildlink3.mk | 24 | ||||
-rw-r--r-- | graphics/cal3d/distinfo | 9 | ||||
-rw-r--r-- | graphics/cal3d/patches/patch-aa | 11 | ||||
-rw-r--r-- | graphics/cal3d/patches/patch-ab | 13 | ||||
-rw-r--r-- | graphics/cal3d/patches/patch-ac | 12 | ||||
-rw-r--r-- | graphics/cal3d/patches/patch-ad | 12 | ||||
-rw-r--r-- | graphics/cal3d/patches/patch-ae | 12 |
11 files changed, 187 insertions, 0 deletions
diff --git a/graphics/cal3d/DESCR b/graphics/cal3d/DESCR new file mode 100644 index 00000000000..216562950bc --- /dev/null +++ b/graphics/cal3d/DESCR @@ -0,0 +1,5 @@ +Cal3d is a skeletal based 3d character animation library written in C++ in +a platform-/graphic API-independent way. Originally designed to be used in a +3d client for Worldforge, it evolved into a stand-alone product which can be +used in many different kinds of projects. Check out the Cal3d FAQ for more +detailed info. diff --git a/graphics/cal3d/Makefile b/graphics/cal3d/Makefile new file mode 100644 index 00000000000..ec9d3ec85ca --- /dev/null +++ b/graphics/cal3d/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/10 09:14:34 garbled Exp $ +# + +PKGNAME= cal3d-${CAL3D_VERSION} + +.include "../../graphics/cal3d/Makefile.common" + +COMMENT= Skeletal based 3d character animation library in C++ + +USE_BUILDLINK3= yes + +pre-configure: + cd ${WRKSRC} && ./autogen.sh + +.include "../../graphics/Mesa/buildlink3.mk" + +.include "../../mk/automake.mk" +.include "../../mk/autoconf.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/cal3d/Makefile.common b/graphics/cal3d/Makefile.common new file mode 100644 index 00000000000..c9b958cf12e --- /dev/null +++ b/graphics/cal3d/Makefile.common @@ -0,0 +1,23 @@ +# $NetBSD: Makefile.common,v 1.1.1.1 2004/02/10 09:14:34 garbled Exp $ +# + +DISTNAME= cal3d-${CAL3D_VERSION} +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cal3d/} + +CAL3D_VERSION= 0.9.1 + +MAINTAINER= root@garbled.net +HOMEPAGE= http://cal3d.sourceforge.net/ +COMMENT= Skeletal based 3d character animation library in C++ + +EXTRACT_SUFX= .tar.bz2 +USE_BUILDLINK3= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +AUTOMAKE_REQD= 1.8 +AUTOMAKE_OVERRIDE= NO +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool + +.include "../../mk/autoconf.mk" +.include "../../mk/automake.mk" diff --git a/graphics/cal3d/PLIST b/graphics/cal3d/PLIST new file mode 100644 index 00000000000..05c468fdf9a --- /dev/null +++ b/graphics/cal3d/PLIST @@ -0,0 +1,47 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/10 09:14:34 garbled Exp $ +lib/libcal3d.a +lib/libcal3d.la +lib/libcal3d.so +lib/libcal3d-0.9.1.so +lib/pkgconfig/cal3d.pc +include/cal3d/buffersource.h +include/cal3d/coresubmorphtarget.h +include/cal3d/datasource.h +include/cal3d/morphtargetmixer.h +include/cal3d/streamsource.h +include/cal3d/coremorphanimation.h +include/cal3d/animation.h +include/cal3d/animation_action.h +include/cal3d/animation_cycle.h +include/cal3d/bone.h +include/cal3d/cal3d.h +include/cal3d/cal3d_wrapper.h +include/cal3d/coreanimation.h +include/cal3d/corebone.h +include/cal3d/corekeyframe.h +include/cal3d/corematerial.h +include/cal3d/coremesh.h +include/cal3d/coremodel.h +include/cal3d/coreskeleton.h +include/cal3d/coresubmesh.h +include/cal3d/coretrack.h +include/cal3d/error.h +include/cal3d/global.h +include/cal3d/loader.h +include/cal3d/matrix.h +include/cal3d/mesh.h +include/cal3d/mixer.h +include/cal3d/model.h +include/cal3d/physique.h +include/cal3d/platform.h +include/cal3d/quaternion.h +include/cal3d/renderer.h +include/cal3d/resource.h +include/cal3d/saver.h +include/cal3d/skeleton.h +include/cal3d/springsystem.h +include/cal3d/submesh.h +include/cal3d/vector.h +include/cal3d/tinyxml.h +include/cal3d/tinystr.h +@dirrm include/cal3d diff --git a/graphics/cal3d/buildlink3.mk b/graphics/cal3d/buildlink3.mk new file mode 100644 index 00000000000..321a3f32a3b --- /dev/null +++ b/graphics/cal3d/buildlink3.mk @@ -0,0 +1,24 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/02/10 09:14:34 garbled Exp $ +# +# This Makefile fragment is included by packages that use cal3d. +# +# This file was created automatically using createbuildlink-3.0. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +CAL3D_BUILDLINK3_MK:= ${CAL3D_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= cal3d +.endif + +.if !empty(CAL3D_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= cal3d +BUILDLINK_DEPENDS.cal3d?= cal3d>=0.9.1 +BUILDLINK_PKGSRCDIR.cal3d?= ../../graphics/cal3d + +.include "../../graphics/Mesa/buildlink3.mk" + +.endif # CAL3D_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/cal3d/distinfo b/graphics/cal3d/distinfo new file mode 100644 index 00000000000..995ae3cf33f --- /dev/null +++ b/graphics/cal3d/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/02/10 09:14:34 garbled Exp $ + +SHA1 (cal3d-0.9.1.tar.bz2) = 2e0765caddc972f05f70d3a255862ced1276e039 +Size (cal3d-0.9.1.tar.bz2) = 2871094 bytes +SHA1 (patch-aa) = dc308a6e7d0322a354b502d3ca6e9a01e497fa78 +SHA1 (patch-ab) = ad981dda0675e4fd83b0550a81d107bbffb73607 +SHA1 (patch-ac) = 079f524fa683faea92e44ce9f4d437cbd4b6051a +SHA1 (patch-ad) = 9c016c70610c4846c085c33ad6eabafed6385f0a +SHA1 (patch-ae) = c4be228afe745be9e97896e99cdaa9a5d1b03882 diff --git a/graphics/cal3d/patches/patch-aa b/graphics/cal3d/patches/patch-aa new file mode 100644 index 00000000000..4c487efe42b --- /dev/null +++ b/graphics/cal3d/patches/patch-aa @@ -0,0 +1,11 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/10 09:14:34 garbled Exp $ +--- src/cal3d/Makefile.am.orig Sat Nov 29 15:22:35 2003 ++++ src/cal3d/Makefile.am Thu Feb 5 13:53:40 2004 +@@ -14,6 +14,7 @@ + + all_libraries = @all_libraries@ + LDFLAGS = @LDFLAGS@ ++AM_LDFLAGS = @AM_LDFLAGS@ + + EXTRA_DIST = cal3d.rc cal3d.dsp SConscript + diff --git a/graphics/cal3d/patches/patch-ab b/graphics/cal3d/patches/patch-ab new file mode 100644 index 00000000000..439f99cf810 --- /dev/null +++ b/graphics/cal3d/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/02/10 09:14:34 garbled Exp $ +--- src/cal3d/cal3d_wrapper.h.orig Wed Aug 13 09:00:49 2003 ++++ src/cal3d/cal3d_wrapper.h Thu Feb 5 14:03:25 2004 +@@ -45,7 +45,8 @@ + // Defines for Linux, Cygwin, FreeBSD Sun and Mips // + //****************************************************************************// + +-#if defined(__linux__) \ ++#if defined(__NetBSD__) \ ++ || defined(__linux__) \ + || (__CYGWIN__) \ + || (sun) \ + || (mips) \ diff --git a/graphics/cal3d/patches/patch-ac b/graphics/cal3d/patches/patch-ac new file mode 100644 index 00000000000..ad3318930fd --- /dev/null +++ b/graphics/cal3d/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2004/02/10 09:14:34 garbled Exp $ +--- src/cal3d/buffersource.h.orig Thu Feb 5 14:00:26 2004 ++++ src/cal3d/buffersource.h Thu Feb 5 14:00:36 2004 +@@ -17,7 +17,7 @@ + + #include "cal3d/global.h" + #include "cal3d/datasource.h" +-#include <istream> ++#include <istream.h> + + /** + * CalBufferSource class. diff --git a/graphics/cal3d/patches/patch-ad b/graphics/cal3d/patches/patch-ad new file mode 100644 index 00000000000..e087e5ba525 --- /dev/null +++ b/graphics/cal3d/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.1.1.1 2004/02/10 09:14:34 garbled Exp $ +--- src/cal3d/loader.h.orig Thu Feb 5 14:01:32 2004 ++++ src/cal3d/loader.h Thu Feb 5 14:01:55 2004 +@@ -17,7 +17,7 @@ + + + #include <string> +-#include <istream> ++#include <istream.h> + #include "cal3d/global.h" + #include "cal3d/datasource.h" + diff --git a/graphics/cal3d/patches/patch-ae b/graphics/cal3d/patches/patch-ae new file mode 100644 index 00000000000..50865cb179e --- /dev/null +++ b/graphics/cal3d/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1.1.1 2004/02/10 09:14:34 garbled Exp $ +--- src/cal3d/streamsource.h.orig Thu Feb 5 14:02:27 2004 ++++ src/cal3d/streamsource.h Thu Feb 5 14:02:37 2004 +@@ -17,7 +17,7 @@ + + #include "cal3d/global.h" + #include "cal3d/datasource.h" +-#include <istream> ++#include <istream.h> + + /** + * CalStreamSource class. |