diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-04-13 16:06:43 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-04-13 16:06:43 +0000 |
commit | ab842cac091c9e7d23911feeed0ae087e121f747 (patch) | |
tree | cc7d78c9b4880c7a45c68d9dc9dfa5c652e3ba55 /sci-visualization/zhu3d | |
parent | Version bump (diff) | |
download | gentoo-2-ab842cac091c9e7d23911feeed0ae087e121f747.tar.gz gentoo-2-ab842cac091c9e7d23911feeed0ae087e121f747.tar.bz2 gentoo-2-ab842cac091c9e7d23911feeed0ae087e121f747.zip |
Version bump
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/zhu3d')
-rw-r--r-- | sci-visualization/zhu3d/ChangeLog | 7 | ||||
-rw-r--r-- | sci-visualization/zhu3d/zhu3d-4.2.0.ebuild | 51 |
2 files changed, 57 insertions, 1 deletions
diff --git a/sci-visualization/zhu3d/ChangeLog b/sci-visualization/zhu3d/ChangeLog index 84ba6a80a2c5..85fad57603fc 100644 --- a/sci-visualization/zhu3d/ChangeLog +++ b/sci-visualization/zhu3d/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-visualization/zhu3d # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v 1.10 2009/01/29 11:17:40 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v 1.11 2009/04/13 16:06:43 bicatali Exp $ + +*zhu3d-4.2.0 (13 Apr 2009) + + 13 Apr 2009; Sébastien Fabbro <bicatali@gentoo.org> +zhu3d-4.2.0.ebuild: + Version bump *zhu3d-4.1.8 (29 Jan 2009) diff --git a/sci-visualization/zhu3d/zhu3d-4.2.0.ebuild b/sci-visualization/zhu3d/zhu3d-4.2.0.ebuild new file mode 100644 index 000000000000..a9916b2daa48 --- /dev/null +++ b/sci-visualization/zhu3d/zhu3d-4.2.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/zhu3d-4.2.0.ebuild,v 1.1 2009/04/13 16:06:43 bicatali Exp $ + +EAPI=2 + +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="|| ( ( x11-libs/qt-gui:4 x11-libs/qt-opengl:4 ) + x11-libs/qt:4[opengl] ) + virtual/glu" +DEPEND="${RDEPEND}" + +src_prepare() { + 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_configure() { + eqmake4 +} + +src_install() { + # not working: emake install INSTALL_ROOT="${D}" || die + dobin zhu3d || die + + dodoc {readme,src/changelog}.txt || die + dohtml doc/* || die + + insinto /usr/share/${PN} + rm -f system/languages/*.ts + doins -r work system || die + + doicon system/icons/${PN}.png || die + make_desktop_entry ${PN} "Zhu3D Function Viewer" ${PN} "Education;Science;Math;Qt" +} |