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/pingus: ChangeLog pingus-0.7.2.ebuild
Date: Sat, 04 Apr 2009 00:53:02
Message-Id: E1Lpu84-0002lX-Fz@stork.gentoo.org
1 mr_bones_ 09/04/04 00:53:00
2
3 Modified: ChangeLog pingus-0.7.2.ebuild
4 Log:
5 EAPI=2; add gcc44 patch from Paul Mulders (bug #264739)
6 (Portage version: 2.1.6.7/cvs/Linux i686)
7
8 Revision Changes Path
9 1.23 games-puzzle/pingus/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/pingus/ChangeLog?rev=1.23&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/pingus/ChangeLog?rev=1.23&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/pingus/ChangeLog?r1=1.22&r2=1.23
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-puzzle/pingus/ChangeLog,v
18 retrieving revision 1.22
19 retrieving revision 1.23
20 diff -u -r1.22 -r1.23
21 --- ChangeLog 4 Sep 2008 16:31:25 -0000 1.22
22 +++ ChangeLog 4 Apr 2009 00:53:00 -0000 1.23
23 @@ -1,6 +1,10 @@
24 # ChangeLog for games-puzzle/pingus
25 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/ChangeLog,v 1.22 2008/09/04 16:31:25 mr_bones_ Exp $
27 +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/ChangeLog,v 1.23 2009/04/04 00:53:00 mr_bones_ Exp $
29 +
30 + 04 Apr 2009; Michael Sterrett <mr_bones_@g.o>
31 + +files/pingus-0.7.2-gcc44.patch, pingus-0.7.2.ebuild:
32 + EAPI=2; add gcc44 patch from Paul Mulders (bug #264739)
33
34 04 Sep 2008; Michael Sterrett <mr_bones_@g.o> pingus-0.7.2.ebuild:
35 Attempt at using a less-ugly icon (bug #236596)
36
37
38
39 1.9 games-puzzle/pingus/pingus-0.7.2.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/pingus/pingus-0.7.2.ebuild?rev=1.9&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/pingus/pingus-0.7.2.ebuild?rev=1.9&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/pingus/pingus-0.7.2.ebuild?r1=1.8&r2=1.9
44
45 Index: pingus-0.7.2.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.7.2.ebuild,v
48 retrieving revision 1.8
49 retrieving revision 1.9
50 diff -u -r1.8 -r1.9
51 --- pingus-0.7.2.ebuild 4 Sep 2008 16:31:25 -0000 1.8
52 +++ pingus-0.7.2.ebuild 4 Apr 2009 00:53:00 -0000 1.9
53 @@ -1,7 +1,8 @@
54 -# Copyright 1999-2008 Gentoo Foundation
55 +# Copyright 1999-2009 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.7.2.ebuild,v 1.8 2008/09/04 16:31:25 mr_bones_ Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.7.2.ebuild,v 1.9 2009/04/04 00:53:00 mr_bones_ Exp $
59
60 +EAPI=2
61 inherit eutils toolchain-funcs games
62
63 DESCRIPTION="free Lemmings clone"
64 @@ -21,12 +22,11 @@
65 DEPEND="${RDEPEND}
66 >=dev-util/scons-0.97"
67
68 -src_unpack() {
69 - unpack ${A}
70 - cd "${S}"
71 +src_prepare() {
72 epatch \
73 "${FILESDIR}"/${P}-paths.patch \
74 - "${FILESDIR}/${P}+gcc-4.3.patch"
75 + "${FILESDIR}"/${P}+gcc-4.3.patch \
76 + "${FILESDIR}"/${P}-gcc44.patch
77 sed -i \
78 -e "s:GENTOO_BINDIR:${GAMES_BINDIR}:" \
79 -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \
80 @@ -34,15 +34,18 @@
81 || die "sed failed"
82 }
83
84 -src_compile() {
85 - local sconsopts=$(echo "${MAKEOPTS}" | sed -e "s/.*\(-j[0-9]\+\).*/\1/")
86 - [[ ${MAKEOPTS/-s/} != ${MAKEOPTS} ]] && sconsopts="${sconsopts} -s"
87 -
88 +src_configure() {
89 scons configure \
90 CXX="$(tc-getCXX)" \
91 CCFLAGS="${CXXFLAGS}" \
92 LINKFLAGS="${LDFLAGS}" \
93 || die "scons configure failed"
94 +}
95 +
96 +src_compile() {
97 + local sconsopts=$(echo "${MAKEOPTS}" | sed -e "s/.*\(-j[0-9]\+\).*/\1/")
98 + [[ ${MAKEOPTS/-s/} != ${MAKEOPTS} ]] && sconsopts="${sconsopts} -s"
99 +
100 scons ${sconsopts} || die "scons failed"
101 }