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-physics/lightspeed: ChangeLog lightspeed-1.2a-r1.ebuild
Date: Wed, 09 Sep 2009 21:38:52
Message-Id: E1MlUsL-0007wt-7C@stork.gentoo.org
1 bicatali 09/09/09 21:38:49
2
3 Modified: ChangeLog lightspeed-1.2a-r1.ebuild
4 Log:
5 Cleaned and removed the eautoreconf since the Debian patch already applied it
6 (Portage version: 2.2_rc40/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.14 sci-physics/lightspeed/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/ChangeLog?rev=1.14&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/ChangeLog?rev=1.14&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/ChangeLog?r1=1.13&r2=1.14
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/ChangeLog,v
18 retrieving revision 1.13
19 retrieving revision 1.14
20 diff -u -r1.13 -r1.14
21 --- ChangeLog 15 Dec 2008 11:45:54 -0000 1.13
22 +++ ChangeLog 9 Sep 2009 21:38:48 -0000 1.14
23 @@ -1,6 +1,11 @@
24 # ChangeLog for sci-physics/lightspeed
25 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/ChangeLog,v 1.13 2008/12/15 11:45:54 bicatali Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/ChangeLog,v 1.14 2009/09/09 21:38:48 bicatali Exp $
29 +
30 + 09 Sep 2009; Sébastien Fabbro <bicatali@g.o>
31 + lightspeed-1.2a-r1.ebuild:
32 + Cleaned and removed the eautoreconf since the Debian patch already applied
33 + it
34
35 15 Dec 2008; Sébastien Fabbro <bicatali@g.o>
36 -lightspeed-1.2a.ebuild:
37
38
39
40 1.9 sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild?rev=1.9&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild?rev=1.9&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild?r1=1.8&r2=1.9
45
46 Index: lightspeed-1.2a-r1.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild,v
49 retrieving revision 1.8
50 retrieving revision 1.9
51 diff -u -r1.8 -r1.9
52 --- lightspeed-1.2a-r1.ebuild 14 Dec 2008 23:50:54 -0000 1.8
53 +++ lightspeed-1.2a-r1.ebuild 9 Sep 2009 21:38:48 -0000 1.9
54 @@ -1,7 +1,8 @@
55 -# Copyright 1999-2008 Gentoo Foundation
56 +# Copyright 1999-2009 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild,v 1.8 2008/12/14 23:50:54 maekke Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lightspeed/lightspeed-1.2a-r1.ebuild,v 1.9 2009/09/09 21:38:48 bicatali Exp $
60
61 +EAPI=2
62 inherit eutils
63
64 DEB_PATCH="${PN}_${PV}-7"
65 @@ -21,7 +22,7 @@
66 IUSE="${IUSE} linguas_${i}"
67 done
68
69 -DEPEND="virtual/opengl
70 +RDEPEND="virtual/opengl
71 x11-libs/gtkglext
72 x11-libs/gtkglarea
73 >=x11-libs/gtk+-2
74 @@ -29,18 +30,23 @@
75 media-libs/tiff
76 truetype? ( media-libs/ftgl )"
77
78 +DEPEND="${RDEPEND}
79 + dev-util/pkgconfig"
80 +
81 S2="${WORKDIR}/objects"
82
83 -src_unpack() {
84 - unpack ${A}
85 - epatch ${DEB_PATCH}.diff
86 +src_prepare() {
87 + epatch "${WORKDIR}/${DEB_PATCH}.diff"
88 }
89
90 -src_compile() {
91 +src_configure() {
92 econf \
93 --with-gtk=2 \
94 $(use_enable nls) \
95 $(use_with truetype ftgl)
96 +}
97 +
98 +src_compile() {
99 emake || die "emake failed"
100 for i in ${LANGS}; do
101 use linguas_${i} && emake ${i}.gmo