1 |
wolf31o2 07/09/15 01:28:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: x2-1.4.05.ebuild |
5 |
Log: |
6 |
Version bump to 1.4.05 with an updated ebuild from Paul Bredbury <brebs@××××.com>. Closing bug #179297. |
7 |
(Portage version: 2.1.3.7) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 games-strategy/x2/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/x2/ChangeLog?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/x2/ChangeLog?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/x2/ChangeLog?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/x2/ChangeLog,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- ChangeLog 7 Jan 2007 20:01:56 -0000 1.2 |
23 |
+++ ChangeLog 15 Sep 2007 01:28:01 -0000 1.3 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for games-strategy/x2 |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2/ChangeLog,v 1.2 2007/01/07 20:01:56 wolf31o2 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2/ChangeLog,v 1.3 2007/09/15 01:28:01 wolf31o2 Exp $ |
29 |
+ |
30 |
+*x2-1.4.05 (15 Sep 2007) |
31 |
+ |
32 |
+ 15 Sep 2007; Chris Gianelloni <wolf31o2@g.o> +x2-1.4.05.ebuild: |
33 |
+ Version bump to 1.4.05 with an updated ebuild from Paul Bredbury |
34 |
+ <brebs@××××.com>. Closing bug #179297. |
35 |
|
36 |
*x2-1.4.03 (07 Jan 2007) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 games-strategy/x2/x2-1.4.05.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/x2/x2-1.4.05.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-strategy/x2/x2-1.4.05.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: x2-1.4.05.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/games-strategy/x2/x2-1.4.05.ebuild,v 1.1 2007/09/15 01:28:01 wolf31o2 Exp $ |
51 |
|
52 |
inherit eutils games |
53 |
|
54 |
MY_PV="1.4.04-${PV}" |
55 |
MY_UPD="http://updatefiles.linuxgamepublishing.com/${PN}" |
56 |
|
57 |
DESCRIPTION="Open-ended space opera with trading, building & fighting" |
58 |
HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=x2" |
59 |
# Patches are in http://updatefiles.linuxgamepublishing.com/x2/ |
60 |
SRC_URI="${MY_UPD}/${PN}-1.4-1.4.01-x86.run |
61 |
${MY_UPD}/${PN}-1.4.01-1.4.02-x86.run |
62 |
${MY_UPD}/${PN}-1.4.02-1.4.03-x86.run |
63 |
${MY_UPD}/${PN}-1.4.03-1.4.04-x86.run |
64 |
${MY_UPD}/${PN}-${MY_PV}-x86.run" |
65 |
|
66 |
LICENSE="as-is" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="bonusscripts dynamic langpacks linguas_de modkit" |
70 |
RESTRICT="strip" |
71 |
|
72 |
RDEPEND="media-libs/alsa-lib |
73 |
sys-libs/glibc |
74 |
x86? ( |
75 |
media-libs/libsdl |
76 |
media-libs/openal |
77 |
sys-libs/zlib |
78 |
x11-libs/gtk+ |
79 |
x11-libs/libX11 |
80 |
x11-libs/libXau |
81 |
x11-libs/libXdmcp |
82 |
x11-libs/libXext |
83 |
x11-libs/libXi ) |
84 |
amd64? ( |
85 |
app-emulation/emul-linux-x86-gtklibs |
86 |
app-emulation/emul-linux-x86-sdl )" |
87 |
DEPEND="" |
88 |
|
89 |
S=${WORKDIR} |
90 |
|
91 |
unpackit() { |
92 |
unpack "./cd/${1}.tar.gz" |
93 |
} |
94 |
|
95 |
src_unpack() { |
96 |
cdrom_get_cds bin/Linux/x86/${PN} |
97 |
ln -sfn "${CDROM_ROOT}"/data cd |
98 |
|
99 |
unpackit data |
100 |
use bonusscripts && unpackit bonusscripts |
101 |
use linguas_de && unpackit german |
102 |
use langpacks && unpackit langpacks |
103 |
use modkit && unpackit modkit |
104 |
|
105 |
rm -f cd |
106 |
|
107 |
cp -rf "${CDROM_ROOT}"/bin/Linux/x86/* . || die "cp exes" |
108 |
cp -f "${CDROM_ROOT}"/{READ*,icon*} . || die "cp READ*" |
109 |
|
110 |
# Apply the patches |
111 |
local p |
112 |
for p in 1.4-1.4.01 1.4.01-1.4.02 1.4.02-1.4.03 1.4.03-1.4.04 \ |
113 |
"${MY_PV}" ; do |
114 |
einfo "Applying patch ${p}" |
115 |
mkdir patch |
116 |
cd patch |
117 |
unpack_makeself "${PN}-${p}-x86.run" |
118 |
bin/Linux/x86/loki_patch patch.dat "${S}" \ |
119 |
|| die "loki_patch ${p}" |
120 |
cp -f README.txt "${S}/ChangeLog" || die "cp README.txt" |
121 |
cd "${S}" |
122 |
rm -rf patch |
123 |
done |
124 |
|
125 |
# These files do not get installed |
126 |
[[ -e modkit ]] && rm -f modkit/x2*.debug |
127 |
} |
128 |
|
129 |
src_install() { |
130 |
local dir=${GAMES_PREFIX_OPT}/${PN} |
131 |
|
132 |
# Whether to use static (default) or dynamic binaries |
133 |
local dyn |
134 |
use dynamic && dyn=".dynamic" |
135 |
|
136 |
insinto "${dir}" |
137 |
doins -r * || die "doins -r" |
138 |
keepdir "${dir}"/Database |
139 |
|
140 |
exeinto "${dir}" |
141 |
doexe x2{,.dynamic} || die "doexe x2" |
142 |
|
143 |
if use modkit ; then |
144 |
exeinto "${dir}"/modkit |
145 |
doexe modkit/x2{build,tool}{,.dynamic} || die "doexe modkit" |
146 |
local f |
147 |
for f in build tool ; do |
148 |
games_make_wrapper "x2${f}" "${dir}/modkit/x2${f}${dyn}" |
149 |
done |
150 |
fi |
151 |
|
152 |
games_make_wrapper ${PN} "./${PN}${dyn}" "${dir}" |
153 |
newicon "${CDROM_ROOT}"/icon.xpm ${PN}.xpm || die "newicon" |
154 |
make_desktop_entry ${PN} "X2 - The Threat" ${PN}.xpm |
155 |
|
156 |
prepgamesdirs |
157 |
} |
158 |
|
159 |
pkg_postinst() { |
160 |
games_pkg_postinst |
161 |
|
162 |
if use dynamic ; then |
163 |
elog "Please try without the 'dynamic' USE flag, before reporting bugs." |
164 |
fi |
165 |
} |
166 |
|
167 |
|
168 |
|
169 |
-- |
170 |
gentoo-commits@g.o mailing list |