From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qu5rm-0005zU-1d for garchives@archives.gentoo.org; Thu, 18 Aug 2011 16:54:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BA9321C056; Thu, 18 Aug 2011 16:54:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E105A21C056 for ; Thu, 18 Aug 2011 16:54:41 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 048521B4063 for ; Thu, 18 Aug 2011 16:54:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 1EFE080040 for ; Thu, 18 Aug 2011 16:54:40 +0000 (UTC) From: "Azamat H. Hackimov" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Azamat H. Hackimov" Message-ID: Subject: [gentoo-commits] proj/gamerlay:master commit in: games-action/hammerfight/ X-VCS-Repository: proj/gamerlay X-VCS-Files: games-action/hammerfight/hammerfight-20110812.ebuild games-action/hammerfight/metadata.xml X-VCS-Directories: games-action/hammerfight/ X-VCS-Committer: winterheart X-VCS-Committer-Name: Azamat H. Hackimov X-VCS-Revision: eee0a9e050d848b0d36b6aa7a6c1fb1ca3bc6936 Date: Thu, 18 Aug 2011 16:54:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 8677d3ab4ce1b18d5b26aa2c5386fe49 commit: eee0a9e050d848b0d36b6aa7a6c1fb1ca3bc6936 Author: Azamat H. Hackimov gmail com> AuthorDate: Thu Aug 18 16:54:15 2011 +0000 Commit: Azamat H. Hackimov gentoo ru> CommitDate: Thu Aug 18 16:54:15 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gamerlay.git;= a=3Dcommit;h=3Deee0a9e0 [games-action/hammerfight] Import modified version if Hammerfight from bu= g #377321 (Portage version: 2.1.10.3/git/Linux x86_64, unsigned Manifest commit) --- .../hammerfight/hammerfight-20110812.ebuild | 63 ++++++++++++++= ++++++ games-action/hammerfight/metadata.xml | 13 ++++ 2 files changed, 76 insertions(+), 0 deletions(-) diff --git a/games-action/hammerfight/hammerfight-20110812.ebuild b/games= -action/hammerfight/hammerfight-20110812.ebuild new file mode 100644 index 0000000..8069317 --- /dev/null +++ b/games-action/hammerfight/hammerfight-20110812.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D3 + +inherit eutils games + +DESCRIPTION=3D"2D battles of flying machines equipped with various slash= ing, piercing and blunt weaponry" +HOMEPAGE=3D"http://www.koshutin.com/" +SRC_URI=3D"hf-linux-${PV:4}${PV:0:4}-bin" + +LICENSE=3D"as-is" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"linguas_ru" + +DEPEND=3D"app-arch/unzip" +RDEPEND=3D"media-libs/libsdl[audio,joystick,video] + media-libs/openal" + +RESTRICT=3D"fetch" + +S=3D"${WORKDIR}"/data +dir=3D"${GAMES_PREFIX_OPT}/${PN}" + +pkg_nofetch() { + ewarn + ewarn "Place ${A} to ${DISTDIR}" + ewarn +} + +src_unpack() { + unzip -q "${DISTDIR}"/${A} + [ $? -gt 1 ] && die "unpacking failed" +} + +src_install() { + + if use linguas_ru ; then + einfo "Russian is chosen for primary language" + mv Data/Dialogs/{russian,english}.seria + fi + + insinto "${dir}" + doins -r Data Media Objects Saves media.script strings.txt Config.ini \ + || die "doins failed" + + if use amd64 ; then + local exe=3DHammerfight-amd64 + fi + if use x86 ; then + local exe=3DHammerfight-x86 + fi + exeinto "${dir}" + doexe ${exe} || die "doexe failed" + + games_make_wrapper ${PN} ./${exe} "${dir}" "${dir}" + doicon ${PN}.png + make_desktop_entry ${PN} "Hammerfight" ${PN} + + prepgamesdirs +} diff --git a/games-action/hammerfight/metadata.xml b/games-action/hammerf= ight/metadata.xml new file mode 100644 index 0000000..cfdde41 --- /dev/null +++ b/games-action/hammerfight/metadata.xml @@ -0,0 +1,13 @@ + + + +no-herd + +azamat.hackimov@gmail.com +Azamat H. Hackimov + + +2D battles of flying machines equipped with various slashing, piercing a= nd blunt weaponry + + +