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-action/abuse: ChangeLog abuse-0.7.1.ebuild
Date: Sat, 06 Nov 2010 09:01:47
Message-Id: 20101106090141.1C2CF20051@flycatcher.gentoo.org
1 mr_bones_ 10/11/06 09:01:41
2
3 Modified: ChangeLog abuse-0.7.1.ebuild
4 Log:
5 add use deps for libsdl; tidy
6 (Portage version: 2.1.8.3/cvs/Linux i686)
7
8 Revision Changes Path
9 1.10 games-action/abuse/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/ChangeLog?rev=1.10&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/ChangeLog?rev=1.10&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/ChangeLog?r1=1.9&r2=1.10
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-action/abuse/ChangeLog,v
18 retrieving revision 1.9
19 retrieving revision 1.10
20 diff -u -r1.9 -r1.10
21 --- ChangeLog 5 Nov 2010 16:39:59 -0000 1.9
22 +++ ChangeLog 6 Nov 2010 09:01:41 -0000 1.10
23 @@ -1,6 +1,9 @@
24 # ChangeLog for games-action/abuse
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/ChangeLog,v 1.9 2010/11/05 16:39:59 tupone Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/ChangeLog,v 1.10 2010/11/06 09:01:41 mr_bones_ Exp $
28 +
29 + 06 Nov 2010; Michael Sterrett <mr_bones_@g.o> abuse-0.7.1.ebuild:
30 + add use deps for libsdl; tidy
31
32 05 Nov 2010; Tupone Alfredo <tupone@g.o> abuse-0.7.1.ebuild,
33 +files/abuse-0.7.1-ovflfix.patch:
34
35
36
37 1.12 games-action/abuse/abuse-0.7.1.ebuild
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild?rev=1.12&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild?rev=1.12&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild?r1=1.11&r2=1.12
42
43 Index: abuse-0.7.1.ebuild
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild,v
46 retrieving revision 1.11
47 retrieving revision 1.12
48 diff -u -r1.11 -r1.12
49 --- abuse-0.7.1.ebuild 5 Nov 2010 16:39:59 -0000 1.11
50 +++ abuse-0.7.1.ebuild 6 Nov 2010 09:01:41 -0000 1.12
51 @@ -1,8 +1,8 @@
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild,v 1.11 2010/11/05 16:39:59 tupone Exp $
55 -EAPI=2
56 +# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.7.1.ebuild,v 1.12 2010/11/06 09:01:41 mr_bones_ Exp $
57
58 +EAPI=2
59 inherit eutils games
60
61 ZOY="http://abuse.zoy.org/raw/Downloads"
62 @@ -20,10 +20,10 @@
63 KEYWORDS="amd64 ppc sparc x86"
64 IUSE="demo levels sounds"
65
66 -RDEPEND=">=media-libs/libsdl-1.1.6"
67 -DEPEND="${RDEPEND}
68 - x11-libs/libXt
69 +RDEPEND=">=media-libs/libsdl-1.1.6[audio,opengl,video]
70 virtual/opengl"
71 +DEPEND="${RDEPEND}
72 + x11-libs/libXt"
73
74 src_prepare() {
75 # fix placing additional patches
76 @@ -33,29 +33,28 @@
77 # fix bug #231822
78 sed -i \
79 -e "s:/var/games/abuse:${GAMES_DATADIR}/${PN}:" \
80 - src/sdlport/setup.cpp || or die "sed setup.cpp failed"
81 + src/sdlport/setup.cpp || or die
82 epatch "${FILESDIR}"/${P}-ovflfix.patch
83 }
84
85 src_configure() {
86 # Abuse auto-appends games, so point to the base
87 - egamesconf --datadir="${GAMES_DATADIR_BASE}" || die
88 + egamesconf --datadir="${GAMES_DATADIR_BASE}"
89 }
90
91 src_install() {
92 # Source-based install
93 - emake DESTDIR="${D}" install || die "emake install failed"
94 + emake DESTDIR="${D}" install || die
95 dodoc AUTHORS ChangeLog README TODO
96
97 # Data install
98 - insinto "${GAMES_DATADIR}"/"${PN}"
99 + insinto "${GAMES_DATADIR}"/${PN}
100 doins -r "${WORKDIR}"/{addon,art,levels,lisp,music,netlevel,register,sfx} \
101 "${WORKDIR}"/abuse.lsp \
102 - || die "doins failed"
103 + || die
104
105 - # Icons/desktop entry
106 doicon ${PN}.png
107 - make_desktop_entry abuse "Abuse" ${PN}
108 + make_desktop_entry abuse "Abuse"
109
110 prepgamesdirs
111 }