1 |
mgorny 14/06/25 17:25:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: coldwar-1.0.1-r1.ebuild |
5 |
Log: |
6 |
Support multilib dependencies aside to emul-linux-x86. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 games-strategy/coldwar/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar/ChangeLog?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar/ChangeLog?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar/ChangeLog?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/coldwar/ChangeLog,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- ChangeLog 16 Apr 2014 17:11:40 -0000 1.5 |
24 |
+++ ChangeLog 25 Jun 2014 17:25:45 -0000 1.6 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for games-strategy/coldwar |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/coldwar/ChangeLog,v 1.5 2014/04/16 17:11:40 ulm Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/coldwar/ChangeLog,v 1.6 2014/06/25 17:25:45 mgorny Exp $ |
30 |
+ |
31 |
+*coldwar-1.0.1-r1 (25 Jun 2014) |
32 |
+ |
33 |
+ 25 Jun 2014; Michał Górny <mgorny@g.o> +coldwar-1.0.1-r1.ebuild: |
34 |
+ Support multilib dependencies aside to emul-linux-x86. |
35 |
|
36 |
16 Apr 2014; Ulrich Müller <ulm@g.o> coldwar-1.0.1.ebuild: |
37 |
Fix LICENSE, add mirror and bindist restrictions, bug 505754. |
38 |
@@ -19,4 +24,3 @@ |
39 |
06 Feb 2007; Chris Gianelloni <wolf31o2@g.o> +metadata.xml, |
40 |
+coldwar-1.0.1.ebuild: |
41 |
Initial import. Ebuild by Paul Bredbury <brebs@××××.com> and edited by me. |
42 |
- |
43 |
|
44 |
|
45 |
|
46 |
1.1 games-strategy/coldwar/coldwar-1.0.1-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar/coldwar-1.0.1-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar/coldwar-1.0.1-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: coldwar-1.0.1-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2014 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/games-strategy/coldwar/coldwar-1.0.1-r1.ebuild,v 1.1 2014/06/25 17:25:45 mgorny Exp $ |
56 |
|
57 |
EAPI=5 |
58 |
|
59 |
inherit eutils unpacker cdrom versionator games |
60 |
|
61 |
PV_MAJOR=$(get_version_component_range 1-2) |
62 |
MY_P=${PN}-${PV_MAJOR}-${PV} |
63 |
|
64 |
DESCRIPTION="Third-person sneaker like Splinter Cell" |
65 |
HOMEPAGE="http://linuxgamepublishing.com/info.php?id=coldwar" |
66 |
SRC_URI="http://updatefiles.linuxgamepublishing.com/${PN}/${MY_P}-x86.run" |
67 |
|
68 |
LICENSE="all-rights-reserved" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~x86" |
71 |
IUSE="linguas_de linguas_fr linguas_ru" |
72 |
RESTRICT="mirror bindist strip" |
73 |
|
74 |
RDEPEND=" |
75 |
|| ( |
76 |
( |
77 |
dev-libs/glib[abi_x86_32(-)] |
78 |
media-libs/libogg[abi_x86_32(-)] |
79 |
media-libs/libvorbis[abi_x86_32(-)] |
80 |
media-libs/openal[abi_x86_32(-)] |
81 |
media-libs/smpeg[abi_x86_32(-)] |
82 |
virtual/opengl[abi_x86_32(-)] |
83 |
x11-libs/libX11[abi_x86_32(-)] |
84 |
x11-libs/libXext[abi_x86_32(-)] |
85 |
) |
86 |
amd64? ( |
87 |
( |
88 |
app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
89 |
app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] |
90 |
app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] |
91 |
app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] |
92 |
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] |
93 |
) |
94 |
) |
95 |
)" |
96 |
DEPEND="" |
97 |
|
98 |
S=${WORKDIR} |
99 |
|
100 |
src_unpack() { |
101 |
cdrom_get_cds bin/Linux/x86/${PN} |
102 |
ln -sfn "${CDROM_ROOT}"/data cd |
103 |
unpack "./cd/data.tar.gz" |
104 |
use linguas_de && unpack "./cd/langpack_de.tar.gz" |
105 |
use linguas_fr && unpack "./cd/langpack_fr.tar.gz" |
106 |
use linguas_ru && unpack "./cd/langpack_ru.tar.gz" |
107 |
rm -f cd |
108 |
|
109 |
cp -rf "${CDROM_ROOT}"/bin/Linux/x86/* . || die "cp exes failed" |
110 |
cp -f "${CDROM_ROOT}"/{READ*,icon*} . || die "cp READ* failed" |
111 |
|
112 |
mkdir -p patch |
113 |
cd patch |
114 |
unpack_makeself ${MY_P}-x86.run |
115 |
bin/Linux/x86/loki_patch patch.dat "${S}" || die "loki_patch failed" |
116 |
cd "${S}" |
117 |
rm -rf patch |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
dir=${GAMES_PREFIX_OPT}/${PN} |
122 |
|
123 |
insinto "${dir}" |
124 |
doins -r * |
125 |
|
126 |
exeinto "${dir}" |
127 |
doexe ${PN} |
128 |
|
129 |
exeinto "${dir}"/bin |
130 |
doexe bin/{launch*,meng} |
131 |
|
132 |
exeinto "${dir}"/lib |
133 |
doexe lib/lib* |
134 |
|
135 |
games_make_wrapper ${PN} ./${PN} "${dir}" |
136 |
newicon "${CDROM_ROOT}"/icon.xpm ${PN}.xpm |
137 |
make_desktop_entry ${PN} "Cold War" ${PN} |
138 |
|
139 |
prepgamesdirs |
140 |
} |