From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1BE4B198005 for ; Fri, 15 Mar 2013 04:51:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6DFFE06C2; Fri, 15 Mar 2013 04:51:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 700CEE06C2 for ; Fri, 15 Mar 2013 04:51:26 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 581DF33BE3D for ; Fri, 15 Mar 2013 04:51:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CFE72E4079 for ; Fri, 15 Mar 2013 04:51:23 +0000 (UTC) From: "Vadim A. Misbakh-Soloviov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Vadim A. Misbakh-Soloviov" Message-ID: <1363323091.78bd057b91711e5d44b9333b198f648be04c19ee.mva@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/spirits/ X-VCS-Repository: proj/gamerlay X-VCS-Files: games-puzzle/spirits/spirits-1.0.1.ebuild X-VCS-Directories: games-puzzle/spirits/ X-VCS-Committer: mva X-VCS-Committer-Name: Vadim A. Misbakh-Soloviov X-VCS-Revision: 78bd057b91711e5d44b9333b198f648be04c19ee X-VCS-Branch: master Date: Fri, 15 Mar 2013 04:51:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 55b260cf-cf90-4695-8e42-b6708f3e3bd2 X-Archives-Hash: f6dba419087c8216757ae23854e271d2 commit: 78bd057b91711e5d44b9333b198f648be04c19ee Author: Vadim A. Misbakh-Soloviov mva name> AuthorDate: Fri Mar 15 04:51:31 2013 +0000 Commit: Vadim A. Misbakh-Soloviov mva name> CommitDate: Fri Mar 15 04:51:31 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=78bd057b [games-puzzle/spirits] added. TODO: unbundle SDL2 Signed-off-by: Vadim A. Misbakh-Soloviov mva.name> --- games-puzzle/spirits/spirits-1.0.1.ebuild | 64 +++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-) diff --git a/games-puzzle/spirits/spirits-1.0.1.ebuild b/games-puzzle/spirits/spirits-1.0.1.ebuild new file mode 100644 index 0000000..f4235ac --- /dev/null +++ b/games-puzzle/spirits/spirits-1.0.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: games-puzzle/kinetris/kinetris-1.0.0b_pre5.ebuild frostwork Exp $ + +EAPI="5" +MY_PN="Spirits" + +inherit games + +DESCRIPTION="a tetrominoes game (i.e.: a Tetris clone) that uses the Xbox 360 Kinect" +HOMEPAGE="http://www.spacesofplay.com/spirits/" +SRC_URI="${PN}-linux-${PV}_120903-1348705231.zip" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + media-libs/openal +" +# media-libs/libsdl:2 #somewhy doesn't work with all latest versions of SDL2 in overlay +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}" + +src_install() { + local libdir binary + GAMEDIR="${GAMES_PREFIX_OPT}/${MY_PN}" + + use amd64 && { +# TODO: unbundling SDL2 + libdir=x86_64 + binary=Spirits-64 + } + + use x86 && { +# TODO: unbundling SDL2 + libdir=i686 + binary=Spirits-32 + } + + dodoc README.TXT + + rm "./${libdir}/libopenal.so.1" + + exeinto "${GAMEDIR}" + insinto "${GAMEDIR}" + doins -r data +# TODO: unbundling SDL2 + doins -r "${libdir}" + doexe "${binary}" + + # install shortcuts + games_make_wrapper "${PN}" "./${binary}" "${GAMEDIR}" "${GAMEDIR}/${libdir}" || die "install shortcut" + make_desktop_entry "${PN}" "${MY_PN}" "${PN}" + + prepgamesdirs +} + +pkg_postinstall() { + einfo "If pre-start dialog looks ugly for you, try to remove ~/.themes" + einfo "At least, it helped me in such situation." +} \ No newline at end of file