public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/spacechem/
@ 2020-02-29 13:04 Azamat H. Hackimov
  0 siblings, 0 replies; 2+ messages in thread
From: Azamat H. Hackimov @ 2020-02-29 13:04 UTC (permalink / raw
  To: gentoo-commits

commit:     dcff656069e8a585beff104bf6975964b968d853
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 29 11:53:41 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Feb 29 11:53:41 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=dcff6560

games-puzzle/spacechem: update package

Migrate from deprecated eclass

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

 games-puzzle/spacechem/metadata.xml                | 11 ++++++
 ...cechem-1012.ebuild => spacechem-1012-r1.ebuild} | 45 ++++++++--------------
 2 files changed, 27 insertions(+), 29 deletions(-)

diff --git a/games-puzzle/spacechem/metadata.xml b/games-puzzle/spacechem/metadata.xml
new file mode 100644
index 0000000..aec4945
--- /dev/null
+++ b/games-puzzle/spacechem/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>mva@mva.name</email>
+<name>Vadim A. Misbakh-Soloviov</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+

diff --git a/games-puzzle/spacechem/spacechem-1012.ebuild b/games-puzzle/spacechem/spacechem-1012-r1.ebuild
similarity index 62%
rename from games-puzzle/spacechem/spacechem-1012.ebuild
rename to games-puzzle/spacechem/spacechem-1012-r1.ebuild
index 0a34f4a..c0da93f 100644
--- a/games-puzzle/spacechem/spacechem-1012.ebuild
+++ b/games-puzzle/spacechem/spacechem-1012-r1.ebuild
@@ -1,51 +1,43 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
 
-EAPI="4"
+EAPI=7
 
-inherit eutils games
+inherit desktop eutils multilib-minimal
 
 DESCRIPTION="A design-based puzzle game from Zachtronics Industries."
 HOMEPAGE="http://www.spacechemthegame.com/"
 
-MY_PV="1.0.12"
-
 SRC_URI="amd64? ( ${PN}-linux-1345144627-amd64.deb )
-	x86? ( SpaceChem-i386.deb  )"
+	x86? ( SpaceChem-i386.deb )"
 
-LICENSE="spacechem"
+LICENSE="all-rights-reserved"
 SLOT="0"
-KEYWORDS="-* amd64 ~x86"
+KEYWORDS="-* ~amd64 ~x86"
 IUSE=""
 RESTRICT="strip fetch"
 
 RDEPEND="
-	>=dev-lang/mono-2.10.3
-	x11-misc/xclip
-	media-libs/libsdl
-	media-libs/sdl-mixer
-	media-libs/sdl-image
-	dev-db/sqlite:3
-	amd64? (
-		app-emulation/emul-linux-x86-sdl
-	)
+	>=dev-lang/mono-2.10.3[${MULTILIB_USEDEP}]
+	media-libs/libsdl[${MULTILIB_USEDEP}]
+	media-libs/sdl-mixer[${MULTILIB_USEDEP}]
+	media-libs/sdl-image[${MULTILIB_USEDEP}]
+	dev-db/sqlite:3[${MULTILIB_USEDEP}]
 "
 
 S="${WORKDIR}"
 
-
 src_unpack() {
-	unpack "${A}"
+	unpack ${A}
 	cd "${S}"
 	unpack "./data.tar.gz"
 }
 
 src_install() {
-	GAMEDIR="${GAMES_PREFIX_OPT}/${PN}"
+	local dir="/opt/${PN}"
 
-	insinto "${GAMEDIR}"
-	exeinto "${GAMEDIR}"
+	insinto "${dir}"
+	exeinto "${dir}"
 
 	# install icon
 	newicon opt/zachtronicsindustries/spacechem/icon.png ${PN}.png \
@@ -62,12 +54,7 @@ src_install() {
 	doins -r opt/zachtronicsindustries/spacechem/* || die "doins opt"
 
 	# install shortcuts
-	games_make_wrapper "${PN}" "mono SpaceChem.exe" "${GAMEDIR}" "${GAMEDIR}" \
+	make_wrapper "${PN}" "mono SpaceChem.exe" "${dir}" "${dir}" \
 		|| die "install shortcut"
 	make_desktop_entry "${PN}" "SpaceChem" "${PN}" "Game;LogicGame;" "Comment=Solve design-based challenges in this game from Zachtronics Industries"
-
-	prepgamesdirs
-
-	#cd "${S}/usr/share/man/man6"
-	#doman spacechem.6.gz
 }


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

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

commit:     095101a995ab2ce0ce0f50c0d9e741b6091bd3dc
Author:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 05:27:35 2024 +0000
Commit:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 05:27:35 2024 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=095101a9

games-puzzle/spacechem: Migrated to EAPI8

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

 games-puzzle/spacechem/metadata.xml             | 7 -------
 games-puzzle/spacechem/spacechem-1012-r1.ebuild | 9 ++++-----
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/games-puzzle/spacechem/metadata.xml b/games-puzzle/spacechem/metadata.xml
index aec4945..097975e 100644
--- a/games-puzzle/spacechem/metadata.xml
+++ b/games-puzzle/spacechem/metadata.xml
@@ -1,11 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="person">
-<email>mva@mva.name</email>
-<name>Vadim A. Misbakh-Soloviov</name>
-</maintainer>
-<longdescription lang="en">
-</longdescription>
 </pkgmetadata>
-

diff --git a/games-puzzle/spacechem/spacechem-1012-r1.ebuild b/games-puzzle/spacechem/spacechem-1012-r1.ebuild
index c0da93f..08b7880 100644
--- a/games-puzzle/spacechem/spacechem-1012-r1.ebuild
+++ b/games-puzzle/spacechem/spacechem-1012-r1.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 desktop eutils multilib-minimal
+inherit desktop wrapper multilib-minimal
 
 DESCRIPTION="A design-based puzzle game from Zachtronics Industries."
 HOMEPAGE="http://www.spacechemthegame.com/"
@@ -13,8 +13,7 @@ SRC_URI="amd64? ( ${PN}-linux-1345144627-amd64.deb )
 
 LICENSE="all-rights-reserved"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
 RESTRICT="strip fetch"
 
 RDEPEND="


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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-29 13:04 [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/spacechem/ Azamat H. Hackimov
  -- strict thread matches above, loose matches on Subject: below --
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