summaryrefslogtreecommitdiff
path: root/games-strategy/darwinia
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-strategy/darwinia
reinit the tree, so we can have metadata
Diffstat (limited to 'games-strategy/darwinia')
-rw-r--r--games-strategy/darwinia/Manifest7
-rw-r--r--games-strategy/darwinia/darwinia-1.3.0.ebuild62
-rw-r--r--games-strategy/darwinia/darwinia-1.4.0_beta9.ebuild64
-rw-r--r--games-strategy/darwinia/metadata.xml8
4 files changed, 141 insertions, 0 deletions
diff --git a/games-strategy/darwinia/Manifest b/games-strategy/darwinia/Manifest
new file mode 100644
index 000000000000..d0f82dafc447
--- /dev/null
+++ b/games-strategy/darwinia/Manifest
@@ -0,0 +1,7 @@
+DIST darwinia-full-1.3.0.sh 4010019 SHA256 847ecce5b5cee1a576531d0e1291f2e7838a69fd0a2ac426088d3b8944f11bbd SHA512 9790c1534a868b9561acf451cccb3356eb85ecbf8e271e344468b7982466802da5e3537c555839acfa64e1c56a25a08f8dba47a69eaf9de21a7575fba4dc2ebb WHIRLPOOL a6119243befc3b64487247373e43311da0e117aa212dea82f01dc144900e4346dc7c19fff078b0465833ccbffaf2f41a2e29386c34187b495e0314a49c434d81
+DIST darwinia-full-1.4.0b9.sh 4228121 SHA256 9355b4a3feb28c1399ee95a29fd089ed7cc34400a2ae0aaa4b34ea433887f00c SHA512 ed228943d4e70fc5799bbe7566b4fd862f2494f9d02bcd874f0d1b93d7bbc9a2c24a98fb5b8219fed20759bfe2af54d6ea33c60ddd8d8850e591a89822b41bb5 WHIRLPOOL a20dfc49be659ba4418cad4a5de7d287e5402aa56cdd6b8c801c1c2da83779acb51b7f31579d994afaf2ed3a4a956b8a6d7638224371e030917f02d941546fbb
+EBUILD darwinia-1.3.0.ebuild 1397 SHA256 80165a3d47e29bb39cfa38625285c07367fc8e5b34639c5e67ebf772a41459f4 SHA512 833bd78495efcf2fca4c440ecae62c3779f15e1b63fc2a89768f9385ca11e9490207115ec5b3aab9e45fa3606aac77d1439a3cf0eae7c5b90df3406eaa912dcf WHIRLPOOL 542c247699c901614827095139e694d364d99a9af313fb4d208b6890f6ce6dbd8f2723909d321fc86046a837e6a557ad44bc1714256c449895714d870d425b94
+EBUILD darwinia-1.4.0_beta9.ebuild 1466 SHA256 5864ae4c3e826d3780e9e3dd77afa44c8540dd8715d01d49ec94a7e17e9df031 SHA512 095fc06955198e382c49ab81f8e5dec75b736f3c57ce2d30972f40550551f4f82f58f538da8c8b3df8533b038eee1c039a0497b5dc6ebc989107e8258ad5edf1 WHIRLPOOL 018b202de6e5c1f76515d16de6b0cb96519e04e9d10af2e2e858e90fa050edcfd123210c73e36d8e47444286dabf743bfe0697609d5c07263b7618bb45335335
+MISC ChangeLog 2502 SHA256 2ee1fa355b904d72ac4813b16b6de97493df3099f477dae226653d8d7b730f43 SHA512 d4a9525172859379a1bf585fa5c77702e878430f3a8f8c88e0da70c2b85f8d22faa88eada3083d22e36f71150be716751d53fc258d3edc6eca6729673d04b5c8 WHIRLPOOL b3a46e24e5420292199e06aaba49b9e1f95f405a3ed33e2a1de96f3a3a114c882fd82448dda7fba8e4c718d7bdb81feda98c7968706b8138b590b57cc9ddbea0
+MISC ChangeLog-2015 3050 SHA256 7f8c331e3cb453ba8fe4a1d0bafeea45a374d6a1a20b27c0a059e8d0c10de38a SHA512 05027f6cc6cd42d62873fc0a233ff82d9494ba64bde1362a5f03fb20813e5deca19b11449c35506bbc2c674ace3471612fe245306487250febef3a04fceaa329 WHIRLPOOL 5dd5ee3f75f75a23d1c292f047448ede15810c5407b516456bb3de68f545b72a93bc0ab09ae0877166dd69b772713c265520632286a06e437765ff39ba59c6e8
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
diff --git a/games-strategy/darwinia/darwinia-1.3.0.ebuild b/games-strategy/darwinia/darwinia-1.3.0.ebuild
new file mode 100644
index 000000000000..330b8760ffe0
--- /dev/null
+++ b/games-strategy/darwinia/darwinia-1.3.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CDROM_OPTIONAL="yes"
+inherit eutils unpacker cdrom games
+
+DESCRIPTION="the hyped indie game of the year. By the Uplink creators"
+HOMEPAGE="http://www.darwinia.co.uk/support/linux.html"
+SRC_URI="http://www.introversion.co.uk/darwinia/downloads/${PN}-full-${PV}.sh"
+
+LICENSE="Introversion"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+IUSE=""
+RESTRICT="mirror strip"
+
+RDEPEND="
+ ~virtual/libstdc++-3.3
+ media-libs/libsdl[abi_x86_32(-)]
+ media-libs/libvorbis[abi_x86_32(-)]
+ virtual/glu[abi_x86_32(-)]
+ virtual/opengl[abi_x86_32(-)]"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+
+src_unpack() {
+ use cdinstall && cdrom_get_cds gamefiles/main.dat
+ unpack_makeself
+}
+
+src_install() {
+ insinto "${dir}"/lib
+ exeinto "${dir}"/lib
+
+ doins lib/{language,patch}.dat
+ doexe lib/darwinia.bin.x86 lib/open-www.sh
+
+ exeinto "${dir}"
+ doexe bin/Linux/x86/darwinia
+
+ if use cdinstall ; then
+ doins "${CDROM_ROOT}"/gamefiles/{main,sounds}.dat
+ fi
+
+ dodoc README
+ newicon darwinian.png darwinia.png
+
+ games_make_wrapper darwinia ./darwinia "${dir}" "${dir}"
+ make_desktop_entry darwinia "Darwinia"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ if ! use cdinstall; then
+ ewarn "To play the game, you need to copy main.dat and sounds.dat"
+ ewarn "from gamefiles/ on the game CD to ${dir}/lib/."
+ fi
+ games_pkg_postinst
+}
diff --git a/games-strategy/darwinia/darwinia-1.4.0_beta9.ebuild b/games-strategy/darwinia/darwinia-1.4.0_beta9.ebuild
new file mode 100644
index 000000000000..37781bd8245d
--- /dev/null
+++ b/games-strategy/darwinia/darwinia-1.4.0_beta9.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CDROM_OPTIONAL="yes"
+inherit eutils unpacker cdrom games
+
+MY_PV=${PV/_beta/b}
+DESCRIPTION="the hyped indie game of the year. By the Uplink creators"
+HOMEPAGE="http://www.darwinia.co.uk/support/linux.html"
+SRC_URI="http://www.introversion.co.uk/darwinia/downloads/${PN}-full-${MY_PV}.sh"
+
+LICENSE="Introversion"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror strip"
+
+RDEPEND="
+ ~virtual/libstdc++-3.3
+ media-libs/libsdl[abi_x86_32(-)]
+ media-libs/libvorbis[abi_x86_32(-)]
+ virtual/glu[abi_x86_32(-)]
+ virtual/opengl[abi_x86_32(-)]"
+
+S=${WORKDIR}
+
+dir=${GAMES_PREFIX_OPT}/${PN}
+QA_PREBUILT="${dir:1}/lib/darwinia.bin.x86"
+
+src_unpack() {
+ use cdinstall && cdrom_get_cds gamefiles/main.dat
+ unpack_makeself
+}
+
+src_install() {
+ insinto "${dir}"/lib
+ exeinto "${dir}"/lib
+
+ doins lib/{language,patch}.dat
+ doexe lib/darwinia.bin.x86 lib/open-www.sh
+
+ exeinto "${dir}"
+ doexe bin/Linux/x86/darwinia
+
+ if use cdinstall ; then
+ doins "${CDROM_ROOT}"/gamefiles/{main,sounds}.dat
+ fi
+
+ dodoc README
+ newicon darwinian.png darwinia.png
+
+ games_make_wrapper darwinia ./darwinia "${dir}" "${dir}"
+ make_desktop_entry darwinia "Darwinia"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ if ! use cdinstall; then
+ ewarn "To play the game, you need to copy main.dat and sounds.dat"
+ ewarn "from gamefiles/ on the game CD to ${dir}/lib/."
+ fi
+ games_pkg_postinst
+}
diff --git a/games-strategy/darwinia/metadata.xml b/games-strategy/darwinia/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-strategy/darwinia/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 type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+</pkgmetadata>