public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/spirits/
@ 2013-03-15  4:51 Vadim A. Misbakh-Soloviov
  0 siblings, 0 replies; 3+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2013-03-15  4:51 UTC (permalink / raw
  To: gentoo-commits

commit:     78bd057b91711e5d44b9333b198f648be04c19ee
Author:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Fri Mar 15 04:51:31 2013 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Fri Mar 15 04:51:31 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=78bd057b

[games-puzzle/spirits] added. TODO: unbundle SDL2

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

---
 games-puzzle/spirits/spirits-1.0.1.ebuild |   64 +++++++++++++++++++++++++++++
 1 files changed, 64 insertions(+), 0 deletions(-)

diff --git a/games-puzzle/spirits/spirits-1.0.1.ebuild b/games-puzzle/spirits/spirits-1.0.1.ebuild
new file mode 100644
index 0000000..f4235ac
--- /dev/null
+++ b/games-puzzle/spirits/spirits-1.0.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: games-puzzle/kinetris/kinetris-1.0.0b_pre5.ebuild frostwork Exp $
+
+EAPI="5"
+MY_PN="Spirits"
+
+inherit games
+
+DESCRIPTION="a tetrominoes game (i.e.: a Tetris clone) that uses the Xbox 360 Kinect"
+HOMEPAGE="http://www.spacesofplay.com/spirits/"
+SRC_URI="${PN}-linux-${PV}_120903-1348705231.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+	media-libs/openal
+"
+#	media-libs/libsdl:2 #somewhy doesn't work with all latest versions of SDL2 in overlay
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}"
+
+src_install() {
+	local libdir binary
+	GAMEDIR="${GAMES_PREFIX_OPT}/${MY_PN}"
+
+	use amd64 && {
+# TODO: unbundling SDL2
+		libdir=x86_64
+		binary=Spirits-64
+	}
+
+	use x86 && {
+# TODO: unbundling SDL2
+		libdir=i686
+		binary=Spirits-32
+	}
+
+	dodoc README.TXT
+
+	rm "./${libdir}/libopenal.so.1"
+
+	exeinto "${GAMEDIR}"
+	insinto "${GAMEDIR}"
+	doins -r data
+# TODO: unbundling SDL2
+	doins -r "${libdir}"
+	doexe "${binary}"
+
+        # install shortcuts
+        games_make_wrapper "${PN}" "./${binary}" "${GAMEDIR}" "${GAMEDIR}/${libdir}" || die "install shortcut"
+        make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
+
+        prepgamesdirs
+}
+
+pkg_postinstall() {
+	einfo "If pre-start dialog looks ugly for you, try to remove ~/.themes"
+	einfo "At least, it helped me in such situation."
+}
\ No newline at end of file


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

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

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

games-puzzle/spirits: update package

Migrated 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/spirits/metadata.xml                  | 11 ++++++++
 ...pirits-1.0.1.ebuild => spirits-1.0.1-r1.ebuild} | 31 ++++++++++------------
 2 files changed, 25 insertions(+), 17 deletions(-)

diff --git a/games-puzzle/spirits/metadata.xml b/games-puzzle/spirits/metadata.xml
new file mode 100644
index 0000000..aec4945
--- /dev/null
+++ b/games-puzzle/spirits/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/spirits/spirits-1.0.1.ebuild b/games-puzzle/spirits/spirits-1.0.1-r1.ebuild
similarity index 61%
rename from games-puzzle/spirits/spirits-1.0.1.ebuild
rename to games-puzzle/spirits/spirits-1.0.1-r1.ebuild
index ffec38b..489e434 100644
--- a/games-puzzle/spirits/spirits-1.0.1.ebuild
+++ b/games-puzzle/spirits/spirits-1.0.1-r1.ebuild
@@ -1,17 +1,16 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-# $Header: games-puzzle/kinetris/kinetris-1.0.0b_pre5.ebuild frostwork Exp $
 
-EAPI="5"
+EAPI=7
 MY_PN="Spirits"
 
-inherit games
+inherit desktop eutils
 
 DESCRIPTION="Save the spirits of leaf litters"
 HOMEPAGE="http://www.spacesofplay.com/spirits/"
 SRC_URI="${PN}-linux-${PV}_120903-1348705231.zip"
 
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
@@ -26,16 +25,16 @@ S="${WORKDIR}/${MY_PN}"
 
 src_install() {
 	local libdir binary
-	GAMEDIR="${GAMES_PREFIX_OPT}/${MY_PN}"
+	local dir="/opt/${MY_PN}"
 
 	use amd64 && {
-# TODO: unbundling SDL2
+		# TODO: unbundling SDL2
 		libdir=x86_64
 		binary=Spirits-64
 	}
 
 	use x86 && {
-# TODO: unbundling SDL2
+		# TODO: unbundling SDL2
 		libdir=i686
 		binary=Spirits-32
 	}
@@ -44,21 +43,19 @@ src_install() {
 
 	rm "./${libdir}/libopenal.so.1"
 
-	exeinto "${GAMEDIR}"
-	insinto "${GAMEDIR}"
+	exeinto "${dir}"
+	insinto "${dir}"
 	doins -r data
-# TODO: unbundling SDL2
+	# TODO: unbundling SDL2
 	doins -r "${libdir}"
 	doexe "${binary}"
 
-        # install shortcuts
-        games_make_wrapper "${PN}" "./${binary}" "${GAMEDIR}" "${GAMEDIR}/${libdir}" || die "install shortcut"
-        make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
-
-        prepgamesdirs
+	# install shortcuts
+	make_wrapper "${PN}" "./${binary}" "${dir}" "${dir}/${libdir}" || die "install shortcut"
+	make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
 }
 
 pkg_postinstall() {
 	einfo "If pre-start dialog looks ugly for you, try to remove ~/.themes"
 	einfo "At least, it helped me in such situation."
-}
\ No newline at end of file
+}


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

* [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/spirits/
@ 2023-08-09 17:09 Vadim Misbakh-Soloviov
  0 siblings, 0 replies; 3+ messages in thread
From: Vadim Misbakh-Soloviov @ 2023-08-09 17:09 UTC (permalink / raw
  To: gentoo-commits

commit:     1e91c500bd200af46e687674d6698ce3203b0b14
Author:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 29 20:18:34 2023 +0000
Commit:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
CommitDate: Sat Apr 29 20:18:34 2023 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=1e91c500

games-puzzle/spirits: drop eutils

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

 games-puzzle/spirits/spirits-1.0.1-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-puzzle/spirits/spirits-1.0.1-r1.ebuild b/games-puzzle/spirits/spirits-1.0.1-r1.ebuild
index a015842..a6323d3 100644
--- a/games-puzzle/spirits/spirits-1.0.1-r1.ebuild
+++ b/games-puzzle/spirits/spirits-1.0.1-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 MY_PN="Spirits"
 
-inherit desktop eutils
+inherit desktop wrapper
 
 DESCRIPTION="Save the spirits of leaf litters"
 HOMEPAGE="https://www.spacesofplay.com/spirits/"
@@ -51,8 +51,8 @@ src_install() {
 	doexe "${binary}"
 
 	# install shortcuts
-	make_wrapper "${PN}" "./${binary}" "${dir}" "${dir}/${libdir}" || die "install shortcut"
-	make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
+	make_wrapper "${PN}" "./${binary}" "${dir}" "${dir}/${libdir}" || die
+	make_desktop_entry "${PN}" "${MY_PN}" "${PN}" || die
 }
 
 pkg_postinstall() {


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

end of thread, other threads:[~2023-08-09 17:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09 17:09 [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/spirits/ Vadim Misbakh-Soloviov
  -- strict thread matches above, loose matches on Subject: below --
2020-02-29 13:04 Azamat H. Hackimov
2013-03-15  4:51 Vadim A. Misbakh-Soloviov

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