summaryrefslogtreecommitdiff
path: root/games-board/camato
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
commit7f0ccc917c7abe6223784c703d86cd14755691fb (patch)
tree8c6793f68896b341e22f33d7e6cef88e481f4a8b /games-board/camato
parent9aa80713372911cec499b3adb2cd746790920916 (diff)
gentoo resync : 03.07.2021
Diffstat (limited to 'games-board/camato')
-rw-r--r--games-board/camato/Manifest4
-rw-r--r--games-board/camato/camato-0.7.4-r2.ebuild (renamed from games-board/camato/camato-0.7.4-r1.ebuild)11
-rw-r--r--games-board/camato/files/camato-0.7.4-implicit-string.patch8
3 files changed, 20 insertions, 3 deletions
diff --git a/games-board/camato/Manifest b/games-board/camato/Manifest
index 116e7f067af9..5b1574f1e242 100644
--- a/games-board/camato/Manifest
+++ b/games-board/camato/Manifest
@@ -1,3 +1,5 @@
+AUX camato-0.7.4-implicit-string.patch 199 BLAKE2B e8712d428f9bd6ccf90f2764db6747d3bb4b9527f5e415771b13f7c57e5f9f8897263483dc648791ad462633efa1be8bd2b051842401314f7e4c179400e49d7c SHA512 e671f69c848f5e02d61af3e4f9f391e633691e7ca0acbf60f213bd8061121e880e083e5a2915bd7e0f7749da5f77019cde179a041786d1d4a31125e57d4bbb49
DIST camato-0_7_4.tar.gz 39395 BLAKE2B 673c312f90210e7f1882f821da2c751118052594f537d2a9c1a04ceea4d0ba948487da576b5f3b274c889db48e59dd95228ecfb6d9ec03ebf04a5fb16e13822a SHA512 b355dbaf35716f719ffe5469ec73db791b2b516dc1fc7a36efa735babcd7d16b79d6d0ceea2f1308f79ca98fe7e0a3dfd3e4b3a7a15eb64abbd144aac2c3720d
-EBUILD camato-0.7.4-r1.ebuild 786 BLAKE2B c51f47625549dd5fb372b733dbc45abff477714987d9f9a964aa578ad52f91dcf45877ed70e1f2776a743d908748d567b6ea76ff88808c9a7fcbc65e56327abc SHA512 26cf1212c3e56b49a52f47c8aee620096d136626f6c53bf241790cdc843989d5735822364890c6bb5b6dd684b211171938d895b22a41764e211e081dd559050c
+DIST camato.png 5531 BLAKE2B 79502efd25006ddafdea9b2e2cabdee1e4378be8304a72753dfc29254fd9bc580265ec5cbc5e8cdf8a6bb38261e96038e27839bb1f56e31c90963578045f6e1d SHA512 e50677a52a523af57c1ace9c6612d08ce4cede0e91b324934cbaa6cbe9a37dbc1f971de1d7f46bd13978c9f81d70fed143b5e167faa764a0c790faba489a5e61
+EBUILD camato-0.7.4-r2.ebuild 906 BLAKE2B b96f2a441997343d806c2448373057922cd645bb3639b2f88eabdbc7b0f446325577c9f40fb927865c04fe8422cd7446ae397e805646ebee9db3cc93ffb50932 SHA512 9d40720e8788e78e4ec6e1b5c4ae1bd293f32946271548e8333070409998de76fffe1304200917955176f403a4d0fbdcb69736968088dea97f2f03202db1a2d5
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-board/camato/camato-0.7.4-r1.ebuild b/games-board/camato/camato-0.7.4-r2.ebuild
index a927932ef7cf..7dc2af199883 100644
--- a/games-board/camato/camato-0.7.4-r1.ebuild
+++ b/games-board/camato/camato-0.7.4-r2.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"
@@ -16,6 +18,10 @@ KEYWORDS="~amd64 ~x86"
ruby_add_rdepend dev-ruby/ruby-gtk2
+PATCHES=(
+ "${FILESDIR}"/${P}-implicit-string.patch
+)
+
all_ruby_prepare() {
# this is really single target, but ruby-single is too limited
local ruby=$(ruby_get_use_implementations)
@@ -32,5 +38,6 @@ all_ruby_install() {
einstalldocs
- make_desktop_entry ${PN} Camato applications-games
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} Camato
}
diff --git a/games-board/camato/files/camato-0.7.4-implicit-string.patch b/games-board/camato/files/camato-0.7.4-implicit-string.patch
new file mode 100644
index 000000000000..e631b07a87a8
--- /dev/null
+++ b/games-board/camato/files/camato-0.7.4-implicit-string.patch
@@ -0,0 +1,8 @@
+Crashes on keyboard events otherwise.
+--- a/map.rb
++++ b/map.rb
+@@ -35,3 +35,3 @@
+ if i < 0 or i > 255 then i = 0 end
+- my_str[0] = i
++ my_str[0] = i.to_s
+ set_resource(my_str)