summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/heretic2')
-rw-r--r--games-action/heretic2/ChangeLog10
-rw-r--r--games-action/heretic2/Manifest18
-rw-r--r--games-action/heretic2/files/digest-heretic2-1.06c9
-rw-r--r--games-action/heretic2/heretic2-1.06c.ebuild73
-rw-r--r--games-action/heretic2/metadata.xml9
5 files changed, 119 insertions, 0 deletions
diff --git a/games-action/heretic2/ChangeLog b/games-action/heretic2/ChangeLog
new file mode 100644
index 000000000000..30915eda9f2e
--- /dev/null
+++ b/games-action/heretic2/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-action/heretic2
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/heretic2/ChangeLog,v 1.1 2006/10/03 22:32:24 nyhm Exp $
+
+*heretic2-1.06c (03 Oct 2006)
+
+ 03 Oct 2006; Tristan Heaven <nyhm@gentoo.org> +metadata.xml,
+ +heretic2-1.06c.ebuild:
+ Initial commit. Modified ebuild from bug #136869 by Anton Romanov.
+
diff --git a/games-action/heretic2/Manifest b/games-action/heretic2/Manifest
new file mode 100644
index 000000000000..58959f390925
--- /dev/null
+++ b/games-action/heretic2/Manifest
@@ -0,0 +1,18 @@
+DIST heretic2-1.06b-unified-x86.run 4718161 RMD160 7803cf65a62f4da2afacd2464c9d0e9250ad6bd6 SHA1 3f48b4c869700b80a267af0d2de13a82a71e4211 SHA256 5fccb3ed0948af96b8f92232dc0e89f700b32a753ef303f707b82189d9d2b4fb
+DIST heretic2-1.06c-unified-x86.run 3667873 RMD160 5a38e3a3af8813e071f0b89948e145170e29f699 SHA1 1dc48a49e23e55bd2cc6d6e83e8316164e433b57 SHA256 0e8fbd4a9df001a7b2df7e860f5506069ffaae2f898e066b7b72fbc83e1496f0
+DIST heretic2-maps-1.0.run 6257076 RMD160 b9716e075400ea5816869faff871bbb99d355322 SHA1 c11a56d45dc991d27c2bba89fb1babedcce4093b SHA256 c4dc02af9c426ecaf59ce3a4c487c3e452b430eca1bb0e3a33f98f9d2ac47543
+EBUILD heretic2-1.06c.ebuild 1562 RMD160 114e53171b2c658082ad175e50df1777cdf804e8 SHA1 0dc2d2cc928d04a782e81334e891fc7603a9b845 SHA256 a8c1d0265c5feee6a5e13bfeb3c693908cebe66b12e9b43dad23bf66be95c4c0
+MD5 7205fedc7a2c46a6fc9cd133e448b11b heretic2-1.06c.ebuild 1562
+RMD160 114e53171b2c658082ad175e50df1777cdf804e8 heretic2-1.06c.ebuild 1562
+SHA256 a8c1d0265c5feee6a5e13bfeb3c693908cebe66b12e9b43dad23bf66be95c4c0 heretic2-1.06c.ebuild 1562
+MISC ChangeLog 312 RMD160 f01a44478d1762580d5e8903b22da29623f15fd8 SHA1 bcf621688574e950e56aeea72ab9f16837259386 SHA256 6305c9278f12ccd6239c935f50c1d0532acbb3c3fb7bf3df57f7c4e07e6a96c3
+MD5 d96746319fcf2edac754e00468b88f56 ChangeLog 312
+RMD160 f01a44478d1762580d5e8903b22da29623f15fd8 ChangeLog 312
+SHA256 6305c9278f12ccd6239c935f50c1d0532acbb3c3fb7bf3df57f7c4e07e6a96c3 ChangeLog 312
+MISC metadata.xml 251 RMD160 06f6da1d444a200da939f3a66efda69e106d437a SHA1 33620e22c3208afee5b6c4641a7fcfe30bfc2009 SHA256 1ee2ce2802a2ce864b396d3300b3a8f7bea466b1280840097c29265e2ad4a7b2
+MD5 935ddab5e74d2cc0aa12a7bc24438c11 metadata.xml 251
+RMD160 06f6da1d444a200da939f3a66efda69e106d437a metadata.xml 251
+SHA256 1ee2ce2802a2ce864b396d3300b3a8f7bea466b1280840097c29265e2ad4a7b2 metadata.xml 251
+MD5 6d3beddfb34201895fa163147f45be78 files/digest-heretic2-1.06c 795
+RMD160 b5ff05a6d9588bd42969e7b4c3344ff094bff3d5 files/digest-heretic2-1.06c 795
+SHA256 67afdbb0499c4b78d19a8d22b43858d617959c1157f7aa9e4da54cccb8b252b8 files/digest-heretic2-1.06c 795
diff --git a/games-action/heretic2/files/digest-heretic2-1.06c b/games-action/heretic2/files/digest-heretic2-1.06c
new file mode 100644
index 000000000000..7962ba979e9e
--- /dev/null
+++ b/games-action/heretic2/files/digest-heretic2-1.06c
@@ -0,0 +1,9 @@
+MD5 51f1704f5c0940071832f4c4f47c58cd heretic2-1.06b-unified-x86.run 4718161
+RMD160 7803cf65a62f4da2afacd2464c9d0e9250ad6bd6 heretic2-1.06b-unified-x86.run 4718161
+SHA256 5fccb3ed0948af96b8f92232dc0e89f700b32a753ef303f707b82189d9d2b4fb heretic2-1.06b-unified-x86.run 4718161
+MD5 da83d015823c7d809a8f92702653e582 heretic2-1.06c-unified-x86.run 3667873
+RMD160 5a38e3a3af8813e071f0b89948e145170e29f699 heretic2-1.06c-unified-x86.run 3667873
+SHA256 0e8fbd4a9df001a7b2df7e860f5506069ffaae2f898e066b7b72fbc83e1496f0 heretic2-1.06c-unified-x86.run 3667873
+MD5 19b8f0ea491c73d2478a33e96ed7e424 heretic2-maps-1.0.run 6257076
+RMD160 b9716e075400ea5816869faff871bbb99d355322 heretic2-maps-1.0.run 6257076
+SHA256 c4dc02af9c426ecaf59ce3a4c487c3e452b430eca1bb0e3a33f98f9d2ac47543 heretic2-maps-1.0.run 6257076
diff --git a/games-action/heretic2/heretic2-1.06c.ebuild b/games-action/heretic2/heretic2-1.06c.ebuild
new file mode 100644
index 000000000000..fac144c81b3c
--- /dev/null
+++ b/games-action/heretic2/heretic2-1.06c.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/heretic2/heretic2-1.06c.ebuild,v 1.1 2006/10/03 22:32:24 nyhm Exp $
+
+inherit eutils games
+
+DESCRIPTION="Third-person classic magical action-adventure game"
+HOMEPAGE="http://lokigames.com/products/heretic2/
+ http://www.ravensoft.com/heretic2.html"
+SRC_URI="mirror://lokigames/${PN}/${P/%?/b}-unified-x86.run
+ mirror://lokigames/${PN}/${P}-unified-x86.run
+ mirror://lokigames/${PN}/${PN}-maps-1.0.run"
+
+LICENSE="LOKI-EULA"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RESTRICT="strip"
+QA_TEXTRELS="${GAMES_PREFIX_OPT:1}/${PN}/base/*.so"
+
+DEPEND="games-util/loki_patch"
+RDEPEND="virtual/opengl"
+
+S=${WORKDIR}
+
+GAMES_CHECK_LICENSE="yes"
+
+pkg_setup() {
+ games_pkg_setup
+ cdrom_get_cds bin/x86/glibc-2.1/${PN}
+}
+
+src_unpack() {
+ mkdir ${A}
+
+ local f
+ for f in * ; do
+ cd "${S}"/${f}
+ unpack_makeself ${f}
+ done
+}
+
+src_install() {
+ cd "${CDROM_ROOT}"
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+
+ insinto "${dir}"
+ doins -r base help Manual.html README README.more || die "doins failed"
+
+ exeinto "${dir}"
+ doexe bin/x86/glibc-2.1/${PN} || die "doexe failed"
+
+ games_make_wrapper ${PN} ./${PN} "${dir}" .
+ newicon icon.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "Heretic II" ${PN}.xpm
+
+ cd "${D}/${dir}"
+ ln -s "${CDROM_ROOT}"/*.gz .
+ unpack ./*.gz
+ rm -f *.gz
+
+ local d
+ for d in "${S}"/* ; do
+ cd "${d}"
+ loki_patch patch.dat "${D}/${dir}" || die "loki_patch ${d} failed"
+ done
+
+ rmdir "${D}/${dir}"/gl_drivers
+ sed -i '128i set gl_driver "/usr/lib/libGL.so"' \
+ "${D}/${dir}"/base/default.cfg || die "sed failed"
+
+ prepgamesdirs
+}
diff --git a/games-action/heretic2/metadata.xml b/games-action/heretic2/metadata.xml
new file mode 100644
index 000000000000..2f55aed2d76d
--- /dev/null
+++ b/games-action/heretic2/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>nyhm@gentoo.org</email>
+ <name>Tristan Heaven</name>
+ </maintainer>
+</pkgmetadata>