diff options
author | Daniel Drake <dsd@gentoo.org> | 2007-05-22 14:08:39 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2007-05-22 14:08:39 +0000 |
commit | 81e5adf25f03a56fcd85748827c359265e94e01b (patch) | |
tree | 6d8b978a61b5e8cbb6c21cb0135b6837635deb32 /media-gfx | |
parent | Stable on sparc wrt #179400 (diff) | |
download | gentoo-2-81e5adf25f03a56fcd85748827c359265e94e01b.tar.gz gentoo-2-81e5adf25f03a56fcd85748827c359265e94e01b.tar.bz2 gentoo-2-81e5adf25f03a56fcd85748827c359265e94e01b.zip |
New upstream release with LGPL-2.1 licensing terms
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/openmesh/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/openmesh/files/digest-openmesh-1.9.5 | 3 | ||||
-rw-r--r-- | media-gfx/openmesh/openmesh-1.9.5.ebuild | 59 |
3 files changed, 68 insertions, 1 deletions
diff --git a/media-gfx/openmesh/ChangeLog b/media-gfx/openmesh/ChangeLog index d13c0c084d5c..f9a5c7f5486d 100644 --- a/media-gfx/openmesh/ChangeLog +++ b/media-gfx/openmesh/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/openmesh # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/openmesh/ChangeLog,v 1.4 2007/02/08 15:02:57 dsd Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/openmesh/ChangeLog,v 1.5 2007/05/22 14:08:39 dsd Exp $ + +*openmesh-1.9.5 (22 May 2007) + + 22 May 2007; Daniel Drake <dsd@gentoo.org> +openmesh-1.9.5.ebuild: + New upstream release with LGPL-2.1 licensing terms *openmesh-1.9.4-r1 (08 Feb 2007) diff --git a/media-gfx/openmesh/files/digest-openmesh-1.9.5 b/media-gfx/openmesh/files/digest-openmesh-1.9.5 new file mode 100644 index 000000000000..0742b7f936fe --- /dev/null +++ b/media-gfx/openmesh/files/digest-openmesh-1.9.5 @@ -0,0 +1,3 @@ +MD5 ea25e4cc8d51d7be16cc14b97c5505e6 OpenMesh_1.9.5.tar.gz 302155 +RMD160 3ba7a3bae7001380cee07817caf99ee591e16312 OpenMesh_1.9.5.tar.gz 302155 +SHA256 cc1c6de546628e5db8a6a90d98a37f6e4b6568989b407d993c556bd4d08fc277 OpenMesh_1.9.5.tar.gz 302155 diff --git a/media-gfx/openmesh/openmesh-1.9.5.ebuild b/media-gfx/openmesh/openmesh-1.9.5.ebuild new file mode 100644 index 000000000000..f6d9cdf0ad5e --- /dev/null +++ b/media-gfx/openmesh/openmesh-1.9.5.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/openmesh/openmesh-1.9.5.ebuild,v 1.1 2007/05/22 14:08:39 dsd Exp $ + +inherit eutils + +MY_PN="OpenMesh" +MY_P=${MY_PN}_${PV} +S=${WORKDIR}/${MY_PN} +DESCRIPTION="A generic and efficient data structure for representing and manipulating polygonal meshes" +HOMEPAGE="http://www.openmesh.org/" +SRC_URI="http://www-i8.informatik.rwth-aachen.de/${MY_PN}/downloads/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qt4 debug" + +RDEPEND="qt4? ( x11-libs/qt )" +DEPEND=">=dev-util/acgmake-1.2-r2 + >=sys-apps/findutils-4.3.0 + ${RDEPEND}" + +src_unpack() { + unpack ${A} + cd ${S} + + use qt4 || sed -i "s:Apps::" ACGMakefile +} + +src_compile() { + if use debug; then + export CXXDEFS="-UNDEBUG -DDEBUG" + else + export CXXDEFS="-DNDEBUG -UDEBUG" + fi + acgmake -env || die + + # fix insecure runpaths + TMPDIR=${S} scanelf -BXRr ${S} -o /dev/null || die +} + +src_install() { + into /usr + dolib Core/Linux_gcc_env/libOpenMesh_Core.so + dolib Tools/Linux_gcc_env/libOpenMesh_Tools.so + dolib Tools/Subdivider/Adaptive/Composite/Linux_gcc_env/libOpenMesh_Tools_Subdivider_Adaptive_Composite.so + + make clean + + find . -name 'ACGMakefile' -delete + find . -name '*.vcproj' -delete + + dodir /usr/include/${MY_PN} + + cp -a Core ${D}/usr/include/${MY_PN} + cp -a Tools ${D}/usr/include/${MY_PN} +} + |