summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-02-08 17:19:08 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-02-08 17:19:08 +0000
commit73dd5f7890f212d5a0c669f3b47cbb5b6751f257 (patch)
treec4bb8a6540cba58f55363986532d2b57158f9e6d
parentUse slot 1.7 of commons-beanutils. (diff)
downloadhistorical-73dd5f7890f212d5a0c669f3b47cbb5b6751f257.tar.gz
historical-73dd5f7890f212d5a0c669f3b47cbb5b6751f257.tar.bz2
historical-73dd5f7890f212d5a0c669f3b47cbb5b6751f257.zip
Initial import. Thanks dev-zero for his work. Closing bug #142178.
Package-Manager: portage-2.1.4.1
-rw-r--r--sci-visualization/zhu3d/ChangeLog10
-rw-r--r--sci-visualization/zhu3d/Manifest14
-rw-r--r--sci-visualization/zhu3d/metadata.xml13
-rw-r--r--sci-visualization/zhu3d/zhu3d-3.4.2.ebuild53
4 files changed, 90 insertions, 0 deletions
diff --git a/sci-visualization/zhu3d/ChangeLog b/sci-visualization/zhu3d/ChangeLog
new file mode 100644
index 000000000000..f32854e3a6c5
--- /dev/null
+++ b/sci-visualization/zhu3d/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-visualization/zhu3d
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v 1.1 2008/02/08 17:19:08 bicatali Exp $
+
+*zhu3d-3.4.2 (08 Feb 2008)
+
+ 08 Feb 2008; SĂ©bastien Fabbro <bicatali@gentoo.org> +metadata.xml,
+ +zhu3d-3.4.2.ebuild:
+ Initial import. Thanks dev-zero for his work. Closing bug #142178.
+
diff --git a/sci-visualization/zhu3d/Manifest b/sci-visualization/zhu3d/Manifest
new file mode 100644
index 000000000000..b82b340bef4f
--- /dev/null
+++ b/sci-visualization/zhu3d/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST zhu3d-3.4.2.tar.gz 764662 RMD160 0ef3c084e697fdb371c3a84d27e6cd72232de38d SHA1 f7317404ff563b9fa193aabf1c4ea3c2bc8f7641 SHA256 2f93a4cc92b0ab0e56e8d8776e6a50b884bb89ef89c4c18057466ce29117f96b
+EBUILD zhu3d-3.4.2.ebuild 1298 RMD160 796d332300ef77a49a8fccbbe64466ca9307c930 SHA1 e8ef54343f601b837838279609df96c597f5ee6d SHA256 129642a3750df9c6f79baf22dc6297315eb510e706bd538a305a2dbef270c602
+MISC ChangeLog 412 RMD160 b156c9037d4e743a0e45b42254ba6994a1f7478b SHA1 fb496968658a3843e9791ac6a97e9418db945d68 SHA256 00ed6fef6cd612b32fd8b339ece905f9bfcae5611b45e35e3df0594f9fb25c38
+MISC metadata.xml 626 RMD160 e4b4b6bb1ffaabe89c4ab8fb3fb56481b06f53f6 SHA1 5c06fda3cd449a5bbe5c2cd185ca469468ac47d9 SHA256 e53cbaae0bd1770ab05ded6d02bc32fb9dfbb387f81efefc31469f8d35086e01
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHrI8V1ycZbhPLE2ARAhRKAJ0bzFTKe9yKJew+dcyDjvRSPaOrugCfcR6G
+YVp//9fqypq6cnmuJt2ap40=
+=1qKh
+-----END PGP SIGNATURE-----
diff --git a/sci-visualization/zhu3d/metadata.xml b/sci-visualization/zhu3d/metadata.xml
new file mode 100644
index 000000000000..88f33bf9cd06
--- /dev/null
+++ b/sci-visualization/zhu3d/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-mathematics</herd>
+<longdescription lang="en">
+ Zhu3D allows you to interactively view and animate mathematical
+ functions, isosurfaces and a further independent parametric system.
+ Numerical solutions of equation systems are found with an adaptive
+ random search. The OpenGL-viewer supports zooming, scaling, rotating
+ and translating as well as filed lightning or surface properties.
+ Special effects are transparency, textures, fog and motion blur.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-visualization/zhu3d/zhu3d-3.4.2.ebuild b/sci-visualization/zhu3d/zhu3d-3.4.2.ebuild
new file mode 100644
index 000000000000..2867533339ef
--- /dev/null
+++ b/sci-visualization/zhu3d/zhu3d-3.4.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/zhu3d-3.4.2.ebuild,v 1.1 2008/02/08 17:19:08 bicatali Exp $
+
+inherit eutils qt4
+
+DESCRIPTION="Interactive 3D mathematical function viewer"
+HOMEPAGE="http://sourceforge.net/projects/zhu3d"
+LICENSE="GPL-2"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+IUSE=""
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+RDEPEND="$(qt4_min_version 4.0)
+ virtual/glu"
+DEPEND="${RDEPEND}"
+
+QT4_BUILT_WITH_USE_CHECK="opengl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ local datadir=/usr/share/${PN}
+ sed -i \
+ -e "s:^SYSDIR=:SYSDIR=${datadir}/system:" \
+ -e "s:^TEXDIR=:TEXDIR=${datadir}/textures:" \
+ -e "s:^WORKDIR=:WORKDIR=${datadir}/work:" \
+ -e "s:^DOCDIR=:WORKDIR=/usr/share/doc/${PF}/html:" \
+ ${PN}.pri || die "sed zhu3d.pri failed"
+}
+
+src_compile() {
+ eqmake4 || die "eqmake4 failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ # not working: emake install INSTALL_ROOT="${D}"
+ dobin zhu3d || die
+
+ dodoc {readme,src/changelog}.txt || die
+ dohtml doc/* || die
+
+ insinto /usr/share/${PN}
+ doins -r work system || die
+
+ doicon system/icons/${PN}.png || die
+ make_desktop_entry ${PN} "${DESCRIPTION}" ${PN}.png \
+ "Education;Science;Math;Qt"
+}