Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-puzzle/arrows: ChangeLog arrows-0.6.ebuild
Date: Fri, 20 Aug 2010 15:15:00
Message-Id: 20100820151457.066142004C@flycatcher.gentoo.org
1 mr_bones_ 10/08/20 15:14:57
2
3 Modified: ChangeLog arrows-0.6.ebuild
4 Log:
5 EAPI=2; honor CC and LDFLAGS (bug #333607)
6 (Portage version: 2.1.8.3/cvs/Linux i686)
7
8 Revision Changes Path
9 1.9 games-puzzle/arrows/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/arrows/ChangeLog?rev=1.9&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/arrows/ChangeLog?rev=1.9&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/arrows/ChangeLog?r1=1.8&r2=1.9
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-puzzle/arrows/ChangeLog,v
18 retrieving revision 1.8
19 retrieving revision 1.9
20 diff -u -r1.8 -r1.9
21 --- ChangeLog 7 Mar 2008 16:44:46 -0000 1.8
22 +++ ChangeLog 20 Aug 2010 15:14:56 -0000 1.9
23 @@ -1,6 +1,9 @@
24 # ChangeLog for games-puzzle/arrows
25 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/arrows/ChangeLog,v 1.8 2008/03/07 16:44:46 wolf31o2 Exp $
27 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/arrows/ChangeLog,v 1.9 2010/08/20 15:14:56 mr_bones_ Exp $
29 +
30 + 20 Aug 2010; Michael Sterrett <mr_bones_@g.o> arrows-0.6.ebuild:
31 + EAPI=2; honor CC and LDFLAGS (bug #333607)
32
33 07 Mar 2008; Chris Gianelloni <wolf31o2@g.o> arrows-0.6.ebuild:
34 QA cleanup: Shorten DESCRIPTION.
35
36
37
38 1.9 games-puzzle/arrows/arrows-0.6.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/arrows/arrows-0.6.ebuild?rev=1.9&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/arrows/arrows-0.6.ebuild?rev=1.9&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/arrows/arrows-0.6.ebuild?r1=1.8&r2=1.9
43
44 Index: arrows-0.6.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/games-puzzle/arrows/arrows-0.6.ebuild,v
47 retrieving revision 1.8
48 retrieving revision 1.9
49 diff -u -r1.8 -r1.9
50 --- arrows-0.6.ebuild 7 Mar 2008 16:44:46 -0000 1.8
51 +++ arrows-0.6.ebuild 20 Aug 2010 15:14:56 -0000 1.9
52 @@ -1,7 +1,8 @@
53 -# Copyright 1999-2008 Gentoo Foundation
54 +# Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/arrows/arrows-0.6.ebuild,v 1.8 2008/03/07 16:44:46 wolf31o2 Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/arrows/arrows-0.6.ebuild,v 1.9 2010/08/20 15:14:56 mr_bones_ Exp $
58
59 +EAPI=2
60 inherit games
61
62 DESCRIPTION="simple maze-like game where you navigate around and destroy arrows"
63 @@ -13,14 +14,11 @@
64 KEYWORDS="amd64 ~ppc x86"
65 IUSE=""
66
67 -RDEPEND=">=x11-libs/gtk+-2.4.0"
68 +RDEPEND=">=x11-libs/gtk+-2.4:2"
69 DEPEND="${RDEPEND}
70 dev-util/pkgconfig"
71
72 -src_unpack() {
73 - unpack ${A}
74 - cd "${S}"
75 -
76 +src_prepare() {
77 # Modify path to data
78 sed -i \
79 -e "s:arrfl:${GAMES_DATADIR}/${PN}/arrfl:" \
80 @@ -28,7 +26,12 @@
81 -e 's:nm\[6:nm[30:' \
82 -e 's:nm\[7:nm[31:' \
83 game.c \
84 - || die "sed game.c failed"
85 + || die 'sed failed'
86 + sed -i \
87 + -e '/^CC /d' \
88 + -e '/CCLIBS/s:$: $(LDFLAGS):' \
89 + Makefile \
90 + || die 'sed failed'
91 }
92
93 src_compile() {