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-3.4.4.ebuild
Date: Sat, 01 Mar 2008 16:20:37
Message-Id: E1JVTxY-0001kX-Oe@stork.gentoo.org
1 bicatali 08/03/01 15:49:12
2
3 Modified: ChangeLog
4 Added: zhu3d-3.4.4.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.3 sci-visualization/zhu3d/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/ChangeLog?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/ChangeLog?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/ChangeLog?r1=1.2&r2=1.3
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- ChangeLog 15 Feb 2008 10:03:22 -0000 1.2
23 +++ ChangeLog 1 Mar 2008 15:49:12 -0000 1.3
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-visualization/zhu3d
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v 1.2 2008/02/15 10:03:22 bicatali Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/ChangeLog,v 1.3 2008/03/01 15:49:12 bicatali Exp $
29 +
30 +*zhu3d-3.4.4 (01 Mar 2008)
31 +
32 + 01 Mar 2008; Sébastien Fabbro <bicatali@g.o> +zhu3d-3.4.4.ebuild:
33 + Version bump
34
35 15 Feb 2008; Sébastien Fabbro <bicatali@g.o> zhu3d-3.4.2.ebuild:
36 Fixed desktop entry
37
38
39
40 1.1 sci-visualization/zhu3d/zhu3d-3.4.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/zhu3d-3.4.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/zhu3d/zhu3d-3.4.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: zhu3d-3.4.4.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/zhu3d-3.4.4.ebuild,v 1.1 2008/03/01 15:49:12 bicatali Exp $
50
51 EAPI=1
52
53 inherit eutils qt4
54
55 DESCRIPTION="Interactive 3D mathematical function viewer"
56 HOMEPAGE="http://sourceforge.net/projects/zhu3d"
57 LICENSE="GPL-2"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
59
60 IUSE=""
61
62 KEYWORDS="~amd64 ~x86"
63 SLOT="0"
64
65 RDEPEND="$(qt4_min_version 4.0)
66 virtual/glu"
67 DEPEND="${RDEPEND}"
68
69 QT4_BUILT_WITH_USE_CHECK="opengl"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
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 }
82
83 src_compile() {
84 eqmake4 || die "eqmake4 failed"
85 emake || die "emake failed"
86 }
87
88 src_install() {
89 # not working: emake install INSTALL_ROOT="${D}"
90 dobin zhu3d || die
91
92 dodoc {readme,src/changelog}.txt || die
93 dohtml doc/* || die
94
95 insinto /usr/share/${PN}
96 doins -r work system || die
97
98 doicon system/icons/${PN}.png || die
99 make_desktop_entry ${PN} Zhu3D ${PN} \
100 "Science;Math;Qt"
101 }
102
103
104
105 --
106 gentoo-commits@l.g.o mailing list