Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-strategy/dopewars: ChangeLog dopewars-1.5.12-r1.ebuild
Date: Mon, 24 Dec 2007 11:05:39
Message-Id: E1J6l7h-0004Ef-OT@stork.gentoo.org
1 tupone 07/12/24 11:05:29
2
3 Modified: ChangeLog
4 Added: dopewars-1.5.12-r1.ebuild
5 Log:
6 Fixing dependency on dev-libs/glib. Bug #203207
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.17 games-strategy/dopewars/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/dopewars/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/dopewars/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/dopewars/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-strategy/dopewars/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 9 Oct 2006 15:03:27 -0000 1.16
23 +++ ChangeLog 24 Dec 2007 11:05:29 -0000 1.17
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-strategy/dopewars
26 -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/ChangeLog,v 1.16 2006/10/09 15:03:27 nyhm Exp $
28 +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/ChangeLog,v 1.17 2007/12/24 11:05:29 tupone Exp $
30 +
31 +*dopewars-1.5.12-r1 (24 Dec 2007)
32 +
33 + 24 Dec 2007; Tupone Alfredo <tupone@g.o>
34 + +dopewars-1.5.12-r1.ebuild:
35 + Fixing dependency on dev-libs/glib. Bug #203207 by Paul Merlin
36
37 09 Oct 2006; Tristan Heaven <nyhm@g.o> dopewars-1.5.12.ebuild:
38 Fix install path when not using the default GAMES_DATADIR
39
40
41
42 1.1 games-strategy/dopewars/dopewars-1.5.12-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/dopewars/dopewars-1.5.12-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/dopewars/dopewars-1.5.12-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: dopewars-1.5.12-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-strategy/dopewars/dopewars-1.5.12-r1.ebuild,v 1.1 2007/12/24 11:05:29 tupone Exp $
52
53 inherit games
54
55 DESCRIPTION="Re-Write of the game Drug Wars"
56 HOMEPAGE="http://dopewars.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/dopewars/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE="nls ncurses gtk gnome esd sdl"
63
64 RDEPEND="ncurses? ( >=sys-libs/ncurses-5.2 )
65 esd? ( media-sound/esound )
66 gtk? ( =x11-libs/gtk+-2* )
67 dev-libs/glib
68 nls? ( virtual/libintl )
69 sdl? (
70 media-libs/libsdl
71 media-libs/sdl-mixer
72 )"
73 DEPEND="${RDEPEND}
74 nls? ( sys-devel/gettext )"
75
76 src_unpack() {
77 unpack ${A}
78 cd "${S}"
79
80 sed -i \
81 -e "/priv_hiscore/ s:DPDATADIR:\"${GAMES_STATEDIR}\":" \
82 -e "/\/doc\// s:DPDATADIR:\"/usr/share\":" \
83 -e 's:index.html:html/index.html:' \
84 src/dopewars.c \
85 || die "sed failed"
86 }
87
88 src_compile() {
89 local myservconf
90
91 if ! use gtk ; then
92 myservconf="--disable-gui-client --disable-gui-server --disable-glibtest --disable-gtktest"
93 fi
94
95 egamesconf \
96 --disable-dependency-tracking \
97 $(use_enable ncurses curses-client) \
98 $(use_enable nls) \
99 $(use_with sdl) \
100 $(use_with esd) \
101 --enable-networking \
102 --enable-plugins \
103 ${myservconf} \
104 || die
105 emake || die "emake failed"
106 }
107
108 src_install() {
109 emake DESTDIR="${D}" install || die "emake install failed"
110 dodoc AUTHORS ChangeLog NEWS README TODO
111
112 dodir /usr/share
113 cd "${D}/${GAMES_DATADIR}"
114 use gnome && mv gnome "${D}/usr/share" || rm -rf gnome
115 mv pixmaps "${D}/usr/share"
116 dohtml -r doc/*/*
117 rm -rf doc
118
119 prepgamesdirs
120 }
121
122
123
124 --
125 gentoo-commits@g.o mailing list