diff options
author | Markus Meier <maekke@gentoo.org> | 2009-03-23 22:58:33 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2009-03-23 22:58:33 +0000 |
commit | fedb0529814733aaeba4f79c0f359a278c0e6e31 (patch) | |
tree | 64ec96d7466a01bab1ffd9d0249883cbf972b092 /media-gfx/k3d | |
parent | amd64/x86 stable, bug #263455 (diff) | |
download | gentoo-2-fedb0529814733aaeba4f79c0f359a278c0e6e31.tar.gz gentoo-2-fedb0529814733aaeba4f79c0f359a278c0e6e31.tar.bz2 gentoo-2-fedb0529814733aaeba4f79c0f359a278c0e6e31.zip |
version bump by Ryoichiro Suzuki in bug #263245
(Portage version: 2.2_rc26/cvs/Linux i686)
Diffstat (limited to 'media-gfx/k3d')
-rw-r--r-- | media-gfx/k3d/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/k3d/files/k3d-0.7.11.0-fix-potfiles.patch | 19 | ||||
-rw-r--r-- | media-gfx/k3d/k3d-0.7.11.0.ebuild | 96 | ||||
-rw-r--r-- | media-gfx/k3d/metadata.xml | 9 |
4 files changed, 129 insertions, 4 deletions
diff --git a/media-gfx/k3d/ChangeLog b/media-gfx/k3d/ChangeLog index 8613da2949e5..20fe4b8d90a3 100644 --- a/media-gfx/k3d/ChangeLog +++ b/media-gfx/k3d/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/k3d # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.41 2009/03/15 16:00:00 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/ChangeLog,v 1.42 2009/03/23 22:58:33 maekke Exp $ + +*k3d-0.7.11.0 (23 Mar 2009) + + 23 Mar 2009; Markus Meier <maekke@gentoo.org> + +files/k3d-0.7.11.0-fix-potfiles.patch, metadata.xml, + +k3d-0.7.11.0.ebuild: + version bump by Ryoichiro Suzuki in bug #263245 15 Mar 2009; Markus Meier <maekke@gentoo.org> k3d-0.6.7.0-r1.ebuild: drop librsvg dep, only needed if you call "make icons" wrt bug #258065 diff --git a/media-gfx/k3d/files/k3d-0.7.11.0-fix-potfiles.patch b/media-gfx/k3d/files/k3d-0.7.11.0-fix-potfiles.patch new file mode 100644 index 000000000000..fcba656da5cb --- /dev/null +++ b/media-gfx/k3d/files/k3d-0.7.11.0-fix-potfiles.patch @@ -0,0 +1,19 @@ +--- a/po/POTFILES.in 2009-03-20 05:29:03.000000000 +0900 ++++ b/po/POTFILES.in 2009-03-21 16:58:26.811108311 +0900 +@@ -217,7 +217,6 @@ + modules/mesh/merge_collinear_edges.cpp + modules/mesh/merge_coplanar_faces.cpp + modules/mesh/merge_mesh.cpp +-modules/mesh/mesh_stats.cpp + modules/mesh/move_first_edge.cpp + modules/mesh/sds_corner.cpp + modules/mesh/sds_crease.cpp +@@ -531,3 +530,7 @@ + uimodules/qtui/user_interface.cpp + k3dsdk/mesh_writer.h + modules/ply_io/mesh_writer.cpp ++modules/lipsync/papagayo_lipsync_reader.cpp ++modules/named_arrays/named_text_array.cpp ++modules/ngui_python_shell/dialog.cpp ++modules/xtrackcad/document_importer.cpp + diff --git a/media-gfx/k3d/k3d-0.7.11.0.ebuild b/media-gfx/k3d/k3d-0.7.11.0.ebuild new file mode 100644 index 000000000000..9c2ba9973dd7 --- /dev/null +++ b/media-gfx/k3d/k3d-0.7.11.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/k3d/k3d-0.7.11.0.ebuild,v 1.1 2009/03/23 22:58:33 maekke Exp $ + +EAPI="2" + +inherit eutils cmake-utils + +MY_P="${PN}-source-${PV}" + +DESCRIPTION="A free 3D modeling, animation, and rendering system" +HOMEPAGE="http://www.k-3d.org/" +SRC_URI="mirror://sourceforge/k3d/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="3ds cuda gnome graphviz gts imagemagick jpeg nls openexr png python tiff truetype" #TODO cgal tbb + +RDEPEND=" + dev-libs/boost + >=dev-cpp/glibmm-2.6 + >=dev-cpp/gtkmm-2.6 + dev-libs/expat + >=dev-libs/libsigc++-2.2 + media-libs/mesa + virtual/glu + virtual/opengl + >=x11-libs/gtkglext-1.0.6-r3 + x11-libs/libICE + x11-libs/libSM + x11-libs/libXmu + x11-libs/libXt + 3ds? ( media-libs/lib3ds ) + gnome? ( gnome-base/libgnome ) + graphviz? ( media-gfx/graphviz ) + gts? ( sci-libs/gts ) + imagemagick? ( media-gfx/imagemagick ) + jpeg? ( media-libs/jpeg ) + openexr? ( media-libs/openexr ) + png? ( media-libs/libpng ) + python? ( >=dev-lang/python-2.3 dev-python/cgkit ) + tiff? ( media-libs/tiff ) + truetype? ( >=media-libs/freetype-2 )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/${MY_P}" + +DOCS="AUTHORS README" + +# k3d_use_enable() +# +# $1: use flag. ON|OFF is determined by this. +# $2: part of cmake variable name which appended to the base variable name +# that is -DK3D_BUILD_$2 +# +# e.g.) k3d_use_enable gnome GNOME_MODULE #=> -DK3D_BUILD_GNOME_MODULE=ON +# +k3d_use_enable() { + echo "-DK3D_BUILD_$2=$(use $1 && echo ON || echo OFF)" +} + +k3d_use_module() { + echo "-DK3D_BUILD_$2_MODULE=$(use $1 && echo ON || echo OFF)" +} + +src_prepare() { + epatch "${FILESDIR}/${P}-fix-potfiles.patch" || die "epatch failed" + [[ -f CMakeCache.txt ]] && rm CMakeCache.txt +} + +src_configure() { + mycmakeargs=" + -DK3D_BUILD_SVG_IO_MODULE=ON + -DK3D_BUILD_CGAL_MODULE=OFF + $(k3d_use_module 3ds 3DS_IO) + $(k3d_use_module cuda CUDA) + $(k3d_use_module gnome GNOME) + $(k3d_use_module graphviz GRAPHVIZ) + $(k3d_use_module gts GTS) + $(k3d_use_module gts GTS_IO) + $(k3d_use_module imagemagick IMAGEMAGICK_IO) + $(k3d_use_module jpeg JPEG_IO) + $(k3d_use_enable nls NLS) + $(k3d_use_module openexr OPENEXR_IO) + $(k3d_use_module png PNG_IO) + $(k3d_use_module python PYTHON) + $(k3d_use_module python PYUI) + $(k3d_use_module tiff TIFF_IO) + $(k3d_use_module truetype FREETYPE2)" + + cmake-utils_src_configure +} + diff --git a/media-gfx/k3d/metadata.xml b/media-gfx/k3d/metadata.xml index 28c10502dac9..506d9f2ee06c 100644 --- a/media-gfx/k3d/metadata.xml +++ b/media-gfx/k3d/metadata.xml @@ -3,8 +3,11 @@ <pkgmetadata> <herd>graphics</herd> <use> - <flag name='plib'> - build plib-based import/export library - </flag> + <flag name='3ds'>Enable support for 3D Studio models</flag> + <flag name='cuda'>Use nvidia cuda toolkit for speeding up + computations</flag> + <flag name='gts'>Add Support for the GNU Triangulated Surface Library + <pkg>sci-libs/gts</pkg></flag> + <flag name='plib'>build plib-based import/export library</flag> </use> </pkgmetadata> |