diff options
Diffstat (limited to 'games-fps/postal2')
-rw-r--r-- | games-fps/postal2/Manifest | 6 | ||||
-rw-r--r-- | games-fps/postal2/metadata.xml | 8 | ||||
-rw-r--r-- | games-fps/postal2/postal2-1409.2-r2.ebuild | 68 |
3 files changed, 82 insertions, 0 deletions
diff --git a/games-fps/postal2/Manifest b/games-fps/postal2/Manifest new file mode 100644 index 000000000000..25c6476fb928 --- /dev/null +++ b/games-fps/postal2/Manifest @@ -0,0 +1,6 @@ +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-r2.ebuild 1664 SHA256 e13686a6d09e0d1fb4bf4253ab2569b951bea599ccbd6c259d5a42cc9dc12de2 SHA512 a523a007bc590db606607aa6521e902efed3a04bda4c060e92dad230d2890d69ef037f2227b8364e9931e9bdc0ba0d268f4a50f2545ca3c6cad19f363fae225a WHIRLPOOL 09cb570731f7c7dfb56dd7a7971c3871bc4bf3bf1aabacc0f443cbdd6fb7761722ec216eef7da64f87451dae3cf7edc033595dfc7e3109f53f6e3938980092c8 +MISC ChangeLog 2560 SHA256 31335d9f7fd7376f5552e72f9c388f5cac8560c4c7985c9284248ea5a979f4ff SHA512 a9a37e0e4f92a16d01d4da1d663f24fae0ff727e4595b214cc02b686b5a703080dd9802257f2ef5e71738f4b9329c1d4ea72b4a4657b0b776d9039c68b50116c WHIRLPOOL cfe779acda5bf046b7183873d61451cb02ce57c426f4ec1a61ddd7a1030e90c50e15ddeed9a3991bb44a7010ea2e0c2e2b1b3a3b508488ce86f9cb091a9e87c0 +MISC ChangeLog-2015 2695 SHA256 b9bde186ac38f50c05416517928699e52f0258159c4f1f56668cf9ea6637247f SHA512 8f7f3ffb80f6401a2e401685dee78a7b9473d6fc5435cd2bf4b8c42d30e14ba2869c0db336a77896605d364df0d51ccbc3e715fc366503c3b32333758a321edc WHIRLPOOL 14d109109c4a3f9b3a9cf92f23f4fd4f2f460669bab210f11a9245d3103f09fad5659db31f2214bbe24197228b2a9a36c4aec390b14ee64d1e3a89ee0ccc9731 +MISC metadata.xml 252 SHA256 0dd0e558bb7ccc4f24cb9c9c43790c108e559f3462861b2ff6eb267a345beaab SHA512 90798aff93ec7e3881b882e7b10bb1680e8cb7d82b0ef4280e562ab0c9e8a2daba8afe57333dc64697322267a4b651c00ee9b4fdeb56278ff70c073da7b91638 WHIRLPOOL c6c72f145f4ccc4863ad4c1a236eac601fb00f0e9550568f98d5e6f5eeb16f361b4c18eac8d80a1534e398fac595a6819a86297164be0818d04de6d643f01d7c diff --git a/games-fps/postal2/metadata.xml b/games-fps/postal2/metadata.xml new file mode 100644 index 000000000000..3c186688e265 --- /dev/null +++ b/games-fps/postal2/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> 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..ac2313659529 --- /dev/null +++ b/games-fps/postal2/postal2-1409.2-r2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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-7.0-r1[abi_x86_32(-)] + >=media-libs/libsdl-1.2.15-r4[X,opengl,abi_x86_32(-)] + >=media-libs/openal-1.15.1[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 +} |