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/ensemblist: ChangeLog ensemblist-040126.ebuild
Date: Fri, 23 Jan 2009 08:32:22
Message-Id: E1LQHSd-000110-QC@stork.gentoo.org
1 mr_bones_ 09/01/23 08:32:19
2
3 Modified: ChangeLog ensemblist-040126.ebuild
4 Log:
5 EAPI=2; add use-based dep; fixup build process a bit
6 (Portage version: 2.1.6.4/cvs/Linux 2.6.28.1 i686)
7
8 Revision Changes Path
9 1.8 games-puzzle/ensemblist/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/ensemblist/ChangeLog?rev=1.8&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/ensemblist/ChangeLog?rev=1.8&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/ensemblist/ChangeLog?r1=1.7&r2=1.8
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-puzzle/ensemblist/ChangeLog,v
18 retrieving revision 1.7
19 retrieving revision 1.8
20 diff -u -r1.7 -r1.8
21 --- ChangeLog 22 Feb 2007 01:08:00 -0000 1.7
22 +++ ChangeLog 23 Jan 2009 08:32:19 -0000 1.8
23 @@ -1,6 +1,10 @@
24 # ChangeLog for games-puzzle/ensemblist
25 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ensemblist/ChangeLog,v 1.7 2007/02/22 01:08:00 peper Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ensemblist/ChangeLog,v 1.8 2009/01/23 08:32:19 mr_bones_ Exp $
29 +
30 + 23 Jan 2009; Michael Sterrett <mr_bones_@g.o>
31 + +files/ensemblist-040126-build.patch, ensemblist-040126.ebuild:
32 + EAPI=2; add use-based dep; fixup build process a bit
33
34 22 Feb 2007; Piotr JaroszyƄski <peper@g.o> ChangeLog:
35 Transition to Manifest2.
36
37
38
39 1.7 games-puzzle/ensemblist/ensemblist-040126.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/ensemblist/ensemblist-040126.ebuild?rev=1.7&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/ensemblist/ensemblist-040126.ebuild?rev=1.7&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/ensemblist/ensemblist-040126.ebuild?r1=1.6&r2=1.7
44
45 Index: ensemblist-040126.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/games-puzzle/ensemblist/ensemblist-040126.ebuild,v
48 retrieving revision 1.6
49 retrieving revision 1.7
50 diff -u -r1.6 -r1.7
51 --- ensemblist-040126.ebuild 6 Dec 2006 16:59:33 -0000 1.6
52 +++ ensemblist-040126.ebuild 23 Jan 2009 08:32:19 -0000 1.7
53 @@ -1,8 +1,9 @@
54 -# Copyright 1999-2006 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/ensemblist/ensemblist-040126.ebuild,v 1.6 2006/12/06 16:59:33 wolf31o2 Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ensemblist/ensemblist-040126.ebuild,v 1.7 2009/01/23 08:32:19 mr_bones_ Exp $
59
60 -inherit games
61 +EAPI=2
62 +inherit eutils games
63
64 DESCRIPTION="Put together several primitives to build a given shape. (C.S.G. Game)"
65 HOMEPAGE="http://www.nongnu.org/ensemblist/index_en.html"
66 @@ -18,17 +19,12 @@
67 virtual/glut
68 virtual/glu
69 media-libs/libpng
70 - media-libs/libmikmod"
71 + media-libs/libmikmod[oss]"
72
73 -src_unpack() {
74 - unpack ${A}
75 - cd "${S}"
76 - sed -i \
77 - -e '/^CC/d' \
78 - -e '/strip/d' \
79 - -e "s:^DATADIR=.*:DATADIR=${GAMES_DATADIR}/${PN}/datas:" \
80 - -e "/^COMPILE_FLAGS/s/-Wall -O3 -fomit-frame-pointer/${CFLAGS}/" \
81 - Makefile || die "sed failed"
82 +PATCHES=( "${FILESDIR}"/${P}-build.patch )
83 +
84 +src_compile() {
85 + emake DATADIR="\"${GAMES_DATADIR}\"/${PN}/datas" || die "emake failed"
86 }
87
88 src_install() {
89 @@ -36,5 +32,6 @@
90 insinto "${GAMES_DATADIR}/${PN}"
91 doins -r datas || die "doins failed"
92 dodoc README Changelog
93 + make_desktop_entry ${PN} Ensemblist
94 prepgamesdirs
95 }