diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-fps/enemy-territory |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-fps/enemy-territory')
-rw-r--r-- | games-fps/enemy-territory/Manifest | 7 | ||||
-rw-r--r-- | games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild | 126 | ||||
-rw-r--r-- | games-fps/enemy-territory/metadata.xml | 11 |
3 files changed, 144 insertions, 0 deletions
diff --git a/games-fps/enemy-territory/Manifest b/games-fps/enemy-territory/Manifest new file mode 100644 index 000000000000..299be72c81c5 --- /dev/null +++ b/games-fps/enemy-territory/Manifest @@ -0,0 +1,7 @@ +DIST ET-2.60b.zip 4143401 SHA256 6fb77e1ed0314b2da5c2a28807392ac638204faec8ef86361893937f182b22f8 SHA512 f86d0d172a170cd894f1c60a817d2159768bf7d03cb0146f3470edd54828096a62e890c24bac80a5851adc9356cb2716d5f0c756fab063a9c0eb561b72825b84 WHIRLPOOL 6e4718051b77201b5bdb87efebd492db46ca83cca380b7f4bac2833d3f95700a39801cfcd5b025ed2b4c51d6b3140b7a2021ba8e1056bf4d100e67204768170b +DIST enemy-territory-all-0.1.tar.bz2 876 SHA256 8c3466db348eccd34bd108db57bc6fb656a7dcbacd190cc331fd8caf74c7cb64 SHA512 7e00ac4a30ebbbc5db646e0edf6683d8e4d99756c1010922ccfd16a3dc27c0a5b23a91c9f3adb3e120bfcd5f9a3302a466a86888ff1496dda29a3b09e87eacb2 WHIRLPOOL 1dec8052196a04a3cf834636bab54a15a0eceee2eb52df888a533fe4f78a3f774eb122d6b14d65738b9084b7d543d26ab3d9ef14cafd63a1ba68e50e60d63307 +DIST et-linux-2.60.x86.run 270965248 SHA256 41cbbc1afb8438bc8fc74a64a171685550888856005111cbf9af5255f659ae36 SHA512 7321a3d831dd375c49aff81f30098c5201880e9fc783a25dd7dee3bd2211372e0e07a482e6c78982bc1f27d62bceb769dffc30f820c3144b4a64268fd9ef5cfe WHIRLPOOL 43e4cdced441add2524e07412d06a5530627922b14549f847567b9e558eb7652f7a7c8b6dac26b5ed6c18f55597a8cf898c950026dcd0577731d86257ae59162 +EBUILD enemy-territory-2.60b-r1.ebuild 3268 SHA256 30972bbec68092a05eb129309b28c31430687b72f7d4dc0fdcc512edec6297b6 SHA512 b4f5f7d0b34006b37300406dafc5a2274f5005b9d2d599b4706d8bcf55b439e4c189067f4f54e0705259817b101244d833f31ad2c9b53806e5f7c0585963a2a9 WHIRLPOOL feada902bc99730d2619dcb47d475e79b51000539cfe02c29ccaa38f76e192a7ce805223e44bdaa713e82fc8b14a7ffcf9cc8ad49cb7315e22dfb6f68fed279a +MISC ChangeLog 2705 SHA256 692a000982d8d8135c296cfa92defb6f95557537bec9b85c5b1a0ef0039750b3 SHA512 f56957620706f609ef18184689119a0bf4ade7e175690264712b5625ae0b94586faf3aff6c279a0d0bb447116005c0897ac1b2d63bc4e30dda0dc624687d16c8 WHIRLPOOL 8161e4c9dca074d4669631ee2b2147749dd6f3176cbfe6095eba7d5e98e73805aba1b74c36488e17e6b70c727b64bc8f6f27ad9a0265ff38afccb12ccaee9e6b +MISC ChangeLog-2015 9132 SHA256 3751e677a0f08b9da4c560499b02eba8f0ffe2a070bffad9f7f39ec476e1f2c4 SHA512 85118986d3aff13377a12506a8e8f51585c0175771e5d680653c93a508534ecd93e3a035f42f6846551d36707600a7bd209e32e99577cc09947a1b711f359ae0 WHIRLPOOL fd2702c5f4fb40ee9394520f3154b072f48b22d671ea7260f4fd446113983a9a3b9493bb2bfec5f31af2d04cf3132ad478740f15d66d0df86dba94fd7b923567 +MISC metadata.xml 1044 SHA256 e35f8a9f18d8b1915bb9d5b809c8beb318a6193e0a682d9635a604276d723bc1 SHA512 8ec59ef948ae9471580cb39a80bb99fc1b524c45ad60f031560fde9f2358998335e414ba09fa49c9909a005da424db84543a0b39a8b68479c097d392c2ce9bb9 WHIRLPOOL 47dddf0082ae80b261615aaf072c63759cb4ad74a09e31318070ae0dd1e28fa7edd40d90ca60c49aa8898e30503e2b0aeda4236e9acaaeb86844d4e8b7d48471 diff --git a/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild b/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild new file mode 100644 index 000000000000..62ea2448f19e --- /dev/null +++ b/games-fps/enemy-territory/enemy-territory-2.60b-r1.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils unpacker games + +DESCRIPTION="standalone multi-player game based on Return to Castle Wolfenstein" +HOMEPAGE="http://www.idsoftware.com/" +SRC_URI="mirror://3dgamers/wolfensteinet/et-linux-2.60.x86.run + mirror://idsoftware/et/linux/et-linux-2.60.x86.run + ftp://ftp.red.telefonica-wholesale.net/GAMES/ET/linux/et-linux-2.60.x86.run + mirror://idsoftware/et/ET-${PV}.zip + dedicated? ( + https://dev.gentoo.org/~wolf31o2/sources/dump/${PN}-all-0.1.tar.bz2 + mirror://gentoo/${PN}-all-0.1.tar.bz2 + )" + +LICENSE="RTCW-ETEULA" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="dedicated" +RESTRICT="mirror strip" + +DEPEND="app-arch/unzip" +RDEPEND="sys-libs/glibc + amd64? ( sys-libs/glibc[multilib] ) + dedicated? ( app-misc/screen ) + !dedicated? ( + virtual/opengl[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] + )" + +S=${WORKDIR} + +dir=${GAMES_PREFIX_OPT}/${PN} +Ddir=${D}/${dir} + +QA_PREBUILT=" + ${dir:1}/et.x86 + ${dir:1}/etded.x86 + ${dir:1}/etmain/cgame.mp.i386.so + ${dir:1}/etmain/qagame.mp.i386.so + ${dir:1}/etmain/ui.mp.i386.so + ${dir:1}/pb/pbag.so + ${dir:1}/pb/pbags.so + ${dir:1}/pb/pbcl.so + ${dir:1}/pb/pbcls.so + ${dir:1}/pb/pbsv.so + ${dir:1}/pb/pbweb.x86" + +src_unpack() { + unpack_makeself et-linux-2.60.x86.run + if use dedicated; then + unpack ${PN}-all-0.1.tar.bz2 + fi + unpack ET-${PV}.zip +} + +src_prepare() { + if use dedicated ; then + sed 's@/sbin/runscript@/sbin/openrc-run@' \ + -i et-ded.rc || die + fi +} + +src_install() { + exeinto "${dir}" + doexe openurl.sh + + insinto "${dir}" + dodoc CHANGES README + + cp -r Docs pb etmain "${Ddir}" || die + chmod og+x "${Ddir}"/pb/pbweb.x86 || die + + if ! use dedicated ; then + doicon ET.xpm + doexe "Enemy Territory 2.60b"/linux/et.x86 + games_make_wrapper et ./et.x86 "${dir}" "${dir}" + make_desktop_entry et "Enemy Territory" ET + else + doexe "Enemy Territory 2.60b"/linux/etded.x86 + games_make_wrapper et-ded ./etded.x86 "${dir}" + newinitd "${S}"/et-ded.rc et-ded + sed -i \ + -e "s:GAMES_USER_DED:${GAMES_USER_DED}:" \ + -e "s:GENTOO_DIR:${GAMES_BINDIR}:" \ + "${D}"/etc/init.d/et-ded || die + newconfd "${S}"/et-ded.conf.d et-ded + # TODO: move this to /var/ perhaps ? + keepdir "${dir}/etwolf-homedir" + chmod g+rw "${Ddir}/etwolf-homedir" + dosym "${dir}/etwolf-homedir" "${GAMES_PREFIX}/.etwolf" + fi + + prepgamesdirs + chmod g+rw "${Ddir}" "${Ddir}/etmain" +} + +pkg_postinst() { + games_pkg_postinst + ewarn "There are two possible security bugs in this package, both causing a" + ewarn "denial of service. One affects the game when running a server, the" + ewarn "other when running as a client." + ewarn "For more information, see bug #82149." + echo + if ! use dedicated; then + elog "To play the game run:" + elog " et" + echo + else + elog "To start a dedicated server run:" + elog " /etc/init.d/et-ded start" + echo + elog "To run the dedicated server at boot, type:" + elog " rc-update add et-ded default" + echo + elog "The dedicated server is started under the ${GAMES_USER_DED} user account." + echo + ewarn "Store your configurations under ${dir}/etwolf-homedir or they" + ewarn "will be erased on the next upgrade." + ewarn "See bug #132795 for more info." + echo + fi +} diff --git a/games-fps/enemy-territory/metadata.xml b/games-fps/enemy-territory/metadata.xml new file mode 100644 index 000000000000..8ab2e0c01fff --- /dev/null +++ b/games-fps/enemy-territory/metadata.xml @@ -0,0 +1,11 @@ +<?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> +<longdescription> +Enemy Territory is a first-person 3-D shooter based loosely on the original Wolfenstein series by id software. The game takes place in North Africa and Europe during World War II and allows you to play as either the Axis or the Allies. There are several classes of characters you can play, each with their own special abilities and weapon choices. You can also gain proficiency in your specialties and increase your abilities by performing your class's specialized duties, which helps promote teamwork. Enemy Territory was originally to be a single and milti-player add-on for Return to Castle Wofenstein, but John Carmack and company were not happy with the progress they had made on it, so instead, they released it as a multi-player stand-alone game. +</longdescription> +</pkgmetadata> |