diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-04-18 22:47:37 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-04-18 22:47:37 +0000 |
commit | c89bd71854f717387593a21faba4c2bfb979fde8 (patch) | |
tree | 3575a41719fbccb052c950306ada32c743f3e615 /media-gfx/brlcad | |
parent | Version bump. (diff) | |
download | gentoo-2-c89bd71854f717387593a21faba4c2bfb979fde8.tar.gz gentoo-2-c89bd71854f717387593a21faba4c2bfb979fde8.tar.bz2 gentoo-2-c89bd71854f717387593a21faba4c2bfb979fde8.zip |
Version bump
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/brlcad')
-rw-r--r-- | media-gfx/brlcad/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/brlcad/brlcad-7.18.4.ebuild | 94 | ||||
-rw-r--r-- | media-gfx/brlcad/metadata.xml | 8 |
3 files changed, 110 insertions, 1 deletions
diff --git a/media-gfx/brlcad/ChangeLog b/media-gfx/brlcad/ChangeLog index c2bdaac8a029..e13431e0ff97 100644 --- a/media-gfx/brlcad/ChangeLog +++ b/media-gfx/brlcad/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/brlcad # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/brlcad/ChangeLog,v 1.2 2011/03/27 19:06:12 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/brlcad/ChangeLog,v 1.3 2011/04/18 22:47:37 dilfridge Exp $ + +*brlcad-7.18.4 (18 Apr 2011) + + 18 Apr 2011; Andreas K. Huettel <dilfridge@gentoo.org> + +brlcad-7.18.4.ebuild: + Dongxu Li <dongxuli2011@gmail.com> Added dev-tcltk/tkpng to RDEPENDS, bug + 363251; version bump *brlcad-7.18.2 (27 Mar 2011) diff --git a/media-gfx/brlcad/brlcad-7.18.4.ebuild b/media-gfx/brlcad/brlcad-7.18.4.ebuild new file mode 100644 index 000000000000..c47390161d3d --- /dev/null +++ b/media-gfx/brlcad/brlcad-7.18.4.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/brlcad/brlcad-7.18.4.ebuild,v 1.1 2011/04/18 22:47:37 dilfridge Exp $ + +EAPI=3 +inherit eutils java-pkg-opt-2 + +DESCRIPTION="Constructive solid geometry modeling system" +HOMEPAGE="http://brlcad.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2 BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="benchmarks debug doc examples java opengl smp" + +RDEPEND="media-libs/libpng + sys-libs/zlib + >=sci-libs/tnt-3 + sci-libs/jama + =dev-tcltk/itcl-3.4* + =dev-tcltk/itk-3.4* + dev-tcltk/iwidgets + dev-tcltk/tkimg + dev-tcltk/tkpng + sys-libs/libtermcap-compat + media-libs/urt + x11-libs/libXt + x11-libs/libXi + java? ( >=virtual/jre-1.5 )" + +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex + java? ( >=virtual/jdk-1.5 ) + doc? ( dev-libs/libxslt )" + +BRLCAD_DIR="${EPREFIX}/usr/${PN}" + +src_configure() { + local myconf="--without-jdk" + use java && myconf="--with-jdk=$(java-config -O)" + + econf \ + --disable-strict-build \ + --prefix="${BRLCAD_DIR}" \ + --datadir="${BRLCAD_DIR}/share" \ + --mandir="${BRLCAD_DIR}/man" \ + --disable-almost-everything \ + --disable-regex-build \ + --disable-png-build \ + --disable-zlib-build \ + --disable-urt-build \ + --disable-tcl-build \ + --disable-tk-build \ + --disable-itcl-build \ + --disable-tkimg-build \ + --disable-jove-build \ + --disable-tnt-install \ + --disable-iwidgets-install \ + --enable-opennurbs-build \ + --with-ldflags="-L${EPREFIX}/usr/$(get_libdir)/itcl3.4 -L${EPREFIX}/usr/$(get_libdir)/itk3.4" \ + --with-x \ + --with-x11 \ + $(use_enable debug) \ + $(use_enable debug optimization) \ + $(use_enable debug runtime-debug) \ + $(use_enable debug verbose) \ + $(use_enable debug warnings) \ + $(use_enable debug progress) \ + $(use_enable doc documentation) \ + $(use_enable examples models-install) \ + $(use_enable smp parallel) \ + $(use_with opengl ogl) \ + ${myconf} +} + +src_test() { + emake check || die "emake check failed" + if use benchmarks; then + emake benchmark || die "emake benchmark failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + rm -f "${D}"usr/share/brlcad/{README,NEWS,AUTHORS,HACKING,INSTALL,COPYING} + dodoc AUTHORS NEWS README HACKING TODO BUGS ChangeLog + echo "PATH=\"${BRLCAD_DIR}/bin\"" > 99brlcad + echo "MANPATH=\"${BRLCAD_DIR}/man\"" >> 99brlcad + doenvd 99brlcad || die + newicon misc/macosx/Resources/ReadMe.rtfd/brlcad_logo_tiny.png brlcad.png + make_desktop_entry mged "BRL-CAD" brlcad "Graphics;Engineering" +} diff --git a/media-gfx/brlcad/metadata.xml b/media-gfx/brlcad/metadata.xml index c3f3490ea05e..cd8783ffa32e 100644 --- a/media-gfx/brlcad/metadata.xml +++ b/media-gfx/brlcad/metadata.xml @@ -2,6 +2,14 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sci</herd> +<maintainer> + <email>dongxuli2011@gmail.com</email> + <description>please assign bugs</description> +</maintainer> +<maintainer> + <email>dilfridge@gentoo.org</email> + <description>proxy-maintainer, please cc on bugs</description> +</maintainer> <longdescription lang="en"> BRL-CAD is a Combinatorial/Constructive Solid Geometry (CSG) solid modeling system that includes an interactive geometry editor, |