1 |
axs 14/07/07 20:19:50 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: postal2-1409.2-r2.ebuild |
5 |
Log: |
6 |
Bumped EAPI to 5, adjusted deps for gx86-multilib; could not test due to not having the CD, so assumed that deps were previously accurate |
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.13 games-fps/postal2/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/postal2/ChangeLog?rev=1.13&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/postal2/ChangeLog?rev=1.13&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/postal2/ChangeLog?r1=1.12&r2=1.13 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-fps/postal2/ChangeLog,v |
20 |
retrieving revision 1.12 |
21 |
retrieving revision 1.13 |
22 |
diff -u -r1.12 -r1.13 |
23 |
--- ChangeLog 5 Feb 2012 06:04:07 -0000 1.12 |
24 |
+++ ChangeLog 7 Jul 2014 20:19:50 -0000 1.13 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for games-fps/postal2 |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-fps/postal2/ChangeLog,v 1.12 2012/02/05 06:04:07 vapier Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/games-fps/postal2/ChangeLog,v 1.13 2014/07/07 20:19:50 axs Exp $ |
31 |
+ |
32 |
+*postal2-1409.2-r2 (07 Jul 2014) |
33 |
+ |
34 |
+ 07 Jul 2014; Ian Stakenvicius (_AxS_) <axs@g.o> |
35 |
+ +postal2-1409.2-r2.ebuild: |
36 |
+ Bumped EAPI to 5, adjusted deps for gx86-multilib; could not test due to not |
37 |
+ having the CD, so assumed that deps were previously accurate |
38 |
|
39 |
05 Feb 2012; Mike Frysinger <vapier@g.o> postal2-1409.2-r1.ebuild: |
40 |
Move to new unpacker eclass for unpack_makeself. |
41 |
@@ -45,4 +52,3 @@ |
42 |
+postal2-1409.2.ebuild: |
43 |
Initial commit. Modified ebuild from bug #97533 by Kjartan Kvamme, Alexander |
44 |
Nicolaysen Sørnes and Paul Bredbury. |
45 |
- |
46 |
|
47 |
|
48 |
|
49 |
1.1 games-fps/postal2/postal2-1409.2-r2.ebuild |
50 |
|
51 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/postal2/postal2-1409.2-r2.ebuild?rev=1.1&view=markup |
52 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-fps/postal2/postal2-1409.2-r2.ebuild?rev=1.1&content-type=text/plain |
53 |
|
54 |
Index: postal2-1409.2-r2.ebuild |
55 |
=================================================================== |
56 |
# Copyright 1999-2014 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
# $Header: /var/cvsroot/gentoo-x86/games-fps/postal2/postal2-1409.2-r2.ebuild,v 1.1 2014/07/07 20:19:50 axs Exp $ |
59 |
|
60 |
EAPI=5 |
61 |
inherit eutils unpacker cdrom multilib games |
62 |
|
63 |
DESCRIPTION="Postal 2: Share the Pain" |
64 |
HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=postal2" |
65 |
SRC_URI="http://updatefiles.linuxgamepublishing.com/${PN}/${P/%?/1}.run |
66 |
http://updatefiles.linuxgamepublishing.com/${PN}/${P}.run" |
67 |
|
68 |
LICENSE="postal2" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~x86" |
71 |
IUSE="" |
72 |
RESTRICT="strip" |
73 |
|
74 |
DEPEND="games-util/loki_patch" |
75 |
RDEPEND="sys-libs/glibc |
76 |
sys-libs/libstdc++-v3:5 |
77 |
amd64? ( sys-libs/glibc[multilib] sys-libs/libstdc++-v3:5[multilib] ) |
78 |
|| ( |
79 |
( |
80 |
virtual/opengl[abi_x86_32(-)] |
81 |
media-libs/libsdl[X,opengl,abi_x86_32(-)] |
82 |
media-libs/openal[abi_x86_32(-)] |
83 |
) |
84 |
( |
85 |
app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] |
86 |
app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] |
87 |
) |
88 |
)" |
89 |
|
90 |
S=${WORKDIR} |
91 |
|
92 |
src_unpack() { |
93 |
cdrom_get_cds .installation_data/linux-specific.tar.bz2 |
94 |
mkdir ${A} |
95 |
|
96 |
local f |
97 |
for f in * ; do |
98 |
cd "${S}"/${f} |
99 |
unpack_makeself ${f} |
100 |
done |
101 |
} |
102 |
|
103 |
src_install() { |
104 |
has_multilib_profile && ABI=x86 |
105 |
|
106 |
local dir=${GAMES_PREFIX_OPT}/${PN} |
107 |
|
108 |
dodir "${dir}" |
109 |
cd "${D}/${dir}" |
110 |
|
111 |
ln -s "${CDROM_ROOT}"/.installation_data/*.bz2 . |
112 |
unpack ./*.bz2 |
113 |
rm -f ./*.bz2 |
114 |
|
115 |
local d |
116 |
for d in "${S}"/* ; do |
117 |
pushd "${d}" > /dev/null |
118 |
loki_patch patch.dat "${D}/${dir}" || die "loki_patch ${d} failed" |
119 |
popd > /dev/null |
120 |
done |
121 |
|
122 |
rm -f System/{libstdc++.so.5,libgcc_s.so.1} |
123 |
|
124 |
dosym /usr/$(get_libdir)/libopenal.so "${dir}"/System/openal.so |
125 |
dosym /usr/$(get_libdir)/libSDL-1.2.so.0 "${dir}"/System/libSDL-1.2.so.0 |
126 |
|
127 |
games_make_wrapper ${PN} ./${PN}-bin "${dir}"/System . |
128 |
doicon "${CDROM_ROOT}"/.installation_data/${PN}.xpm |
129 |
make_desktop_entry ${PN} "Postal 2: Share the Pain" |
130 |
|
131 |
prepgamesdirs |
132 |
} |