summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2014-07-07 20:19:56 +0000
committerIan Stakenvicius <axs@gentoo.org>2014-07-07 20:19:56 +0000
commit4bacb213fe315722e774a47b46dd5e472629fc36 (patch)
treec608fdf80442ba27d9bc2e5858b8e8a38218954b /games-fps
parentAdd fixes for libreoffice, bug 514968. (diff)
downloadhistorical-4bacb213fe315722e774a47b46dd5e472629fc36.tar.gz
historical-4bacb213fe315722e774a47b46dd5e472629fc36.tar.bz2
historical-4bacb213fe315722e774a47b46dd5e472629fc36.zip
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
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x2B6559ED
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/postal2/ChangeLog12
-rw-r--r--games-fps/postal2/Manifest31
-rw-r--r--games-fps/postal2/postal2-1409.2-r2.ebuild77
3 files changed, 97 insertions, 23 deletions
diff --git a/games-fps/postal2/ChangeLog b/games-fps/postal2/ChangeLog
index 9cd677d48380..bd5f3c5b5d99 100644
--- a/games-fps/postal2/ChangeLog
+++ b/games-fps/postal2/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-fps/postal2
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/postal2/ChangeLog,v 1.12 2012/02/05 06:04:07 vapier Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/postal2/ChangeLog,v 1.13 2014/07/07 20:19:50 axs Exp $
+
+*postal2-1409.2-r2 (07 Jul 2014)
+
+ 07 Jul 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
+ +postal2-1409.2-r2.ebuild:
+ 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
05 Feb 2012; Mike Frysinger <vapier@gentoo.org> postal2-1409.2-r1.ebuild:
Move to new unpacker eclass for unpack_makeself.
@@ -45,4 +52,3 @@
+postal2-1409.2.ebuild:
Initial commit. Modified ebuild from bug #97533 by Kjartan Kvamme, Alexander
Nicolaysen Sørnes and Paul Bredbury.
-
diff --git a/games-fps/postal2/Manifest b/games-fps/postal2/Manifest
index c6a36e93124f..13aaceabc1ec 100644
--- a/games-fps/postal2/Manifest
+++ b/games-fps/postal2/Manifest
@@ -1,25 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-DIST postal2-1409.1.run 4816304 RMD160 be7853b44e3045a54b5cc9e6ede236917202942f SHA1 1f9d8c2962d5905b7a746e15b82547727c9f4e51 SHA256 7c34530f84acfcb120710660ae56264fdab28d74eb0dd0a351bef37f87e2b1b1
-DIST postal2-1409.2.run 5645624 RMD160 aeea0fdb559d59a23c5be01a0fecbc358e7a82d4 SHA1 6a83dee1a2ebd86716ecc5157d4a89e3fc3c5eff SHA256 5b7456200d5777b350e2a1b01eefd8f74df9c5d880acd18eeab3af731d719fe7
-EBUILD postal2-1409.2-r1.ebuild 1710 RMD160 175578eddbdee400815465ac22153f8ef35ff1e6 SHA1 043a53d6f093fe704e7de6e9fecbecd355a2411f SHA256 c3d133a819763c12a259ce54800cbf3dcce1517c1bc509be67f662eb915e0518
-MISC ChangeLog 1893 RMD160 d4a9d5be276760f0e150457d57118d7c090b2787 SHA1 69773c94dbec520a86e7a0d36e5042495458854f SHA256 db28ecba5725fe8c0bb37faca12c56d03e5ffd15d9cab9a92a19426054bdf011
-MISC metadata.xml 254 RMD160 55cf5d60597964cd3edcf1c5bba9b2fde558c1c1 SHA1 df7aa3b73c68627aef535f3522d60d3cf60cfac6 SHA256 94013c86722577c3622e96f1c5a36b40520c1115a3edd5843b366a0cea0b23c6
+DIST postal2-1409.1.run 4816304 SHA256 7c34530f84acfcb120710660ae56264fdab28d74eb0dd0a351bef37f87e2b1b1 SHA512 5ff4880435394c552e7c1f33baf8dfdb71eb56fe5e3067eeb746826a25e585d3901292618668de50dc8bf641b2628a26a82cdf5b642e33f4113b55d72df9c4fe WHIRLPOOL 90ff13f14d93ed539596bd21170397b55bf688719ac58d33168f27b7bdc7d1b7f6a45835b050608efc4e5cf8483e2a5b5894ff750449fa66206ce36f037a993e
+DIST postal2-1409.2.run 5645624 SHA256 5b7456200d5777b350e2a1b01eefd8f74df9c5d880acd18eeab3af731d719fe7 SHA512 9fafcfec30d99e30b879318a96f484d3723853a213606f58b02a37631b4393ab4925022fcef3f84c95907269c6675090100358c16cec8b779140bf83fe7cb660 WHIRLPOOL 658936af2e3cbd7d90734749187c36b05e16cefbcb73dc12526c4ceb9d3a34197b362186d3d06436ffb63e2019329631a2e6de13fb8a8518bf4a43f06872e7c7
+EBUILD postal2-1409.2-r1.ebuild 1710 SHA256 c3d133a819763c12a259ce54800cbf3dcce1517c1bc509be67f662eb915e0518 SHA512 7a7743b3c8ee89f0e045f6ebabaffaf5c5efd8a3f85029e22fdf2a75150a266a24df2bc63bdf51255873ec51277edc99c2e02d4a5fcc4618f80be58221c466bb WHIRLPOOL 5d426a3f4e9482918b4576e5994c2f715911e6c22c4bbf3cdc538a00564220064be86cfc92011ba1040907adfc1f1a6617e30ebf4e991f11e9e1dfe30ac01347
+EBUILD postal2-1409.2-r2.ebuild 1888 SHA256 c7a77342ba40fe68164f9f9b1522079526988b3bdbad5cd480b9a756a7616b6a SHA512 93456c3d575cf2f8da4f8f47e79d0b06708b241c5886702c30a2b7328888a64b4031b2ebeb5a2af44c12ac92fa344d5b054a23b10df418705b7aeacb39d92e35 WHIRLPOOL 187ba519b1f3593d8671ad0bc0e8fa88c4aa5a2c1913bd082751d759aaecdbaec424dcc58592a18d7a3455636e0baae429c59b683146ef30844db40a2d6686b8
+MISC ChangeLog 2152 SHA256 8c3619894e86dfb47e9e246a14d26a99d36627a1db797e72843d5cfa30c7b538 SHA512 c53166e997b91c79d333516ab2efdef656c04a0e5b8b34c286335aa1af875bf792433ece407ca20c4252bcb16713672e9022c3e4f5e88d1acc50e471c1aa4a63 WHIRLPOOL ff8dc4c77507df8e96a523942802f4db57b94495d5b57c0f8dfbd2baa2baf52db38c9827e8130823d52030820e14e6cfa53f9fe36546c07fec2bb3d43971198d
+MISC metadata.xml 254 SHA256 94013c86722577c3622e96f1c5a36b40520c1115a3edd5843b366a0cea0b23c6 SHA512 c154f0ec5e052c95141c1e182294e35c49bd8404157765a75b18025ad4b969d5007fab3363861f8e15dccd989e499d0eec4bafdc060bbf4400004969be8a6d8e WHIRLPOOL 536a04b316c96f02ebeb6d8198bccf0b0a7de25707d5b7f69b4cbf0e81e6919c4345d03b22b6f87aa72fe6bebf3aa14f42a94cd31194491e93bfeb775897a68d
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBAgAGBQJPLhvvAAoJELEHsLL7fEFWH6YQALee0A3exqiAIJoN5wJuF0qS
-y5XUJ257kJ7j3jLiKM6dU70C2ACeI6ArZgwXqIkCXvkuffOV3lZc1a1xE5Gzf8pO
-ole8ALzUnWg5LqVHU6BiYhbp+0X3r0c9PClJzNG3/TXePVBz2bHtqlMWcERIw0Iz
-/dC5Q0AiljqG4i5t56uVkUTI8kVBB1HkYhgAL5u5LCqjJccGQq7v7TNhxglTO9bE
-RRTe2ZixkFPf38xV5yZscLwhV74ve84XXOjyc7/SlsYPGvJIqABl9MDp+bvg4Hj0
-pZUKO5Tdcpsv2MKtmi3hTRoCDETwiTE8qDvGp5M6nu+Ch7Q/msW2Sf0vJGzgSQVM
-Ppk4JL1o4znb3zkpQ0+0KzSo1cc8XmIuH7PxNur+GNE6QywIPoKhidkw3phY+1UK
-l89um58mAOoJCu3tlLRhiesfzNy9LoHC1ncQarTmn525Z1nB3wb1BttwnMFd9V9N
-h0trHLtQfOhPzJ8M87g289GDG9X65OOQSz3MR+vrg0s0bzpU3OriXmaUssIfOKV8
-sNX79XECMZ48i0MEVV58LnqE9BuC25543iEFj+gxgopoUgVE+xgU+NCz7i4GrEfi
-XD0ssaCF2q6Yd39B7H8jlwiR0JlYdDTBC1ZxTMLWEQyFcl4wT4k0oHqBGGApL4YQ
-uHwpGK8uj6FhOoXa3K7e
-=U5YJ
+iF4EAREIAAYFAlO7AOIACgkQ2ugaI38ACPCFYwEAtwLcodGpwso9foKUil+X6iyn
+FlgnmlAqaTq+ovhBDZcA/1XLOjB83CEiwoT5G98W6HrYNNlreEMm9HoRlavHFJua
+=0CKe
-----END PGP SIGNATURE-----
diff --git a/games-fps/postal2/postal2-1409.2-r2.ebuild b/games-fps/postal2/postal2-1409.2-r2.ebuild
new file mode 100644
index 000000000000..0246321379d4
--- /dev/null
+++ b/games-fps/postal2/postal2-1409.2-r2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/postal2/postal2-1409.2-r2.ebuild,v 1.1 2014/07/07 20:19:50 axs Exp $
+
+EAPI=5
+inherit eutils unpacker cdrom multilib games
+
+DESCRIPTION="Postal 2: Share the Pain"
+HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=postal2"
+SRC_URI="http://updatefiles.linuxgamepublishing.com/${PN}/${P/%?/1}.run
+ http://updatefiles.linuxgamepublishing.com/${PN}/${P}.run"
+
+LICENSE="postal2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND="games-util/loki_patch"
+RDEPEND="sys-libs/glibc
+ sys-libs/libstdc++-v3:5
+ amd64? ( sys-libs/glibc[multilib] sys-libs/libstdc++-v3:5[multilib] )
+ || (
+ (
+ virtual/opengl[abi_x86_32(-)]
+ media-libs/libsdl[X,opengl,abi_x86_32(-)]
+ media-libs/openal[abi_x86_32(-)]
+ )
+ (
+ app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
+ app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
+ )
+ )"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cdrom_get_cds .installation_data/linux-specific.tar.bz2
+ mkdir ${A}
+
+ local f
+ for f in * ; do
+ cd "${S}"/${f}
+ unpack_makeself ${f}
+ done
+}
+
+src_install() {
+ has_multilib_profile && ABI=x86
+
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+
+ dodir "${dir}"
+ cd "${D}/${dir}"
+
+ ln -s "${CDROM_ROOT}"/.installation_data/*.bz2 .
+ unpack ./*.bz2
+ rm -f ./*.bz2
+
+ local d
+ for d in "${S}"/* ; do
+ pushd "${d}" > /dev/null
+ loki_patch patch.dat "${D}/${dir}" || die "loki_patch ${d} failed"
+ popd > /dev/null
+ done
+
+ rm -f System/{libstdc++.so.5,libgcc_s.so.1}
+
+ dosym /usr/$(get_libdir)/libopenal.so "${dir}"/System/openal.so
+ dosym /usr/$(get_libdir)/libSDL-1.2.so.0 "${dir}"/System/libSDL-1.2.so.0
+
+ games_make_wrapper ${PN} ./${PN}-bin "${dir}"/System .
+ doicon "${CDROM_ROOT}"/.installation_data/${PN}.xpm
+ make_desktop_entry ${PN} "Postal 2: Share the Pain"
+
+ prepgamesdirs
+}