diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-fps/serious-sam-tfe | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-fps/serious-sam-tfe')
-rw-r--r-- | games-fps/serious-sam-tfe/Manifest | 6 | ||||
-rw-r--r-- | games-fps/serious-sam-tfe/metadata.xml | 5 | ||||
-rw-r--r-- | games-fps/serious-sam-tfe/serious-sam-tfe-1_beta3.ebuild | 137 |
3 files changed, 148 insertions, 0 deletions
diff --git a/games-fps/serious-sam-tfe/Manifest b/games-fps/serious-sam-tfe/Manifest new file mode 100644 index 000000000000..8e8afac7b1bc --- /dev/null +++ b/games-fps/serious-sam-tfe/Manifest @@ -0,0 +1,6 @@ +DIST ssam-tfe-lnx-beta1a.run 8802528 BLAKE2B 44704392f74d94236d550d178b40df8553292e4f835982eedcb9d11ec94600f71247168dda540b628cd2f2a1eb646d286662cce693cfeea1eb19ff80f25fa1bc SHA512 dfef0c34a6f96e296272a1e82a3ffeaa3fde4a7affc8290f6d1878e5c65855ec24ab57fe895b62795369acf11fdfbc93e47c8cfaf362d531fbccca9aadb8f0fc +DIST ssamtfe-beta1b.sh.bin 1799399 BLAKE2B a32284317178ca56c0434c027366a607cfafdc231d040ce236ecf35f95e37244ef10dc858238db01d93f50a8df2694c071fce14435e2de289afeeb805a7cf09c SHA512 c7f416b2b21443c2092ebe8806757b59d19b286956f6c2ce74b77f9aaf4ec6a0ff3cd1db888bdb39cc8b427238c4a851c875bc9c9ec4733c82a557231391a346 +DIST ssamtfe-beta2.sh.bin 3083565 BLAKE2B 18938110be74e727fbd54f1e19caafb9bc234857b7c4c6e19daa7235141e688fe606d63992a8e4388a745f489aa7f56387778e0eed5db35d398168113238b883 SHA512 9e592d8c47d169738eb9b0c7c3ee4960fdf1f0427d53ed1d5918934ecd0fe0f81c34798de7410f971e36b7b11f7a569fdcb74136610bde0472d059c529c826c5 +DIST ssamtfe-beta3.sh.bin 3828409 BLAKE2B 1e6b14489f3e5bed922862f2c34d2e0b290fc39c47893c98a0b0a138c34977386d3ef94837fdb5d2cdea072895a330e9f09a40d729dfaa6eaaad03119d8d6428 SHA512 a3055cab0a5162358ae7696eac5613a344a3ab2a1369f3693e56647650f4d21ebc566ee99fb5f03885b4416aec830d93b00e838d9ebb8187924918b333b072a2 +EBUILD serious-sam-tfe-1_beta3.ebuild 3179 BLAKE2B 81e7a03584a13d07d86b8b6a23eff79ccc0288c4a0c0414d48f9a257908005044a366d892fad98b71777f5b9f3edcea60d57e6d47800b2d556c761f1c34a8ec1 SHA512 85a7f0571f2d7cf715a5902c88bec1de1095ae784c6ad2aef0a2080ab7eb73a374a18447ced56fb52f129e517fa9bc449f42a911f878fe651c42156444d877e9 +MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 diff --git a/games-fps/serious-sam-tfe/metadata.xml b/games-fps/serious-sam-tfe/metadata.xml new file mode 100644 index 000000000000..7a38bb900964 --- /dev/null +++ b/games-fps/serious-sam-tfe/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> +</pkgmetadata> diff --git a/games-fps/serious-sam-tfe/serious-sam-tfe-1_beta3.ebuild b/games-fps/serious-sam-tfe/serious-sam-tfe-1_beta3.ebuild new file mode 100644 index 000000000000..e42a75cfd668 --- /dev/null +++ b/games-fps/serious-sam-tfe/serious-sam-tfe-1_beta3.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit cdrom eutils games unpacker + +MY_PN="ssamtfe" + +DESCRIPTION="Serious Sam: The First Encounter" +HOMEPAGE="http://www.croteam.com/ + http://www.seriouszone.com/ + http://icculus.org/betas/ssam/" +SRC_URI="http://icculus.org/betas/ssam/ssam-tfe-lnx-beta1a.run + http://icculus.org/updates/ssam/${MY_PN}-beta1b.sh.bin + http://icculus.org/updates/ssam/${MY_PN}-beta2.sh.bin + http://icculus.org/updates/ssam/${MY_PN}-beta3.sh.bin" +LICENSE="LOKI-EULA" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="strip" +IUSE="alsa" + +RDEPEND=" + >=media-libs/libsdl-1.2.15-r5[X,joystick,opengl,video,abi_x86_32(-)] + virtual/opengl[abi_x86_32(-)] + alsa? ( + >=media-libs/libogg-1.3.1[abi_x86_32(-)] + >=media-libs/libsdl-1.2.15-r5[alsa,sound,abi_x86_32(-)] + >=media-libs/libvorbis-1.3.3-r1[abi_x86_32(-)] + ) +" + +DEPEND="games-util/loki_patch" + +S=${WORKDIR} + +QA_TEXTRELS=" +opt/ssamtfe/Bin/libGame.so +opt/ssamtfe/Bin/libEntities.so +opt/ssamtfe/Bin/libamp11lib.so +opt/ssamtfe/Bin/libShaders.so +" + +QA_FLAGS_IGNORED=" +opt/ssamtfe/Bin/libEntities.so +opt/ssamtfe/Bin/libGame.so +opt/ssamtfe/Bin/libamp11lib.so +opt/ssamtfe/Bin/libShaders.so +opt/ssamtfe/Bin/ssam_lnxded +opt/ssamtfe/Bin/ssam_lnxded.dynamic +opt/ssamtfe/Bin/ssam_lnx.dynamic +opt/ssamtfe/Bin/ssam_lnx +" + +pkg_setup() { + games_pkg_setup + + cdrom_get_cds "Install/1_00c.gro" +} + +src_unpack() { + mkdir Mods Levels + unpack_makeself ssam-tfe-lnx-beta1a.run + + # Copy files during unpack as the patches below apply to some of them + einfo "Copying from ${CDROM_ROOT}" + cp -r "${CDROM_ROOT}/Install"/* . || die "copy from CD failed" + + nonfatal unpack ./SeriousSamPatch105_USA_linux.tar.bz2 + unpack ./setupstuff.tar.gz + unpack ./bins.tar.bz2 + + # We need only runscript from bin/ directory + mv bin/${MY_PN} . + rm -r bin +} + +src_prepare() { + # Apply the Icculus patches + local v + for v in 1b 2 3 ; do + echo "Unpacking version ${v}" + unpack_makeself "${MY_PN}-beta${v}.sh.bin" + loki_patch patch.dat . || die "loki patch ${v} failed" + rm patch.dat + done + + # Remove unneeded files from Loki patches + rm -r bin + + # Switch to dynamic executable - runs at sane speeds on modern hardware + sed -i -e 's;exec "./ssam_lnx";exec "./ssam_lnx.dynamic";' ${MY_PN} \ + || die "dynamic binary update failed" +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${MY_PN} + + # Remove bundled libs + rm Bin/{libogg,libvorbis,libvorbisfile}.so + + # Remove unneeded files + rm *.{bin,bz2,cab,exe,ex_,ini,gz,sh} + rm -r data setup* Players Temp + + # Install icon + newicon ssam.xpm ${MY_PN}.xpm + + # Install documentation + dodoc README* + + # Install all other files + insinto "${dir}" + doins -r * + + # Install executables and wrapper script + exeinto "${dir}" + doexe ${MY_PN} + exeinto "${dir}"/Bin + doexe Bin/ssam_lnx* + + games_make_wrapper ${MY_PN} ./${MY_PN} "${dir}" "${dir}" + make_desktop_entry ${MY_PN} "Serious Sam - First Encounter" ${MY_PN} + + # Ensure that file datestamps from the CD are sane + find "${D}/${dir}" -exec touch '{}' \; + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + elog "The warning regarding 'XiG-SUNDRY-NONSTANDARD missing' is harmless" + echo +} |