1 |
axs 14/07/11 14:04:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: soldieroffortune-1.06a-r1.ebuild |
5 |
Log: |
6 |
Bumped EAPI to 5, adjusted deps for gx86-multilib; synchronized changes here with those made on soldieroffortune-demo as the original ebuilds matched -- however, this ebuild needs the CD for eveyrthing so there is no way for me to confirm accuracy of changes |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED) |
9 |
|
10 |
Revision Changes Path |
11 |
1.30 games-fps/soldieroffortune/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/soldieroffortune/ChangeLog?rev=1.30&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/soldieroffortune/ChangeLog?rev=1.30&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/soldieroffortune/ChangeLog?r1=1.29&r2=1.30 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/ChangeLog,v |
20 |
retrieving revision 1.29 |
21 |
retrieving revision 1.30 |
22 |
diff -u -r1.29 -r1.30 |
23 |
--- ChangeLog 19 Sep 2012 15:16:06 -0000 1.29 |
24 |
+++ ChangeLog 11 Jul 2014 14:04:00 -0000 1.30 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for games-fps/soldieroffortune |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/ChangeLog,v 1.29 2012/09/19 15:16:06 mr_bones_ Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/ChangeLog,v 1.30 2014/07/11 14:04:00 axs Exp $ |
31 |
+ |
32 |
+*soldieroffortune-1.06a-r1 (11 Jul 2014) |
33 |
+ |
34 |
+ 11 Jul 2014; Ian Stakenvicius (_AxS_) <axs@g.o> |
35 |
+ +soldieroffortune-1.06a-r1.ebuild: |
36 |
+ Bumped EAPI to 5, adjusted deps for gx86-multilib; synchronized changes here |
37 |
+ with those made on soldieroffortune-demo as the original ebuilds matched -- |
38 |
+ however, this ebuild needs the CD for eveyrthing so there is no way for me to |
39 |
+ confirm accuracy of changes |
40 |
|
41 |
19 Sep 2012; Michael Sterrett <mr_bones_@g.o> |
42 |
soldieroffortune-1.06a.ebuild: |
43 |
|
44 |
|
45 |
|
46 |
1.1 games-fps/soldieroffortune/soldieroffortune-1.06a-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/soldieroffortune/soldieroffortune-1.06a-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/soldieroffortune/soldieroffortune-1.06a-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: soldieroffortune-1.06a-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-fps/soldieroffortune/soldieroffortune-1.06a-r1.ebuild,v 1.1 2014/07/11 14:04:00 axs Exp $ |
56 |
|
57 |
EAPI=5 |
58 |
inherit eutils unpacker cdrom games |
59 |
|
60 |
DESCRIPTION="First-person shooter based on the mercenary trade" |
61 |
HOMEPAGE="http://www.lokigames.com/products/sof/" |
62 |
SRC_URI="mirror://lokigames/sof/sof-${PV}-cdrom-x86.run" |
63 |
|
64 |
LICENSE="LOKI-EULA" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
RESTRICT="strip" |
68 |
IUSE="" |
69 |
|
70 |
DEPEND="games-util/loki_patch" |
71 |
RDEPEND="sys-libs/glibc |
72 |
amd64? ( sys-libs/glibc[multilib] ) |
73 |
|| ( |
74 |
( |
75 |
virtual/opengl[abi_x86_32(-)] |
76 |
media-libs/libsdl[X,opengl,sound,abi_x86_32(-)] |
77 |
x11-libs/libXrender[abi_x86_32(-)] |
78 |
x11-libs/libXrandr[abi_x86_32(-)] |
79 |
media-libs/smpeg[abi_x86_32(-)] |
80 |
) |
81 |
( |
82 |
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] |
83 |
app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] |
84 |
app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] |
85 |
) |
86 |
)" |
87 |
|
88 |
S=${WORKDIR} |
89 |
|
90 |
dir=${GAMES_PREFIX_OPT}/${PN} |
91 |
Ddir=${ED}/${dir} |
92 |
|
93 |
pkg_pretend() { |
94 |
ewarn "The installed game takes about 725MB of space!" |
95 |
} |
96 |
|
97 |
src_unpack() { |
98 |
cdrom_get_cds sof.xpm |
99 |
unpack_makeself |
100 |
tar xzf "${CDROM_ROOT}"/paks.tar.gz -C "${T}" \ |
101 |
|| die "uncompressing data" |
102 |
tar xzf "${CDROM_ROOT}"/binaries.tar.gz -C "${T}" \ |
103 |
|| die "uncompressing binaries" |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
einfo "Copying files... this may take a while..." |
108 |
exeinto "${dir}" |
109 |
doexe "${CDROM_ROOT}"/bin/x86/glibc-2.1/sof |
110 |
insinto "${dir}" |
111 |
doins -r "${T}"/* |
112 |
doins "${CDROM_ROOT}"/{README,kver.pub,sof.xpm} |
113 |
|
114 |
cd "${S}" |
115 |
export _POSIX2_VERSION=199209 |
116 |
loki_patch --verify patch.dat |
117 |
loki_patch patch.dat "${Ddir}" >& /dev/null || die "patching" |
118 |
|
119 |
# now, since these files are coming off a cd, the times/sizes/md5sums wont |
120 |
# be different ... that means portage will try to unmerge some files (!) |
121 |
# we run touch on ${D} so as to make sure portage doesnt do any such thing |
122 |
find "${Ddir}" -exec touch '{}' \; |
123 |
|
124 |
games_make_wrapper sof ./sof "${dir}" "${dir}" |
125 |
|
126 |
# fix buffer overflow |
127 |
sed -i -e 's/^exec/i \ |
128 |
export MESA_EXTENSION_MAX_YEAR=2003 \ |
129 |
export __GL_ExtensionStringVersion=17700' \ |
130 |
"${ED}/${GAMES_BINDIR}/sof" || die |
131 |
|
132 |
doicon "${CDROM_ROOT}"/sof.xpm |
133 |
make_desktop_entry sof "Soldier of Fortune" sof |
134 |
|
135 |
prepgamesdirs |
136 |
} |
137 |
|
138 |
pkg_postinst() { |
139 |
games_pkg_postinst |
140 |
elog "To play the game run:" |
141 |
elog " sof" |
142 |
} |