summaryrefslogtreecommitdiff
path: root/games-fps/rott
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/rott')
-rw-r--r--games-fps/rott/Manifest7
-rw-r--r--games-fps/rott/metadata.xml25
-rw-r--r--games-fps/rott/rott-1.1.2-r1.ebuild55
-rw-r--r--games-fps/rott/rott-1.1.2.ebuild55
4 files changed, 142 insertions, 0 deletions
diff --git a/games-fps/rott/Manifest b/games-fps/rott/Manifest
new file mode 100644
index 000000000000..088ab34f5ad2
--- /dev/null
+++ b/games-fps/rott/Manifest
@@ -0,0 +1,7 @@
+DIST rott-1.1.2.tar.gz 749079 SHA256 102516e8c312f6b0bbf6c623e1f01cbfbbc314ace8adfe1f201d47b15bd927ff SHA512 809a9064fe31c63afccb9a6397ac2c9d4172cdd802b055697cf3b0090ee6a78c9e40b52a4a8df25196489d9a0259304c91e2f84f95413a293bc66192502cf200 WHIRLPOOL dc7808f0da85cfd1e240cbae20ddbbc1f564b5f294e42176a9c38795d3d34d2168476c5d415cce819afe67c3fa1da15812106969d463fc505bfc503c27b76580
+DIST swdata.zip 2889672 SHA256 e226d4958ce1294886b32faf782d9db3d3e66f875d9addd62982e2c8d104fd6b SHA512 99373097356afa583021367b2e0ec6ec745941890e4f17f4e07206c66dd370dfa9e928bc0bd6ab9809d8c72646dcc609e3c19f688d2b89a886f215a153b6dd0d WHIRLPOOL 571d2a5c5f9c45def28f8950d6eaadf5110dbfb0b027951a6a56c1acefe799a7356bc2b436dbe7c9f47d868bdf6b03196fbc69591a66d11c2fb36ab1695125cd
+EBUILD rott-1.1.2-r1.ebuild 1088 SHA256 06614940362cb3d40e5a84980cc40b38b7da4bc6bee1dc19480884fbd955c37c SHA512 0ecd207fb8ec9ecb103611623bdc918e68a499fa58636bc2c9e5719351a4f9efb4ea843da0096fec8abc4d4492339a55210e1d3f4b3d324c152d27a5a446e182 WHIRLPOOL 80c6912b8406e240b19354a66463cc6afafaaa32dc5c4df256e3227634f91ec154da9df3a8700f3bd432934ce41c10ff6b63a886a7d4210a9e364340b9d691cd
+EBUILD rott-1.1.2.ebuild 1142 SHA256 99eb7df52a7d5030e54f24eee092510def54005bc3a5b7e4468b9125ff9adcb9 SHA512 e15e52ae36620d6030c3a8d9874053f7229b9369042e5744bfb8eb2c517bdc785668ecec4401c21a71fb72c48df7973c2945a692a836688dbb063083eaec393a WHIRLPOOL b32fcda97d8b0a57736cbf74664724ff9b7976ec8c5666515749721259972e3173a99f29386b8a647de8ae5b11fbb180799197a218b23be47bc0820ac94c1bd5
+MISC ChangeLog 3240 SHA256 79f5d91a351bea5ed6b891bb5b20e21f1158008b806c595c32e94a8af8da0be4 SHA512 ea3f852e56c9b3fe40fcd976420c257611b5b954da866c5b6178983afdc5a5ccdc01e34144c46b35e9c681c846ee13c8e633ca6e2f0f2e896a177b9f022decf7 WHIRLPOOL ca5644b33db019667a0c4d4a431fed79cbc69c371bdc9bafdce92492a069358e27769608375f012af1b2f972f411a47e8389c8907d7e1d472c8c6130b33119d9
+MISC ChangeLog-2015 1641 SHA256 8bfe816882c3eba29b5503175f1abc99a920be63d968a684a9b874bfef2047c2 SHA512 96ec1a46c631170594241bab8aa4ed10e3ca7a8f060d57b7368cd9c597b21fee09f83249cbb497341c48a34f44473b9f28a0a3adc9419db25803d537435d5fa3 WHIRLPOOL 48a4013d5260657ec8abab818fdb9f27334cfc97cc49fa69769953e0c09cc7351a4b1bf333093342b2062d56bb01e7c410032b3e26b165142b8f94f7ee04867a
+MISC metadata.xml 1095 SHA256 20429219a554c914f09621d815ade69d8d44effb2a9791dbf6afda22ea30255f SHA512 6e2d291f04b343b366ad9b7e5c18ae7cce327dd27cfdb496247a0228d2cf160d8d42f803f21aed07181dc1395ad8db9431270abd174dfc3c3d46a951294a3325 WHIRLPOOL d77c47f104c52de7319a4ea7312c3d2697112f2af7d979b65e251b0fb98c6158d81fd8935b45f202cf46438107d2ffda066b768a9e6405a072d761974212a4a1
diff --git a/games-fps/rott/metadata.xml b/games-fps/rott/metadata.xml
new file mode 100644
index 000000000000..5bc2b194722d
--- /dev/null
+++ b/games-fps/rott/metadata.xml
@@ -0,0 +1,25 @@
+<?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>
+THE STORY
+
+You are part of an elite group of operatives called HUNT (High-risk
+United Nations Taskforce), and you must stop a maniac cult leader from
+killing millions of people. While scouting a remote island, you are
+suddenly surrounded by enemy troops with guns blaring. In the distance
+you see your boat--your only chance to escape--explode into matchsticks.
+In front of you is a huge fortress monastery, and your only chance to
+stop the madness. You are e quipped with awesome, high-tech weaponry
+like heat-seeking missiles, split missiles, and the Flamewall cannon,
+which leaves a trail of charred skeletons in its wake. You'll also find
+magical instruments and weapons so incredible they defy description.
+</longdescription>
+ <use>
+ <flag name="demo">Install the shareware version</flag>
+ </use>
+</pkgmetadata>
diff --git a/games-fps/rott/rott-1.1.2-r1.ebuild b/games-fps/rott/rott-1.1.2-r1.ebuild
new file mode 100644
index 000000000000..5eabd67d2f86
--- /dev/null
+++ b/games-fps/rott/rott-1.1.2-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Rise of the Triad for Linux!"
+HOMEPAGE="http://www.icculus.org/rott/"
+SRC_URI="http://www.icculus.org/rott/releases/${P}.tar.gz
+ demo? ( http://filesingularity.timedoctor.org/swdata.zip )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="demo"
+
+RDEPEND="media-libs/libsdl[sound,joystick,video]
+ media-libs/sdl-mixer"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${P}/rott
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e '/^CC =/d' \
+ Makefile || die "sed failed"
+ emake clean
+}
+
+src_compile() {
+ emake -j1 \
+ EXTRACFLAGS="${CFLAGS} -DDATADIR=\\\"/usr/share/${PN}/\\\"" \
+ SHAREWARE=$(usex demo "1" "0")
+}
+
+src_install() {
+ dobin rott
+ dodoc ../doc/*.txt ../README
+ doman ../doc/rott.6
+ if use demo ; then
+ cd "${WORKDIR}" || die
+ insinto /usr/share/${PN}
+ doins *.dmo huntbgin.* remote1.rts
+ fi
+}
+
+pkg_postinst() {
+ if ! use demo ; then
+ elog "To play the full version, just copy the"
+ elog "data files to /usr/share/${PN}/"
+ fi
+}
diff --git a/games-fps/rott/rott-1.1.2.ebuild b/games-fps/rott/rott-1.1.2.ebuild
new file mode 100644
index 000000000000..89a28ab64800
--- /dev/null
+++ b/games-fps/rott/rott-1.1.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="Rise of the Triad for Linux!"
+HOMEPAGE="http://www.icculus.org/rott/"
+SRC_URI="http://www.icculus.org/rott/releases/${P}.tar.gz
+ demo? ( http://filesingularity.timedoctor.org/swdata.zip )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="demo"
+
+RDEPEND="media-libs/libsdl[sound,joystick,video]
+ media-libs/sdl-mixer"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${P}/rott
+
+src_prepare() {
+ sed -i \
+ -e '/^CC =/d' \
+ Makefile || die "sed failed"
+ emake clean
+}
+
+src_compile() {
+ emake -j1 \
+ EXTRACFLAGS="${CFLAGS} -DDATADIR=\\\"${GAMES_DATADIR}/${PN}/\\\"" \
+ SHAREWARE=$(usex demo "1" "0")
+}
+
+src_install() {
+ dogamesbin rott
+ dodoc ../doc/*.txt ../README
+ doman ../doc/rott.6
+ if use demo ; then
+ cd "${WORKDIR}" || die
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins *.dmo huntbgin.* remote1.rts
+ fi
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if ! use demo ; then
+ elog "To play the full version, just copy the"
+ elog "data files to ${GAMES_DATADIR}/${PN}/"
+ fi
+}