Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/zhu3d: ChangeLog zhu3d-4.2.2.ebuild zhu3d-4.1.8.ebuild
Date: Mon, 22 Jun 2009 08:06:08
Message-Id: E1MIeXU-0001QM-Pt@stork.gentoo.org
1 bicatali 09/06/22 08:06:04
2
3 Modified: ChangeLog
4 Added: zhu3d-4.2.2.ebuild
5 Removed: zhu3d-4.1.8.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.12 sci-visualization/zhu3d/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 13 Apr 2009 16:06:43 -0000 1.11
24 +++ ChangeLog 22 Jun 2009 08:06:04 -0000 1.12
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-visualization/zhu3d
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v 1.11 2009/04/13 16:06:43 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v 1.12 2009/06/22 08:06:04 bicatali Exp $
30 +
31 +*zhu3d-4.2.2 (22 Jun 2009)
32 +
33 + 22 Jun 2009; Sébastien Fabbro <bicatali@g.o> -zhu3d-4.1.8.ebuild,
34 + +zhu3d-4.2.2.ebuild:
35 + Version bump
36
37 *zhu3d-4.2.0 (13 Apr 2009)
38
39
40
41
42 1.1 sci-visualization/zhu3d/zhu3d-4.2.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/zhu3d-4.2.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/zhu3d-4.2.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: zhu3d-4.2.2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/zhu3d-4.2.2.ebuild,v 1.1 2009/06/22 08:06:04 bicatali Exp $
52
53 EAPI=2
54
55 inherit eutils qt4
56
57 DESCRIPTION="Interactive 3D mathematical function viewer"
58 HOMEPAGE="http://sourceforge.net/projects/zhu3d"
59 LICENSE="GPL-2"
60 SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
61
62 IUSE=""
63
64 KEYWORDS="~amd64 ~x86"
65 SLOT="0"
66
67 RDEPEND="|| ( ( x11-libs/qt-gui:4 x11-libs/qt-opengl:4 )
68 x11-libs/qt:4[opengl] )
69 virtual/glu"
70 DEPEND="${RDEPEND}
71 app-arch/unzip"
72
73 src_prepare() {
74 local datadir=/usr/share/${PN}
75 sed -i \
76 -e "s:^SYSDIR=:SYSDIR=${datadir}/system:" \
77 -e "s:^TEXDIR=:TEXDIR=${datadir}/textures:" \
78 -e "s:^WORKDIR=:WORKDIR=${datadir}/work:" \
79 -e "s:^DOCDIR=:WORKDIR=/usr/share/doc/${PF}/html:" \
80 ${PN}.pri || die "sed zhu3d.pri failed"
81 sed -i -e '/QMAKE_C/d' ${PN}.pro || die "sed zhu3d.pro for flags failed"
82 }
83
84 src_configure() {
85 eqmake4
86 }
87
88 src_install() {
89 # not working: emake install INSTALL_ROOT="${D}" || die
90 dobin zhu3d || die
91
92 dodoc {readme,src/changelog}.txt || die
93 dohtml doc/* || die
94
95 insinto /usr/share/${PN}
96 rm -f system/languages/*.ts
97 doins -r work system || die
98
99 doicon system/icons/${PN}.png || die
100 make_desktop_entry ${PN} "Zhu3D Function Viewer" ${PN} "Education;Science;Math;Qt"
101 }