diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-07-16 20:00:39 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-07-16 20:00:39 +0000 |
commit | fb6a83eee666f3ad9309661b9d62f4bfd62ed5ba (patch) | |
tree | 96f47540ddd99c44b7010481136d7bbde23430b9 /games-puzzle | |
parent | set RESTRICT=bindist (diff) | |
download | gentoo-2-fb6a83eee666f3ad9309661b9d62f4bfd62ed5ba.tar.gz gentoo-2-fb6a83eee666f3ad9309661b9d62f4bfd62ed5ba.tar.bz2 gentoo-2-fb6a83eee666f3ad9309661b9d62f4bfd62ed5ba.zip |
initial import
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/tiny-and-big/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/tiny-and-big/Manifest | 4 | ||||
-rw-r--r-- | games-puzzle/tiny-and-big/metadata.xml | 14 | ||||
-rw-r--r-- | games-puzzle/tiny-and-big/tiny-and-big-1.4.1.ebuild | 61 |
4 files changed, 89 insertions, 0 deletions
diff --git a/games-puzzle/tiny-and-big/ChangeLog b/games-puzzle/tiny-and-big/ChangeLog new file mode 100644 index 000000000000..d6d04660b09f --- /dev/null +++ b/games-puzzle/tiny-and-big/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-puzzle/tiny-and-big +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tiny-and-big/ChangeLog,v 1.1 2013/07/16 20:00:39 hasufell Exp $ + +*tiny-and-big-1.4.1 (16 Jul 2013) + + 16 Jul 2013; Julian Ospald <hasufell@gentoo.org> +tiny-and-big-1.4.1.ebuild, + +metadata.xml: + initial import + diff --git a/games-puzzle/tiny-and-big/Manifest b/games-puzzle/tiny-and-big/Manifest new file mode 100644 index 000000000000..d48d0e9d5131 --- /dev/null +++ b/games-puzzle/tiny-and-big/Manifest @@ -0,0 +1,4 @@ +DIST tinyandbig_grandpasleftovers-retail-linux-1.4.1_1370968537.tar.bz2 1170058011 SHA256 6ff9053399145996da000991a3ac723523d5b6224c9b74ec59b4deb2de38846f SHA512 3dbf6ebbe6047f5258f482e776809c6817df8d14cfc20014fb6e4a6accc3db3e93051270ce29371bc0ef56d380bd382dbf8eb75b592c3f0097ca3546d889193e WHIRLPOOL 910ebeb6df0b6c9ad5289f6c40bf27135207a57e27b6dfd3352968ba6078155ee1d806b750fa428f1e97d7b9e6e8a9081934cedcf36f7d62aae35afe5300c0db +EBUILD tiny-and-big-1.4.1.ebuild 1402 SHA256 db5a1f2d2d500d8331f0b592a22f0db8cd78cbd44fd8379af825ff9591e94e2c SHA512 f165e170367ecb9468aa6cde8d048640b3e7015b8c811c6f98065efa4da2cd8f89a078284c01bb6169b0b7e0559fc4149ec80452ae10ba49c4bc74ddcadb4253 WHIRLPOOL 2e1acaf7e1406b7d34056e956ff000981c420b1decca38a0d991ffeb0d0fa993bed79e23065340225769b1b2480327d31dda89c348785b070b40925cd39a8ec1 +MISC ChangeLog 275 SHA256 84e48d1b1a02a2b402d6925cb3522a0af25f6b65c89378271563c76605830fad SHA512 337f77951f87b8efa141dad937482dd02f92d0b76d11d7a6073170b4daa233fa4070053af96d2557beb3cc5fa543c209054bd33de59d279b64ce0cb5ab0e1560 WHIRLPOOL 1e67c5db511cca006a771eb9a927107c9d940c09c906df581b38d263654567c6d7862a03650051370aeb062b24cb8a2631cd894ba9d37d42aa001ec8f69b9b69 +MISC metadata.xml 356 SHA256 64e1a2dbbdf29651db71c06e99585f2a188a642746e0b57622314ca86372feec SHA512 fef3a361a1ab3245e5106d1a1e9a8b61bdd82f77c7d323da8b131b4f913b5ade34d7313777dbd5fa29a5ce3e19d78a6e162df8027458b360673220d9e6ae5d18 WHIRLPOOL 1d6eeb2f0724a3ab29dc80f695134419478fea192cf2aa94c704cff9bdd68a8d16f536458965444da099ad8cbf4c28964c5aa0e9af3a6080ede35311b1a8bdcb diff --git a/games-puzzle/tiny-and-big/metadata.xml b/games-puzzle/tiny-and-big/metadata.xml new file mode 100644 index 000000000000..c5d01479ca26 --- /dev/null +++ b/games-puzzle/tiny-and-big/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> + <use> + <flag name='bundled-libs'> + Use the upstream provided bundled libraries. + </flag> + </use> +</pkgmetadata> diff --git a/games-puzzle/tiny-and-big/tiny-and-big-1.4.1.ebuild b/games-puzzle/tiny-and-big/tiny-and-big-1.4.1.ebuild new file mode 100644 index 000000000000..57d5c690bdb9 --- /dev/null +++ b/games-puzzle/tiny-and-big/tiny-and-big-1.4.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tiny-and-big/tiny-and-big-1.4.1.ebuild,v 1.1 2013/07/16 20:00:39 hasufell Exp $ + +# TODO: unbundle media-libs/cal3d, lib hacked or old version + +EAPI=5 + +inherit eutils games + +DESCRIPTION="Combines elements of adventure, jump&run and physical puzzles" +HOMEPAGE="http://www.tinyandbig.com/" +SRC_URI="tinyandbig_grandpasleftovers-retail-linux-${PV}_1370968537.tar.bz2" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="bundled-libs" +RESTRICT="bindist fetch bundled-libs? ( splitdebug )" + +MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${MYGAMEDIR#/}/bin32/* + ${MYGAMEDIR#/}/bin64/*" + +DEPEND="app-arch/bzip2" +RDEPEND=" + virtual/opengl + media-libs/openal + x11-libs/libX11 + !bundled-libs? ( + media-gfx/nvidia-cg-toolkit + )" + +S=${WORKDIR}/tinyandbig + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" + einfo +} + +src_prepare() { + if use !bundled-libs ; then + rm -v $(usex amd64 "bin64" "bin32")/libCg{,GL}.so || die "unbundling libs failed!" + fi +} + +src_install() { + local bindir=$(usex amd64 "bin64" "bin32") + + insinto "${MYGAMEDIR}" + doins -r assets ${bindir} + + games_make_wrapper ${PN} "./${bindir}/tinyandbig" "${MYGAMEDIR}" "${MYGAMEDIR}/${bindir}" + make_desktop_entry ${PN} "Tiny & Big" + dodoc readme.txt + + fperms +x "${MYGAMEDIR}"/${bindir}/tinyandbig + prepgamesdirs +} |