diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-fps/serious-sam-tfe | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-fps/serious-sam-tfe')
-rw-r--r-- | games-fps/serious-sam-tfe/Manifest | 4 | ||||
-rw-r--r-- | games-fps/serious-sam-tfe/metadata.xml | 8 | ||||
-rw-r--r-- | games-fps/serious-sam-tfe/serious-sam-tfe-1_beta3.ebuild | 138 |
3 files changed, 150 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..e497e18d617b --- /dev/null +++ b/games-fps/serious-sam-tfe/Manifest @@ -0,0 +1,4 @@ +DIST ssam-tfe-lnx-beta1a.run 8802528 SHA256 844b0387696e6e217285833fa7506e1a2d2494a38d5e843edb3a063bce32b7ea SHA512 dfef0c34a6f96e296272a1e82a3ffeaa3fde4a7affc8290f6d1878e5c65855ec24ab57fe895b62795369acf11fdfbc93e47c8cfaf362d531fbccca9aadb8f0fc WHIRLPOOL 95de7e653d896fa67b50640083b44f685eec70e425accb671470853345d0ef8dcb5d00abf853059c5559521c28c5bd4de8d7322c0352ca132289d315410c464f +DIST ssamtfe-beta1b.sh.bin 1799399 SHA256 712309ac99ed139ffbd91360167c5e82d7fb8378b005c9873e835f581011b619 SHA512 c7f416b2b21443c2092ebe8806757b59d19b286956f6c2ce74b77f9aaf4ec6a0ff3cd1db888bdb39cc8b427238c4a851c875bc9c9ec4733c82a557231391a346 WHIRLPOOL 4b095d4a96a9dae1d474a8a73c23b76154fcc3d9567a5f2b926abadd5ab86675458fdb48504a5ce4f340d632e9eac0c06530168c47f910c0208a53e6401eed3e +DIST ssamtfe-beta2.sh.bin 3083565 SHA256 6e43a8f536423f5d675a339925516d608f1f4ace9ad360674956b5f9cc3376b6 SHA512 9e592d8c47d169738eb9b0c7c3ee4960fdf1f0427d53ed1d5918934ecd0fe0f81c34798de7410f971e36b7b11f7a569fdcb74136610bde0472d059c529c826c5 WHIRLPOOL 1702ee0537a9193084703e4cbe0fbdc0153db446b5b42be6cd2bcca028a9729e4aba0b9f46c3a03e71898aa00b3bfacb6a71fb023c0c70a51813cfc64b69e43e +DIST ssamtfe-beta3.sh.bin 3828409 SHA256 609f5b5fd21821e6a079b36770d9dbdcabc5e64ed6ac190d4005df5ec22e980f SHA512 a3055cab0a5162358ae7696eac5613a344a3ab2a1369f3693e56647650f4d21ebc566ee99fb5f03885b4416aec830d93b00e838d9ebb8187924918b333b072a2 WHIRLPOOL 9a8db0a4a47b695f9389aefc1dca04689129269f820d3bc392834443eb8d1d051a972f82aaeace15250715fd9a263fe3f1ebe846c3b349e66971160e47e73fed diff --git a/games-fps/serious-sam-tfe/metadata.xml b/games-fps/serious-sam-tfe/metadata.xml new file mode 100644 index 000000000000..b6b8956cde34 --- /dev/null +++ b/games-fps/serious-sam-tfe/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> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + </maintainer> +</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..dddcbf12f464 --- /dev/null +++ b/games-fps/serious-sam-tfe/serious-sam-tfe-1_beta3.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |