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-arcade/whichwayisup: ChangeLog whichwayisup-0.7.9.ebuild
Date: Mon, 26 Oct 2009 05:53:24
Message-Id: E1N2IWA-0005OA-A8@stork.gentoo.org
1 mr_bones_ 09/10/26 05:53:22
2
3 Modified: ChangeLog whichwayisup-0.7.9.ebuild
4 Log:
5 EAPI=2
6 (Portage version: 2.1.6.13/cvs/Linux i686)
7
8 Revision Changes Path
9 1.15 games-arcade/whichwayisup/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/whichwayisup/ChangeLog?rev=1.15&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/whichwayisup/ChangeLog?rev=1.15&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/whichwayisup/ChangeLog?r1=1.14&r2=1.15
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/ChangeLog,v
18 retrieving revision 1.14
19 retrieving revision 1.15
20 diff -u -r1.14 -r1.15
21 --- ChangeLog 25 Oct 2009 17:11:06 -0000 1.14
22 +++ ChangeLog 26 Oct 2009 05:53:21 -0000 1.15
23 @@ -1,6 +1,10 @@
24 # ChangeLog for games-arcade/whichwayisup
25 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/ChangeLog,v 1.14 2009/10/25 17:11:06 tove Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/ChangeLog,v 1.15 2009/10/26 05:53:21 mr_bones_ Exp $
28 +
29 + 26 Oct 2009; Michael Sterrett <mr_bones_@g.o>
30 + whichwayisup-0.7.9.ebuild:
31 + EAPI=2
32
33 25 Oct 2009; Torsten Veller <tove@g.o> metadata.xml:
34 Remove coldwind from metadata.xml (#181764)
35
36
37
38 1.8 games-arcade/whichwayisup/whichwayisup-0.7.9.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.9.ebuild?rev=1.8&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.9.ebuild?rev=1.8&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.9.ebuild?r1=1.7&r2=1.8
43
44 Index: whichwayisup-0.7.9.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.9.ebuild,v
47 retrieving revision 1.7
48 retrieving revision 1.8
49 diff -u -r1.7 -r1.8
50 --- whichwayisup-0.7.9.ebuild 22 Jun 2008 15:34:39 -0000 1.7
51 +++ whichwayisup-0.7.9.ebuild 26 Oct 2009 05:53:21 -0000 1.8
52 @@ -1,9 +1,9 @@
53 -# Copyright 1999-2008 Gentoo Foundation
54 +# Copyright 1999-2009 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.9.ebuild,v 1.7 2008/06/22 15:34:39 maekke Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.9.ebuild,v 1.8 2009/10/26 05:53:21 mr_bones_ Exp $
58
59 NEED_PYTHON="2.4"
60 -
61 +EAPI=2
62 inherit eutils python games
63
64 MY_PV=${PV//./}
65 @@ -19,17 +19,18 @@
66
67 DEPEND="app-arch/unzip"
68 RDEPEND=">=dev-python/pygame-1.6"
69 -# media-libs/sdl-image[png]
70
71 S=${WORKDIR}/${PN}
72
73 -src_unpack() {
74 - unpack ${A}
75 - cd "${S}"
76 - sed -i -e "s:libdir\ =\ .*:libdir\ =\ \"$(games_get_libdir)/${PN}\":" \
77 - run_game.py || die "Changing library path failed"
78 - sed -i -e "s:data_dir\ =\ .*:data_dir\ =\ \"${GAMES_DATADIR}/${PN}\":" \
79 - lib/data.py || die "Changing data path failed"
80 +src_prepare() {
81 + sed -i \
82 + -e "s:libdir\ =\ .*:libdir\ =\ \"$(games_get_libdir)/${PN}\":" \
83 + run_game.py \
84 + || die "Changing library path failed"
85 + sed -i \
86 + -e "s:data_dir\ =\ .*:data_dir\ =\ \"${GAMES_DATADIR}/${PN}\":" \
87 + lib/data.py \
88 + || die "Changing data path failed"
89 rm data/pictures/Thumbs.db
90 }
91
92 @@ -44,8 +45,8 @@
93 insinto "${GAMES_DATADIR}/${PN}"
94 doins -r data/* || die "doins data failed"
95
96 - doicon "${FILESDIR}"/${PN}-32.xpm
97 - make_desktop_entry ${PN} "Which Way Is Up?" ${PN}-32
98 + newicon "${FILESDIR}"/${PN}-32.xpm ${PN}.xpm
99 + make_desktop_entry ${PN} "Which Way Is Up?"
100 prepgamesdirs
101 }