public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gamerlay:master commit in: games-arcade/metalslug3/
@ 2014-06-22 21:51 Vadim A. Misbakh-Soloviov
  0 siblings, 0 replies; 3+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2014-06-22 21:51 UTC (permalink / raw
  To: gentoo-commits

commit:     bfb11f1211281c50f9914c0e4052bd6fcdeba5bc
Author:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Sun Jun 22 21:49:59 2014 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Sun Jun 22 21:49:59 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=bfb11f12

[games-arcade/metalslug3] deps fixed

Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name>

---
 games-arcade/metalslug3/metalslug3-20140609.ebuild | 70 ++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/games-arcade/metalslug3/metalslug3-20140609.ebuild b/games-arcade/metalslug3/metalslug3-20140609.ebuild
new file mode 100644
index 0000000..686fe52
--- /dev/null
+++ b/games-arcade/metalslug3/metalslug3-20140609.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit eutils games unpacker
+
+TS="2014-06-09"
+
+DESCRIPTION="Famous 2D shooting game"
+HOMEPAGE="http://www.snkplaymore.co.jp/us/games/steam/metalslug3/"
+SRC_URI="MetalSlug3-Linux-${TS}.sh"
+
+RESTRICT="fetch strip"
+LICENSE="as-is"
+
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+	app-arch/unzip
+"
+RDEPEND="
+	media-libs/libsdl2
+	media-libs/sdl2-mixer
+	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_install() {
+	local arch;
+
+	use amd64 && arch="x86_64";
+	use x86 && arch="x86";
+
+	# Install documentation
+	dodoc noarch/README.linux noarch/LICENSES.txt noarch/ARPHICPL.TXT
+	rm noarch/README.linux noarch/LICENSES.txt noarch/ARPHICPL.TXT
+
+	# Install data
+	insinto "${GAMEDIR}"
+	doins -r noarch/*
+	exeinto "${GAMEDIR}"
+	doexe "${arch}/MetalSlug3.bin.${arch}"
+
+	# Install icon and desktop file
+	newicon "noarch/icon.png" "${PN}.png"
+	make_desktop_entry "${PN}" "Metal Slug 3" "${PN}"
+	games_make_wrapper "${PN}" "./MetalSlug3.bin.${arch}" "${GAMEDIR}"
+
+	# Setting permissions.
+	prepgamesdirs
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/gamerlay:master commit in: games-arcade/metalslug3/
@ 2020-02-29  1:15 Azamat H. Hackimov
  0 siblings, 0 replies; 3+ messages in thread
From: Azamat H. Hackimov @ 2020-02-29  1:15 UTC (permalink / raw
  To: gentoo-commits

commit:     d86d81aa8571e93304800169139c30f9122ec3d3
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri Feb 28 21:29:15 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Fri Feb 28 21:29:15 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=d86d81aa

games-arcade/metalslug3: update to EAPI7

Migrate from deprecated eclass, fixes to build.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>

 games-arcade/metalslug3/metadata.xml               |  7 +++++
 ...0140609.ebuild => metalslug3-2014.06.09.ebuild} | 34 +++++++---------------
 2 files changed, 17 insertions(+), 24 deletions(-)

diff --git a/games-arcade/metalslug3/metadata.xml b/games-arcade/metalslug3/metadata.xml
new file mode 100644
index 0000000..ab5b6a0
--- /dev/null
+++ b/games-arcade/metalslug3/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<longdescription lang="en">
+Famous 2D shooting game
+</longdescription>
+</pkgmetadata>

diff --git a/games-arcade/metalslug3/metalslug3-20140609.ebuild b/games-arcade/metalslug3/metalslug3-2014.06.09.ebuild
similarity index 67%
rename from games-arcade/metalslug3/metalslug3-20140609.ebuild
rename to games-arcade/metalslug3/metalslug3-2014.06.09.ebuild
index 686fe52..3008584 100644
--- a/games-arcade/metalslug3/metalslug3-20140609.ebuild
+++ b/games-arcade/metalslug3/metalslug3-2014.06.09.ebuild
@@ -1,27 +1,22 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
 
-EAPI="5"
+EAPI=7
 
-inherit eutils games unpacker
-
-TS="2014-06-09"
+inherit eutils unpacker
 
 DESCRIPTION="Famous 2D shooting game"
 HOMEPAGE="http://www.snkplaymore.co.jp/us/games/steam/metalslug3/"
-SRC_URI="MetalSlug3-Linux-${TS}.sh"
+SRC_URI="MetalSlug3-Linux-$(ver_rs 1-2 -).sh"
 
 RESTRICT="fetch strip"
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
 
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="-* ~amd64 ~x86"
 IUSE=""
 
-DEPEND="
-	app-arch/unzip
-"
+DEPEND="app-arch/unzip"
 RDEPEND="
 	media-libs/libsdl2
 	media-libs/sdl2-mixer
@@ -30,8 +25,6 @@ RDEPEND="
 
 S="${WORKDIR}/data"
 
-GAMEDIR="${GAMES_PREFIX_OPT}/${PN}"
-
 pkg_nofetch() {
 	einfo ""
 	einfo "Please buy and download \"${SRC_URI}\" from"
@@ -40,10 +33,6 @@ pkg_nofetch() {
 	einfo ""
 }
 
-#src_unpack() {
-#	unpack_zip "${A}";
-#}
-
 src_install() {
 	local arch;
 
@@ -55,16 +44,13 @@ src_install() {
 	rm noarch/README.linux noarch/LICENSES.txt noarch/ARPHICPL.TXT
 
 	# Install data
-	insinto "${GAMEDIR}"
+	insinto "/opt/${PN}"
 	doins -r noarch/*
-	exeinto "${GAMEDIR}"
+	exeinto "/opt/${PN}"
 	doexe "${arch}/MetalSlug3.bin.${arch}"
 
 	# Install icon and desktop file
 	newicon "noarch/icon.png" "${PN}.png"
 	make_desktop_entry "${PN}" "Metal Slug 3" "${PN}"
-	games_make_wrapper "${PN}" "./MetalSlug3.bin.${arch}" "${GAMEDIR}"
-
-	# Setting permissions.
-	prepgamesdirs
+	make_wrapper "${PN}" "./MetalSlug3.bin.${arch}" "/opt/${PN}"
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/gamerlay:master commit in: games-arcade/metalslug3/
@ 2024-01-15  5:48 Vadim Misbakh-Soloviov
  0 siblings, 0 replies; 3+ messages in thread
From: Vadim Misbakh-Soloviov @ 2024-01-15  5:48 UTC (permalink / raw
  To: gentoo-commits

commit:     02ec8e1bc5786388d442deb7136ec8ddc4d785e8
Author:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 03:47:47 2024 +0000
Commit:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 03:47:47 2024 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=02ec8e1b

games-arcade/metalslug3: Magrated to EAPI8

Signed-off-by: Vadim Misbakh-Soloviov <mva <AT> gentoo.org>

 games-arcade/metalslug3/metadata.xml                 |  3 ---
 games-arcade/metalslug3/metalslug3-2014.06.09.ebuild | 11 +++++------
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/games-arcade/metalslug3/metadata.xml b/games-arcade/metalslug3/metadata.xml
index ab5b6a0..097975e 100644
--- a/games-arcade/metalslug3/metadata.xml
+++ b/games-arcade/metalslug3/metadata.xml
@@ -1,7 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<longdescription lang="en">
-Famous 2D shooting game
-</longdescription>
 </pkgmetadata>

diff --git a/games-arcade/metalslug3/metalslug3-2014.06.09.ebuild b/games-arcade/metalslug3/metalslug3-2014.06.09.ebuild
index 3008584..e13f448 100644
--- a/games-arcade/metalslug3/metalslug3-2014.06.09.ebuild
+++ b/games-arcade/metalslug3/metalslug3-2014.06.09.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit eutils unpacker
+inherit desktop wrapper unpacker
 
 DESCRIPTION="Famous 2D shooting game"
 HOMEPAGE="http://www.snkplaymore.co.jp/us/games/steam/metalslug3/"
@@ -13,8 +13,7 @@ RESTRICT="fetch strip"
 LICENSE="all-rights-reserved"
 
 SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
 
 DEPEND="app-arch/unzip"
 RDEPEND="
@@ -29,7 +28,7 @@ pkg_nofetch() {
 	einfo ""
 	einfo "Please buy and download \"${SRC_URI}\" from"
 	einfo "HumbleIndieBundle or ${HOMEPAGE}"
-	einfo "and move/link it to \"${DISTDIR}\""
+	einfo "and move/link it to \"${PORTAGE_ACTUAL_DISTDIR}\""
 	einfo ""
 }
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-15  5:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-22 21:51 [gentoo-commits] proj/gamerlay:master commit in: games-arcade/metalslug3/ Vadim A. Misbakh-Soloviov
  -- strict thread matches above, loose matches on Subject: below --
2020-02-29  1:15 Azamat H. Hackimov
2024-01-15  5:48 Vadim Misbakh-Soloviov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox