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 BFCA2138247 for ; Mon, 4 Nov 2013 15:23:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54BECE07D7; Mon, 4 Nov 2013 15:23:40 +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 E0966E07D7 for ; Mon, 4 Nov 2013 15:23:39 +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 F22B233F02E for ; Mon, 4 Nov 2013 15:23:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id A4BDDE545C for ; Mon, 4 Nov 2013 15:23:37 +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: <1383578587.0ec5e4c202ba8379fcb9e5d9164e66313c970682.mva@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: games-strategy/worms-reloaded/ X-VCS-Repository: proj/gamerlay X-VCS-Files: games-strategy/worms-reloaded/worms-reloaded-20131016.ebuild X-VCS-Directories: games-strategy/worms-reloaded/ X-VCS-Committer: mva X-VCS-Committer-Name: Vadim A. Misbakh-Soloviov X-VCS-Revision: 0ec5e4c202ba8379fcb9e5d9164e66313c970682 X-VCS-Branch: master Date: Mon, 4 Nov 2013 15:23:37 +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: 7af8047c-f462-4ff9-9d41-5b5300737371 X-Archives-Hash: 7803392f9380efb2acacb1ec37072dd0 commit: 0ec5e4c202ba8379fcb9e5d9164e66313c970682 Author: Vadim A. Misbakh-Soloviov mva name> AuthorDate: Mon Nov 4 15:23:07 2013 +0000 Commit: Vadim A. Misbakh-Soloviov mva name> CommitDate: Mon Nov 4 15:23:07 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=0ec5e4c2 [games-strategy/worms-reloaded] Added Signed-off-by: Vadim A. Misbakh-Soloviov mva.name> --- .../worms-reloaded/worms-reloaded-20131016.ebuild | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/games-strategy/worms-reloaded/worms-reloaded-20131016.ebuild b/games-strategy/worms-reloaded/worms-reloaded-20131016.ebuild new file mode 100644 index 0000000..8d59026 --- /dev/null +++ b/games-strategy/worms-reloaded/worms-reloaded-20131016.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils games unpacker + +TS="1381858841" + +DESCRIPTION="Legendary Worms™ Game. SinglePlayer-only." +HOMEPAGE="http://www.team17.com/games/worms/worms-reloaded/" +SRC_URI="WormsReloaded_Linux_${TS}.sh" + +RESTRICT="fetch strip" +LICENSE="as-is" + +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="" +RDEPEND=" + amd64? ( + app-emulation/emul-linux-x86-baselibs + app-emulation/emul-linux-x86-sdl + ) + x86? ( + media-libs/openal + sys-libs/zlib + ) +" + +S="${WORKDIR}/data" + +GAMEDIR="${GAMES_PREFIX_OPT}/${PN}" + +pkg_nofetch() { + einfo "" + einfo "Please buy and download \"${SRC_URI}\" from" + einfo "HumbleIndieBundle or ${HOMEPAGE}" + einfo "and move/link it to \"${DISTDIR}\"" + einfo "" +} + +src_unpack() { + unpack_zip "${A}"; +} + +src_prepare() { + rm -r "${S}/x86/lib/libopenal.so.1" +} + +src_install() { + # Install documentation + dodoc noarch/README.linux + rm noarch/README.linux + + # Install data + insinto "${GAMEDIR}" + doins -r noarch/* x86/lib + exeinto "${GAMEDIR}" + doexe x86/WormsReloaded.bin.x86 + + # Install icon and desktop file + newicon "x86/WormsReloaded.png" "${PN}.png" + make_desktop_entry "${PN}" "Worms Reloaded" "${PN}" + + # Setting permissions. + prepgamesdirs +} \ No newline at end of file