* [gentoo-commits] proj/gamerlay:master commit in: games-action/hammerfight/
@ 2011-08-18 16:54 Azamat H. Hackimov
0 siblings, 0 replies; 3+ messages in thread
From: Azamat H. Hackimov @ 2011-08-18 16:54 UTC (permalink / raw
To: gentoo-commits
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>
+
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/gamerlay:master commit in: games-action/hammerfight/
@ 2014-05-16 17:27 Azamat H. Hackimov
0 siblings, 0 replies; 3+ messages in thread
From: Azamat H. Hackimov @ 2014-05-16 17:27 UTC (permalink / raw
To: gentoo-commits
commit: 75f391c535bda2d0498e6208afaa46f62e6b67f5
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri May 16 17:08:42 2014 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Fri May 16 17:08:42 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=75f391c5
[games-action/hammerfight] audio -> sound (bug #357661), cleanup.
Package-Manager: portage-2.2.8-r1
Manifest-Sign-Key: A018DE8C
---
games-action/hammerfight/hammerfight-20110812.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/games-action/hammerfight/hammerfight-20110812.ebuild b/games-action/hammerfight/hammerfight-20110812.ebuild
index 8069317..b63181a 100644
--- a/games-action/hammerfight/hammerfight-20110812.ebuild
+++ b/games-action/hammerfight/hammerfight-20110812.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -10,13 +10,13 @@ DESCRIPTION="2D battles of flying machines equipped with various slashing, pierc
HOMEPAGE="http://www.koshutin.com/"
SRC_URI="hf-linux-${PV:4}${PV:0:4}-bin"
-LICENSE="as-is"
+LICENSE="HPND"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="linguas_ru"
DEPEND="app-arch/unzip"
-RDEPEND="media-libs/libsdl[audio,joystick,video]
+RDEPEND="media-libs/libsdl[joystick,sound,video]
media-libs/openal"
RESTRICT="fetch"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/gamerlay:master commit in: games-action/hammerfight/
@ 2020-02-29 20:11 Azamat H. Hackimov
0 siblings, 0 replies; 3+ messages in thread
From: Azamat H. Hackimov @ 2020-02-29 20:11 UTC (permalink / raw
To: gentoo-commits
commit: f585379fd4c4342c8f90c207451174191bf1fad8
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 19:56:58 2020 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Feb 29 19:56:58 2020 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=f585379f
games-action/hammerfight: update package
Migrate from deprecated eclass.
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
.../hammerfight/hammerfight-20110812.ebuild | 26 ++++++++++------------
games-action/hammerfight/metadata.xml | 2 +-
2 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/games-action/hammerfight/hammerfight-20110812.ebuild b/games-action/hammerfight/hammerfight-20110812.ebuild
index b63181a..e066430 100644
--- a/games-action/hammerfight/hammerfight-20110812.ebuild
+++ b/games-action/hammerfight/hammerfight-20110812.ebuild
@@ -1,19 +1,18 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-EAPI=3
+EAPI=7
-inherit eutils games
+inherit desktop eutils
-DESCRIPTION="2D battles of flying machines equipped with various slashing, piercing and blunt weaponry"
+DESCRIPTION="2D battles of flying machines equipped with various weaponry"
HOMEPAGE="http://www.koshutin.com/"
SRC_URI="hf-linux-${PV:4}${PV:0:4}-bin"
LICENSE="HPND"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="linguas_ru"
+IUSE="l10n_ru"
DEPEND="app-arch/unzip"
RDEPEND="media-libs/libsdl[joystick,sound,video]
@@ -21,8 +20,7 @@ RDEPEND="media-libs/libsdl[joystick,sound,video]
RESTRICT="fetch"
-S="${WORKDIR}"/data
-dir="${GAMES_PREFIX_OPT}/${PN}"
+S="${WORKDIR}/data"
pkg_nofetch() {
ewarn
@@ -36,8 +34,10 @@ src_unpack() {
}
src_install() {
+ local dir="/opt/${PN}"
+ local exe
- if use linguas_ru ; then
+ if use l10n_ru ; then
einfo "Russian is chosen for primary language"
mv Data/Dialogs/{russian,english}.seria
fi
@@ -47,17 +47,15 @@ src_install() {
|| die "doins failed"
if use amd64 ; then
- local exe=Hammerfight-amd64
+ exe=Hammerfight-amd64
fi
if use x86 ; then
- local exe=Hammerfight-x86
+ exe=Hammerfight-x86
fi
exeinto "${dir}"
doexe ${exe} || die "doexe failed"
- games_make_wrapper ${PN} ./${exe} "${dir}" "${dir}"
+ 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
index 9a04622..38b700b 100644
--- a/games-action/hammerfight/metadata.xml
+++ b/games-action/hammerfight/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
+<maintainer type="person">
<email>azamat.hackimov@gmail.com</email>
<name>Azamat H. Hackimov</name>
</maintainer>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-29 20:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-29 20:11 [gentoo-commits] proj/gamerlay:master commit in: games-action/hammerfight/ Azamat H. Hackimov
-- strict thread matches above, loose matches on Subject: below --
2014-05-16 17:27 Azamat H. Hackimov
2011-08-18 16:54 Azamat H. Hackimov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox