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/galaxyhack: ChangeLog galaxyhack-1.74.ebuild
Date: Sat, 10 Nov 2007 00:47:25
Message-Id: E1IqeVK-00029h-5f@stork.gentoo.org
1 tupone 07/11/10 00:47:18
2
3 Modified: ChangeLog
4 Added: galaxyhack-1.74.ebuild
5 Log:
6 Version bump to 1.74
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.5 games-strategy/galaxyhack/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/galaxyhack/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/galaxyhack/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/galaxyhack/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 13 Jun 2007 23:30:54 -0000 1.4
23 +++ ChangeLog 10 Nov 2007 00:47:17 -0000 1.5
24 @@ -1,6 +1,13 @@
25 # ChangeLog for games-strategy/galaxyhack
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/ChangeLog,v 1.4 2007/06/13 23:30:54 nyhm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/ChangeLog,v 1.5 2007/11/10 00:47:17 tupone Exp $
29 +
30 +*galaxyhack-1.74 (10 Nov 2007)
31 +
32 + 10 Nov 2007; Tupone Alfredo <tupone@g.o>
33 + +files/galaxyhack-1.74-boost.patch, +files/galaxyhack-1.74-destdirs.patch,
34 + +galaxyhack-1.74.ebuild:
35 + Version bump
36
37 13 Jun 2007; Tristan Heaven <nyhm@g.o>
38 +files/galaxyhack-1.69-boost.patch, galaxyhack-1.69.ebuild:
39
40
41
42 1.1 games-strategy/galaxyhack/galaxyhack-1.74.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/galaxyhack/galaxyhack-1.74.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/galaxyhack/galaxyhack-1.74.ebuild?rev=1.1&content-type=text/plain
46
47 Index: galaxyhack-1.74.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/galaxyhack/galaxyhack-1.74.ebuild,v 1.1 2007/11/10 00:47:17 tupone Exp $
52
53 inherit eutils games
54
55 DESCRIPTION="Multiplayer AI script based strategy game."
56 HOMEPAGE="http://galaxyhack.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
58 mirror://gentoo/${PN}.png"
59
60 LICENSE="GPL-2 galaxyhack"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE=""
64
65 DEPEND="media-libs/libsdl
66 media-libs/sdl-image
67 media-libs/sdl-mixer
68 >=dev-libs/boost-1.34"
69
70 S=${WORKDIR}/${PN}/src
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75 edos2unix Makefile
76 epatch \
77 "${FILESDIR}"/${P}-destdirs.patch \
78 "${FILESDIR}"/${P}-boost.patch
79 sed -i "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
80 Main.cpp \
81 || die "sed Main.cpp failed"
82 sed -i "/Base data path/s:pwd:${GAMES_DATADIR}/${PN}:" \
83 ../settings.dat \
84 || die "sed settings.dat failed"
85 sed -i \
86 -e "/^CXXFLAGS/s:-O3:${CXXFLAGS}:" \
87 -e '/^LDFLAGS/s:=:+=:' \
88 Makefile \
89 || die "sed Makefile failed"
90 }
91
92 src_install() {
93 dogamesbin "${PN}" || die "dogamesbin failed"
94 cd ..
95 insinto "${GAMES_DATADIR}"/${PN}
96 doins -r fleets gamedata graphics music standardpictures \
97 settings.dat || die "doins failed"
98 dodoc readme.txt
99 doicon "${DISTDIR}"/${PN}.png
100 make_desktop_entry ${PN} GalaxyHack
101 prepgamesdirs
102 }
103
104 pkg_postinst() {
105 games_pkg_postinst
106 elog "Settings will default to those found in"
107 elog "${GAMES_DATADIR}/galaxyhack/settings.dat"
108 elog "Per user settings can be specified by creating"
109 elog "~/.galaxyhack/settings.dat"
110 elog "Additional user submitted fleets can be downloaded from"
111 elog "http://galaxyhack.sourceforge.net/viewfleets.php"
112 }
113
114
115
116 --
117 gentoo-commits@g.o mailing list