From a56f7847d7a4b84cd4ec6a11756ab8f28f0bde58 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Tue, 20 May 2008 18:59:00 +0000 Subject: Version bump, adapated support for qt-4.4 (Portage version: 2.1.5) --- sci-visualization/zhu3d/ChangeLog | 8 ++++- sci-visualization/zhu3d/zhu3d-3.4.4.ebuild | 55 ----------------------------- sci-visualization/zhu3d/zhu3d-4.0.2.ebuild | 5 +-- sci-visualization/zhu3d/zhu3d-4.0.4.ebuild | 56 ++++++++++++++++++++++++++++++ 4 files changed, 66 insertions(+), 58 deletions(-) delete mode 100644 sci-visualization/zhu3d/zhu3d-3.4.4.ebuild create mode 100644 sci-visualization/zhu3d/zhu3d-4.0.4.ebuild (limited to 'sci-visualization/zhu3d') diff --git a/sci-visualization/zhu3d/ChangeLog b/sci-visualization/zhu3d/ChangeLog index bf65d6b1b80c..2eb4a019026c 100644 --- a/sci-visualization/zhu3d/ChangeLog +++ b/sci-visualization/zhu3d/ChangeLog @@ -1,6 +1,12 @@ # 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.4 2008/04/01 11:27:55 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v 1.5 2008/05/20 18:59:00 bicatali Exp $ + +*zhu3d-4.0.4 (20 May 2008) + + 20 May 2008; Sébastien Fabbro -zhu3d-3.4.4.ebuild, + zhu3d-4.0.2.ebuild, +zhu3d-4.0.4.ebuild: + Version bump, adapated support for qt-4.4 *zhu3d-4.0.2 (01 Apr 2008) diff --git a/sci-visualization/zhu3d/zhu3d-3.4.4.ebuild b/sci-visualization/zhu3d/zhu3d-3.4.4.ebuild deleted file mode 100644 index 743dad0b9930..000000000000 --- a/sci-visualization/zhu3d/zhu3d-3.4.4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# 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.4.ebuild,v 1.2 2008/03/01 16:39:31 bicatali Exp $ - -EAPI=1 - -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} Zhu3D ${PN} \ - "Education;Science;Math;Qt" -} diff --git a/sci-visualization/zhu3d/zhu3d-4.0.2.ebuild b/sci-visualization/zhu3d/zhu3d-4.0.2.ebuild index d3f243ef5656..0324b0ce2fb9 100644 --- a/sci-visualization/zhu3d/zhu3d-4.0.2.ebuild +++ b/sci-visualization/zhu3d/zhu3d-4.0.2.ebuild @@ -1,6 +1,6 @@ # 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-4.0.2.ebuild,v 1.1 2008/04/01 11:27:55 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/zhu3d-4.0.2.ebuild,v 1.2 2008/05/20 18:59:00 bicatali Exp $ EAPI=1 @@ -16,7 +16,8 @@ IUSE="" KEYWORDS="~amd64 ~x86" SLOT="0" -RDEPEND="$(qt4_min_version 4.0) +RDEPEND="|| ( >=x11-libs/qt-4.2:4 + ( x11-libs/qt-gui:4 x11-libs/qt-opengl:4 ) ) virtual/glu" DEPEND="${RDEPEND}" diff --git a/sci-visualization/zhu3d/zhu3d-4.0.4.ebuild b/sci-visualization/zhu3d/zhu3d-4.0.4.ebuild new file mode 100644 index 000000000000..326810749f64 --- /dev/null +++ b/sci-visualization/zhu3d/zhu3d-4.0.4.ebuild @@ -0,0 +1,56 @@ +# 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-4.0.4.ebuild,v 1.1 2008/05/20 18:59:00 bicatali Exp $ + +EAPI=1 + +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-4.2:4 + ( x11-libs/qt-gui:4 x11-libs/qt-opengl:4 ) ) + 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} Zhu3D ${PN} \ + "Education;Science;Math;Qt" +} -- cgit v1.2.3-65-gdbad