public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Azamat H. Hackimov" <winterheart@gentoo.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-action/hammerfight/
Date: Thu, 18 Aug 2011 16:54:40 +0000 (UTC)	[thread overview]
Message-ID: <eee0a9e050d848b0d36b6aa7a6c1fb1ca3bc6936.winterheart@gentoo> (raw)

commit:     eee0a9e050d848b0d36b6aa7a6c1fb1ca3bc6936
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Aug 18 16:54:15 2011 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Thu Aug 18 16:54:15 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=eee0a9e0

[games-action/hammerfight] Import modified version if Hammerfight from bug #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=3
+
+inherit eutils games
+
+DESCRIPTION="2D battles of flying machines equipped with various slashing, piercing and blunt weaponry"
+HOMEPAGE="http://www.koshutin.com/"
+SRC_URI="hf-linux-${PV:4}${PV:0:4}-bin"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="linguas_ru"
+
+DEPEND="app-arch/unzip"
+RDEPEND="media-libs/libsdl[audio,joystick,video]
+	media-libs/openal"
+
+RESTRICT="fetch"
+
+S="${WORKDIR}"/data
+dir="${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=Hammerfight-amd64
+	fi
+	if use x86 ; then
+		local exe=Hammerfight-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/hammerfight/metadata.xml
new file mode 100644
index 0000000..cfdde41
--- /dev/null
+++ b/games-action/hammerfight/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>azamat.hackimov@gmail.com</email>
+<name>Azamat H. Hackimov</name>
+</maintainer>
+<longdescription lang="en">
+2D battles of flying machines equipped with various slashing, piercing and blunt weaponry
+</longdescription>
+</pkgmetadata>
+



             reply	other threads:[~2011-08-18 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-18 16:54 Azamat H. Hackimov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-05-16 17:27 [gentoo-commits] proj/gamerlay:master commit in: games-action/hammerfight/ Azamat H. Hackimov
2020-02-29 20:11 Azamat H. Hackimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eee0a9e050d848b0d36b6aa7a6c1fb1ca3bc6936.winterheart@gentoo \
    --to=winterheart@gentoo.ru \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox