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 0F7401392EF for ; Sun, 22 Jun 2014 21:45:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D835EE09B5; Sun, 22 Jun 2014 21:45:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6CD82E095A for ; Sun, 22 Jun 2014 21:45:17 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4EB9833FE88 for ; Sun, 22 Jun 2014 21:45:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id E3A0118F3A for ; Sun, 22 Jun 2014 21:45:14 +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: <1403473473.82320d66c19061edb844897ea86f23aa3cd741fd.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: 82320d66c19061edb844897ea86f23aa3cd741fd X-VCS-Branch: master Date: Sun, 22 Jun 2014 21:45:14 +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: 2cc1e283-d4a6-46c1-8494-9289c65c076d X-Archives-Hash: dedcb3724ad058e94bb312f6f028a04e commit: 82320d66c19061edb844897ea86f23aa3cd741fd Author: Vadim A. Misbakh-Soloviov mva name> AuthorDate: Sun Jun 22 21:44:33 2014 +0000 Commit: Vadim A. Misbakh-Soloviov mva name> CommitDate: Sun Jun 22 21:44:33 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=82320d66 [games-strategy/worms-reloaded] Fixed wrapper Signed-off-by: Vadim A. Misbakh-Soloviov mva.name> --- .../worms-reloaded/worms-reloaded-20131016.ebuild | 72 ++++++++++++++++++++++ 1 file changed, 72 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..d5be77d --- /dev/null +++ b/games-strategy/worms-reloaded/worms-reloaded-20131016.ebuild @@ -0,0 +1,72 @@ +# 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}" + games_make_wrapper "${PN}" "./WormsReloaded.bin.x86" "${GAMEDIR}" "${GAMEDIR}/lib" + + # Setting permissions. + prepgamesdirs +}