public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-board/camato/
@ 2016-09-14 17:26 Austin English
  0 siblings, 0 replies; 4+ messages in thread
From: Austin English @ 2016-09-14 17:26 UTC (permalink / raw
  To: gentoo-commits

commit:     68aebe07dc2fd628086918fa6e9b7adf880f3238
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  8 21:33:26 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 17:26:33 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68aebe07

games-board/camato: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-board/camato/camato-0.7.4-r1.ebuild | 32 +++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/games-board/camato/camato-0.7.4-r1.ebuild b/games-board/camato/camato-0.7.4-r1.ebuild
new file mode 100644
index 00000000..30daaa3
--- /dev/null
+++ b/games-board/camato/camato-0.7.4-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit versionator
+
+MY_PV=$(replace_all_version_separators _)
+DESCRIPTION="A map editor for the game gnocatan"
+HOMEPAGE="http://yusei.ragondux.com/loisirs_jdp_catane_camato-en.html"
+SRC_URI="http://yusei.ragondux.com/files/gnocatan/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-ruby/ruby-gtk2"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+	default
+
+	rm -f Makefile || die
+}
+
+src_install() {
+	dobin ${PN}
+	insinto /usr/share/${PN}
+	doins -r *.rb img
+	dodoc ChangeLog README
+}


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

* [gentoo-commits] repo/gentoo:master commit in: games-board/camato/
@ 2016-11-13 10:32 Hans de Graaff
  0 siblings, 0 replies; 4+ messages in thread
From: Hans de Graaff @ 2016-11-13 10:32 UTC (permalink / raw
  To: gentoo-commits

commit:     8358714ad9198a5efd1e313afa3b565cc60e86ba
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 13 09:36:36 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 10:31:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8358714a

games-board/camato: drop to ~x86 due to bug 587024

Package-Manager: portage-2.3.0

 games-board/camato/camato-0.7.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-board/camato/camato-0.7.4.ebuild b/games-board/camato/camato-0.7.4.ebuild
index 1e0c1b8..1a55622 100644
--- a/games-board/camato/camato-0.7.4.ebuild
+++ b/games-board/camato/camato-0.7.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,7 @@ SRC_URI="http://yusei.ragondux.com/files/gnocatan/${PN}-${MY_PV}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE=""
 
 DEPEND="dev-ruby/ruby-gtk2"


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

* [gentoo-commits] repo/gentoo:master commit in: games-board/camato/
@ 2021-06-28 16:49 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2021-06-28 16:49 UTC (permalink / raw
  To: gentoo-commits

commit:     2a11a674f6bedb201add2d2d41391b5b0545e513
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 11:33:42 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 16:42:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a11a674

games-board/camato: EAPI 6->7, versionator--, remove homepage

Also add some ruby targets awareness for ruby-gtk2, and a desktop file.

Closes: https://bugs.gentoo.org/680484
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-board/camato/camato-0.7.4-r1.ebuild | 37 ++++++++++++++++++-------------
 1 file changed, 21 insertions(+), 16 deletions(-)

diff --git a/games-board/camato/camato-0.7.4-r1.ebuild b/games-board/camato/camato-0.7.4-r1.ebuild
index 4a062b440be..a927932ef7c 100644
--- a/games-board/camato/camato-0.7.4-r1.ebuild
+++ b/games-board/camato/camato-0.7.4-r1.ebuild
@@ -1,31 +1,36 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit versionator
+EAPI=7
 
-MY_PV=$(replace_all_version_separators _)
-DESCRIPTION="A map editor for the game gnocatan"
-HOMEPAGE="http://yusei.ragondux.com/loisirs_jdp_catane_camato-en.html"
-SRC_URI="http://yusei.ragondux.com/files/gnocatan/${PN}-${MY_PV}.tar.gz"
+USE_RUBY="ruby25 ruby26 ruby27"
+inherit desktop ruby-ng
 
-LICENSE="GPL-2"
+DESCRIPTION="Map editor for the game gnocatan"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="mirror://gentoo/${PN}-$(ver_rs 1- _).tar.gz"
+
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
-DEPEND="dev-ruby/ruby-gtk2"
-RDEPEND=${DEPEND}
+ruby_add_rdepend dev-ruby/ruby-gtk2
 
-src_prepare() {
-	default
+all_ruby_prepare() {
+	# this is really single target, but ruby-single is too limited
+	local ruby=$(ruby_get_use_implementations)
+	sed -i "1c\\#!$(ruby_implementation_command ${ruby##* })" ${PN} || die
 
-	rm -f Makefile || die
+	rm Makefile || die
 }
 
-src_install() {
+all_ruby_install() {
 	dobin ${PN}
+
 	insinto /usr/share/${PN}
 	doins -r *.rb img
-	dodoc ChangeLog README
+
+	einstalldocs
+
+	make_desktop_entry ${PN} Camato applications-games
 }


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

* [gentoo-commits] repo/gentoo:master commit in: games-board/camato/
@ 2021-06-29 20:55 Ionen Wolkens
  0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2021-06-29 20:55 UTC (permalink / raw
  To: gentoo-commits

commit:     507dc8d54ae8f754fd1d352ef5ea951704b25c64
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 29 19:41:09 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun 29 20:53:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=507dc8d5

games-board/camato: add .desktop icon

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-board/camato/Manifest               | 1 +
 games-board/camato/camato-0.7.4-r1.ebuild | 7 +++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/games-board/camato/Manifest b/games-board/camato/Manifest
index afefc457f09..d9f0e87c665 100644
--- a/games-board/camato/Manifest
+++ b/games-board/camato/Manifest
@@ -1 +1,2 @@
 DIST camato-0_7_4.tar.gz 39395 BLAKE2B 673c312f90210e7f1882f821da2c751118052594f537d2a9c1a04ceea4d0ba948487da576b5f3b274c889db48e59dd95228ecfb6d9ec03ebf04a5fb16e13822a SHA512 b355dbaf35716f719ffe5469ec73db791b2b516dc1fc7a36efa735babcd7d16b79d6d0ceea2f1308f79ca98fe7e0a3dfd3e4b3a7a15eb64abbd144aac2c3720d
+DIST camato.png 5531 BLAKE2B 79502efd25006ddafdea9b2e2cabdee1e4378be8304a72753dfc29254fd9bc580265ec5cbc5e8cdf8a6bb38261e96038e27839bb1f56e31c90963578045f6e1d SHA512 e50677a52a523af57c1ace9c6612d08ce4cede0e91b324934cbaa6cbe9a37dbc1f971de1d7f46bd13978c9f81d70fed143b5e167faa764a0c790faba489a5e61

diff --git a/games-board/camato/camato-0.7.4-r1.ebuild b/games-board/camato/camato-0.7.4-r1.ebuild
index a927932ef7c..92df74471f2 100644
--- a/games-board/camato/camato-0.7.4-r1.ebuild
+++ b/games-board/camato/camato-0.7.4-r1.ebuild
@@ -8,7 +8,9 @@ inherit desktop ruby-ng
 
 DESCRIPTION="Map editor for the game gnocatan"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
-SRC_URI="mirror://gentoo/${PN}-$(ver_rs 1- _).tar.gz"
+SRC_URI="
+	mirror://gentoo/${PN}-$(ver_rs 1- _).tar.gz
+	https://dev.gentoo.org/~ionen/distfiles/${PN}.png"
 
 LICENSE="GPL-2+"
 SLOT="0"
@@ -32,5 +34,6 @@ all_ruby_install() {
 
 	einstalldocs
 
-	make_desktop_entry ${PN} Camato applications-games
+	doicon "${DISTDIR}"/${PN}.png
+	make_desktop_entry ${PN} Camato
 }


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

end of thread, other threads:[~2021-06-29 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-28 16:49 [gentoo-commits] repo/gentoo:master commit in: games-board/camato/ Ionen Wolkens
  -- strict thread matches above, loose matches on Subject: below --
2021-06-29 20:55 Ionen Wolkens
2016-11-13 10:32 Hans de Graaff
2016-09-14 17:26 Austin English

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