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.0.2.ebuild zhu3d-3.4.2.ebuild
Date: Tue, 01 Apr 2008 11:27:59
Message-Id: E1Jgeeh-0007VD-Vd@stork.gentoo.org
1 bicatali 08/04/01 11:27:55
2
3 Modified: ChangeLog
4 Added: zhu3d-4.0.2.ebuild
5 Removed: zhu3d-3.4.2.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.4 sci-visualization/zhu3d/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 1 Mar 2008 15:49:12 -0000 1.3
24 +++ ChangeLog 1 Apr 2008 11:27:55 -0000 1.4
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-visualization/zhu3d
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v 1.3 2008/03/01 15:49:12 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v 1.4 2008/04/01 11:27:55 bicatali Exp $
30 +
31 +*zhu3d-4.0.2 (01 Apr 2008)
32 +
33 + 01 Apr 2008; S├ębastien Fabbro <bicatali@g.o> -zhu3d-3.4.2.ebuild,
34 + +zhu3d-4.0.2.ebuild:
35 + Version bump
36
37 *zhu3d-3.4.4 (01 Mar 2008)
38
39
40
41
42 1.1 sci-visualization/zhu3d/zhu3d-4.0.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/zhu3d-4.0.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/zhu3d-4.0.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: zhu3d-4.0.2.ebuild
48 ===================================================================
49 # Copyright 1999-2008 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.0.2.ebuild,v 1.1 2008/04/01 11:27:55 bicatali Exp $
52
53 EAPI=1
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}.tar.gz"
61
62 IUSE=""
63
64 KEYWORDS="~amd64 ~x86"
65 SLOT="0"
66
67 RDEPEND="$(qt4_min_version 4.0)
68 virtual/glu"
69 DEPEND="${RDEPEND}"
70
71 QT4_BUILT_WITH_USE_CHECK="opengl"
72
73 src_unpack() {
74 unpack ${A}
75 cd "${S}"
76 local datadir=/usr/share/${PN}
77 sed -i \
78 -e "s:^SYSDIR=:SYSDIR=${datadir}/system:" \
79 -e "s:^TEXDIR=:TEXDIR=${datadir}/textures:" \
80 -e "s:^WORKDIR=:WORKDIR=${datadir}/work:" \
81 -e "s:^DOCDIR=:WORKDIR=/usr/share/doc/${PF}/html:" \
82 ${PN}.pri || die "sed zhu3d.pri failed"
83 }
84
85 src_compile() {
86 eqmake4 || die "eqmake4 failed"
87 emake || die "emake failed"
88 }
89
90 src_install() {
91 # not working: emake install INSTALL_ROOT="${D}"
92 dobin zhu3d || die
93
94 dodoc {readme,src/changelog}.txt || die
95 dohtml doc/* || die
96
97 insinto /usr/share/${PN}
98 doins -r work system || die
99
100 doicon system/icons/${PN}.png || die
101 make_desktop_entry ${PN} Zhu3D ${PN} \
102 "Education;Science;Math;Qt"
103 }
104
105
106
107 --
108 gentoo-commits@l.g.o mailing list