diff options
author | Simon Haegler <simon.haegler@mistafunk.ch> | 2012-01-14 18:39:28 +0100 |
---|---|---|
committer | Simon Haegler <simon.haegler@mistafunk.ch> | 2012-01-14 18:39:28 +0100 |
commit | 9538fa171ae27a3d5050313e66ef57f418f4604f (patch) | |
tree | ab76312c26c285cd5e601d4b0744b85908d1482a /media-libs/openctm | |
parent | updated digest (diff) | |
download | mistafunk-9538fa171ae27a3d5050313e66ef57f418f4604f.tar.gz mistafunk-9538fa171ae27a3d5050313e66ef57f418f4604f.tar.bz2 mistafunk-9538fa171ae27a3d5050313e66ef57f418f4604f.zip |
adding openctm (dependency for meshlab 1.3.1)
Diffstat (limited to 'media-libs/openctm')
-rw-r--r-- | media-libs/openctm/Manifest | 3 | ||||
-rw-r--r-- | media-libs/openctm/openctm-1.0.3.ebuild | 42 |
2 files changed, 45 insertions, 0 deletions
diff --git a/media-libs/openctm/Manifest b/media-libs/openctm/Manifest new file mode 100644 index 0000000..bc5db25 --- /dev/null +++ b/media-libs/openctm/Manifest @@ -0,0 +1,3 @@ +DIST OpenCTM-1.0.3-src.tar.bz2 1507603 RMD160 4e4230037e426418fa73cc866a5ffa45adb134ec SHA1 7acfda356b3fa5393d993001ffeaa0e6aa2f65da SHA256 4a8d2608d97364f7eec56b7c637c56b9308ae98286b3e90dbb7413c90e943f1d +EBUILD openctm-1.0.3.ebuild 929 RMD160 6d76eb50d704bca1c38eaee1c743a1f6ea82ecec SHA1 1f20e50c2de2a7c3b5e31c2ddfaa7383a82eebf9 SHA256 239c8246fa45aeb433fb33e3143ac842954bfafed038a197d7796856f6a80aff +MISC openctm-1.0.3.ebuild~ 1003 RMD160 7c81fb104f334c153b83b344da4993f9b56250b9 SHA1 078944aa1dfa00fa972d2bba272323f0ddee4c6e SHA256 b5fc15d784bd0033ebe7dde1de00c8dbce9ad27529c75cc7dafde41b4a57b7d7 diff --git a/media-libs/openctm/openctm-1.0.3.ebuild b/media-libs/openctm/openctm-1.0.3.ebuild new file mode 100644 index 0000000..0c6759a --- /dev/null +++ b/media-libs/openctm/openctm-1.0.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +# TODO: unbundle tinyxml, glew, etc... + +EAPI=2 + +inherit eutils multilib qt4-r2 versionator + +MY_PF=OpenCTM-1.0.3 + +DESCRIPTION="OpenCTM - the Open Compressed Triangle Mesh file format - is a file format, a software library and a tool set for compression of 3D triangle meshes." +HOMEPAGE="http://openctm.sourceforge.net" +SRC_URI="mirror://sourceforge/openctm/${MY_PF}/${MY_PF}-src.tar.bz2" + + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND="media-libs/glew + media-libs/freeglut" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_PF} + +src_configure() { + sed -i 's/-lglut/-lglut -lGLU/g' tools/Makefile.linux +} + +src_compile() { + emake -f Makefile.linux openctm toolset +} + +src_install() { + doexe tools/bin2c + doexe tools/ctmconv + doexe tools/ctmbench + doexe tools/ctmviewer + dolib tools/libopenctm.so +} |