summaryrefslogtreecommitdiff
path: root/games-action/fakk2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-action/fakk2
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/fakk2')
-rw-r--r--games-action/fakk2/Manifest5
-rw-r--r--games-action/fakk2/fakk2-1.02-r1.ebuild64
-rw-r--r--games-action/fakk2/fakk2-1.02.ebuild67
-rw-r--r--games-action/fakk2/metadata.xml11
4 files changed, 147 insertions, 0 deletions
diff --git a/games-action/fakk2/Manifest b/games-action/fakk2/Manifest
new file mode 100644
index 000000000000..f4eae155edb2
--- /dev/null
+++ b/games-action/fakk2/Manifest
@@ -0,0 +1,5 @@
+EBUILD fakk2-1.02-r1.ebuild 1683 SHA256 c862d383f16184fccba92b9f7d09025ea3030767c98a5b4f606353e7b6315552 SHA512 99fddd9578d61610ba8925899205bdc4ac336a238ee078f6b8e2ea295b9f1b425233d232ade2a176044cdf16c02033a3b640535bb1ae8a326ab1d40a21b78236 WHIRLPOOL 33708ba7848688ed1a525fff996058821b5e3682fdc29654b11e92f7e0d9f7cf3789e56e787fdfee2c3b4f3a2c8299071ee9601c73a01891a1c08fd23eed365a
+EBUILD fakk2-1.02.ebuild 1761 SHA256 a37ebad4f87029b83b0a0a68e36c19411adcfb6e118b69e6d99446ff0717e505 SHA512 1f5377ed9a0f248cd286ee02527fe5da9a3ab080de63a399353c415d5a1a7b8daaa1f2336564c25bc22af0683900fc372dd0cc5fa3c4d8dd6a841b16f85eeedd WHIRLPOOL cf8b4c74d463d0f60a80637a64d85ff67f33e05210de6f394e835248a851fc610852d3f2ad8ea1451675cb1283dbc26dfb744911618f02dff180cfacdac220dd
+MISC ChangeLog 2423 SHA256 1e1d8009072a382aa9904c93800cefc1a101019ca3ce025830301f1befbcc189 SHA512 2fb76a813282b63c8178549049de96d5cc9eabfe0df681c945614dba96b9031c803c63ff21bad89eb9043df819c9183141ef409a2a555c87825a06b71d2202ea WHIRLPOOL 791822718930b9c36ecc745d53c680079cfa596755b2f6fd9d8d2b66c27ab5a128d0f68727be9e204ab19cb699c55eabb4e52505c068100487f9441df9857c28
+MISC ChangeLog-2015 2637 SHA256 c39b8ea657e901663135935ec80edce92566f83c1b174b75c88b7fba7ebf1fc3 SHA512 81f24823389c75f6fd66c41ecf86874a19436f0a1467871406b177457e5237e00def23556ea92d3c45d84dfb40e2751743cbb654f960b5cd2d38b3e5a791af99 WHIRLPOOL 3b164bc8a0ef21469778c49a3233dffb87329e5a080d098581a63da19bc36f70ed191d29d928bd325a442e832a950ea8cb6991cef4d75d271174e72fd3f732db
+MISC metadata.xml 1206 SHA256 8c869ff75f00e5c16b75d2b0e71f8845760629d47245940e95c5c5f69e0f09f4 SHA512 786927f7a429e4ff1f1097144f41b832b7d8bd8fd1423dd5587d3c496a2ed4be66aa34702e360c702f536429ceed38082475529392c5e0ef389aa431d2595432 WHIRLPOOL 70a25e535a086eb50a3b64597a25de72e5dec767b487e2056cd0751d2e64ebbb4087e38a26f7299723fd258978a69e442abdb339bd3af85a559ca74b017e4546
diff --git a/games-action/fakk2/fakk2-1.02-r1.ebuild b/games-action/fakk2/fakk2-1.02-r1.ebuild
new file mode 100644
index 000000000000..d05c9b67b251
--- /dev/null
+++ b/games-action/fakk2/fakk2-1.02-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils cdrom
+
+DESCRIPTION="Heavy Metal: FAKK2 - 3D third-person action shooter based on the Heavy Metal comics/movies"
+HOMEPAGE="http://www.lokigames.com/products/fakk2/"
+SRC_URI=""
+
+LICENSE="LOKI-EULA"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="nocd"
+RESTRICT="strip"
+
+RDEPEND="virtual/opengl"
+
+S=${WORKDIR}
+
+dir=/opt/${PN}
+Ddir=${D}/${dir}
+
+pkg_setup() {
+ if use nocd ; then
+ ewarn "The installed game takes about 378MB of space!"
+ fi
+}
+
+src_install() {
+ cdrom_get_cds fakk
+ einfo "Copying files... this may take a while..."
+ exeinto "${dir}"
+ doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/${PN}
+ insinto "${dir}"
+ doins ${CDROM_ROOT}/{README,icon.{bmp,xpm}}
+ exeinto "${dir}"/fakk
+ doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk/{c,f}game.so
+ if use nocd ; then
+ insinto "${dir}"/fakk
+ doins ${CDROM_ROOT}/fakk/pak{0,1,2,3}.pk3
+ doins ${CDROM_ROOT}/fakk/default.cfg
+ fi
+
+ # Now, since these files are coming off a cd, the times/sizes/md5sums won't
+ # be different ... that means portage will try to unmerge some files (!)
+ # So, we run touch on ${D} to make sure portage doesn't do any such thing
+ find "${Ddir}" -exec touch '{}' \;
+
+ make_wrapper ${PN} ./${PN} "${dir}" "${dir}"
+ newicon ${CDROM_ROOT}/icon.xpm ${PN}.xpm
+
+ make_desktop_entry ${PN} "FAKK2" ${PN}
+}
+
+pkg_postinst() {
+ echo
+ ewarn "There are two possible security bugs in this package, both causing a denial of"
+ ewarn "service. One affects the game when running a server, the other when running as"
+ ewarn "a client. For more information, see bug #82149."
+ echo
+ elog "To play the game run:"
+ elog " fakk2"
+}
diff --git a/games-action/fakk2/fakk2-1.02.ebuild b/games-action/fakk2/fakk2-1.02.ebuild
new file mode 100644
index 000000000000..95ce1900918a
--- /dev/null
+++ b/games-action/fakk2/fakk2-1.02.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils cdrom games
+
+DESCRIPTION="Heavy Metal: FAKK2 - 3D third-person action shooter based on the Heavy Metal comics/movies"
+HOMEPAGE="http://www.lokigames.com/products/fakk2/"
+SRC_URI=""
+
+LICENSE="LOKI-EULA"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="nocd"
+RESTRICT="strip"
+
+RDEPEND="virtual/opengl"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
+
+pkg_setup() {
+ games_pkg_setup
+ if use nocd ; then
+ ewarn "The installed game takes about 378MB of space!"
+ fi
+}
+
+src_install() {
+ cdrom_get_cds fakk
+ einfo "Copying files... this may take a while..."
+ exeinto "${dir}"
+ doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/${PN}
+ insinto "${dir}"
+ doins ${CDROM_ROOT}/{README,icon.{bmp,xpm}}
+ exeinto "${dir}"/fakk
+ doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk/{c,f}game.so
+ if use nocd ; then
+ insinto "${dir}"/fakk
+ doins ${CDROM_ROOT}/fakk/pak{0,1,2,3}.pk3
+ doins ${CDROM_ROOT}/fakk/default.cfg
+ fi
+
+ # now, since these files are coming off a cd, the times/sizes/md5sums wont
+ # be different ... that means portage will try to unmerge some files (!)
+ # we run touch on ${D} so as to make sure portage doesnt do any such thing
+ find "${Ddir}" -exec touch '{}' \;
+
+ games_make_wrapper ${PN} ./${PN} "${dir}" "${dir}"
+ newicon ${CDROM_ROOT}/icon.xpm ${PN}.xpm
+
+ prepgamesdirs
+ make_desktop_entry ${PN} "FAKK2" ${PN}
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ ewarn "There are two possible security bugs in this package, both causing a denial of"
+ ewarn "service. One affects the game when running a server, the other when running as"
+ ewarn "a client. For more information, see bug #82149."
+ echo
+ elog "To play the game run:"
+ elog " fakk2"
+}
diff --git a/games-action/fakk2/metadata.xml b/games-action/fakk2/metadata.xml
new file mode 100644
index 000000000000..07964f9113c6
--- /dev/null
+++ b/games-action/fakk2/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>
+Heavy Metal: F.A.K.K.2 is a third-person 3-D action game based on characters from the Heavy Metal comics and movies. Years have passed since Julie Strain (a.k.a. F.A.K.K.2) defeated the would-be God Lord Tyler on the bloody battlefields of the Holy Land. She has long since put the pain of those days behind her and brought her homeworld of Eden to a perfect natural balance. But far away in the deepest nebulas of space, the greatest evil of all stirs, ready to make its final move -- to take control of the entire universe. A lone beacon hurtles toward Eden, hoping to summon the god-slayer F.A.K.K.2 one last time. It bears nothing more than an onimous warning: "GITH IS COMING." The game was ported to Linux by the now defunct Loki Entertainment and is commercial software. You can still pick up a copy from Tuxgames (http://www.tuxgames.com), but supplies are limited, as the publisher is no longer in business.
+</longdescription>
+</pkgmetadata>