From 02ad8d6407f35fb3dd6eba15cf9c4462591b11f4 Mon Sep 17 00:00:00 2001 From: Minto van der Sluis Date: Sun, 2 Sep 2007 21:49:02 +0200 Subject: [PATCH] Added lib3ds (1.2.0) - A library for working with 3ds 3d model format. --- graphic/lib3ds/lib3ds.conf | 27 +++++++++++++++++++++++++++ graphic/lib3ds/lib3ds.desc | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 graphic/lib3ds/lib3ds.conf create mode 100644 graphic/lib3ds/lib3ds.desc diff --git a/graphic/lib3ds/lib3ds.conf b/graphic/lib3ds/lib3ds.conf new file mode 100644 index 000000000..861c69472 --- /dev/null +++ b/graphic/lib3ds/lib3ds.conf @@ -0,0 +1,27 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../lib3ds/lib3ds.conf +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +pkgprefix -t freeglut + +var_append confopt ' ' "--with-glut-cflags=-I$(pkgprefix includedir freeglut) --with-glut-libs=-L$(pkgprefix libdir freeglut)" + +var_append GCC_WRAPPER_APPEND ' ' "-I$(pkgprefix includedir freeglut) -L$(pkgprefix libdir freeglut)" + +# building 3ds to rib plugin and getting examples +lib3ds_rib() { + cd examples && make clean && make + cp 3ds2rib $root/$bindir +} + +hook_add postmake 9 "lib3ds_rib" diff --git a/graphic/lib3ds/lib3ds.desc b/graphic/lib3ds/lib3ds.desc new file mode 100644 index 000000000..a6ec7fe87 --- /dev/null +++ b/graphic/lib3ds/lib3ds.desc @@ -0,0 +1,37 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../lib3ds/lib3ds.desc +[COPY] Copyright (C) 2007 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A library for working with 3ds 3d model format + +[T] Lib3ds is a free ANSI-C library for working with the popular 3ds 3d model +[T] format. Lib3ds loads and saves atmosphere settings, background settings, +[T] shadow map settings, viewport settings, materials, cameras, lights, meshes, +[T] hierarchies, animation keyframes. It also contains useful matrix, vector +[T] and quaternion mathematics tools. Lib3ds usually integrates well with +[T] OpenGL. In addition, some diagnostic and conversion tools are included. + +[U] http://lib3ds.sourceforge.net + +[A] J.E.Hoffman +[A] Reed Hedges +[M] Minto van der Sluis + +[C] extra/graphic + +[L] GPL +[S] Stable +[V] 1.2.0 +[P] X -----5---9 400.000 + +[D] 2870507802 lib3ds-1.2.0.tar.gz http://dl.sourceforge.net/sourceforge/lib3ds/