diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-strategy/darwinia | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-strategy/darwinia')
-rw-r--r-- | games-strategy/darwinia/Manifest | 3 | ||||
-rw-r--r-- | games-strategy/darwinia/darwinia-1.4.0_beta9.ebuild | 64 | ||||
-rw-r--r-- | games-strategy/darwinia/metadata.xml | 8 |
3 files changed, 75 insertions, 0 deletions
diff --git a/games-strategy/darwinia/Manifest b/games-strategy/darwinia/Manifest new file mode 100644 index 000000000000..64b7a5494be5 --- /dev/null +++ b/games-strategy/darwinia/Manifest @@ -0,0 +1,3 @@ +DIST darwinia-full-1.4.0b9.sh 4228121 BLAKE2B f1cae61e3ad6802a1e04fc5306bfbb7194ad08df29a82a376dc7f1945ab8f1f99620653800bb2458941f2004488abf441c211bc3f6d7c65e4d3f47cb9155e5f6 SHA512 ed228943d4e70fc5799bbe7566b4fd862f2494f9d02bcd874f0d1b93d7bbc9a2c24a98fb5b8219fed20759bfe2af54d6ea33c60ddd8d8850e591a89822b41bb5 +EBUILD darwinia-1.4.0_beta9.ebuild 1466 BLAKE2B 710ba32f15ec5480f7103d667cca0d21241c486f6355d175706beb017371a7db6efc8ad755f5ef0d213a93bff87251cfbc2bd4b186d6032030d4a823a2b04992 SHA512 095fc06955198e382c49ab81f8e5dec75b736f3c57ce2d30972f40550551f4f82f58f538da8c8b3df8533b038eee1c039a0497b5dc6ebc989107e8258ad5edf1 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 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> |