commit:     e0c3cc5cace872d14a81df3302ffaa379b786986
Author:     Pavel Kulyov <kulyov.pavel <AT> gmail <DOT> com>
AuthorDate: Mon Oct 13 17:06:51 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 19 16:35:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0c3cc5c

games-arcade/syobon: bring syobon back to action

Syobon Action game was removed a year ago in
d8f3acc794dbff2cd51e0a3b37d7418afe95b2e6 because it used
deprecated EAPI.

Turned out that bumping EAPI and using new SRC_URI is
enough to fix the ebuild.

Bug: https://bugs.gentoo.org/739110
Bug: https://bugs.gentoo.org/936299
Signed-off-by: Pavel Kulyov <kulyov.pavel <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44163
Closes: https://github.com/gentoo/gentoo/pull/44163
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-arcade/syobon/Manifest               |  1 +
 games-arcade/syobon/metadata.xml           | 11 ++++++++
 games-arcade/syobon/syobon-1.0.1-r1.ebuild | 41 ++++++++++++++++++++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/games-arcade/syobon/Manifest b/games-arcade/syobon/Manifest
new file mode 100644
index 000000000000..352fb2ea9f3e
--- /dev/null
+++ b/games-arcade/syobon/Manifest
@@ -0,0 +1 @@
+DIST syobon_1.0.1_src.tar.gz 2721153 BLAKE2B 
4e5dd2689f531478aef2bc5f6723da1b0c2bcf04bd532775f6883660aedcd4226f9f42dc1ce5d19baa0d4544b4ff3084195a06ffef732cc9adbae412f1c7fd6a
 SHA512 
9a8ff389bb23563a16f1b56aefdb93cf0ee5be74c6d48276ce76a17159bc021f517a69eb300a1c17ee81d4112ba26f0d386a1e2e37bced681044c3a3ca4f7ca5

diff --git a/games-arcade/syobon/metadata.xml b/games-arcade/syobon/metadata.xml
new file mode 100644
index 000000000000..d28f5ad166f5
--- /dev/null
+++ b/games-arcade/syobon/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer type="project">
+<email>[email protected]</email>
+<name>Gentoo Games Project</name>
+</maintainer>
+<longdescription>
+Syobon Action (also known as Cat Mario or Neko Mario) is a platform game with 
a similar gameplay experience as Super Mario Bros, except it's a lot more 
difficult.
+</longdescription>
+</pkgmetadata>

diff --git a/games-arcade/syobon/syobon-1.0.1-r1.ebuild 
b/games-arcade/syobon/syobon-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..83e73b70d418
--- /dev/null
+++ b/games-arcade/syobon/syobon-1.0.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit desktop
+
+DESCRIPTION="Syobon Action (also known as Cat Mario or Neko Mario)"
+HOMEPAGE="http://zapek.com/?p=189";
+SRC_URI="http://zapek.com/wp-content/uploads/2010/09/${PN}_${PV}_src.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       media-libs/libsdl[sound,video,joystick]
+       media-libs/sdl-gfx
+       media-libs/sdl-image[png]
+       media-libs/sdl-ttf
+       media-libs/sdl-mixer[vorbis]
+"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+       emake GAMEDATA="/usr/share/${PN}"
+}
+
+src_install() {
+       dobin ${PN}
+
+       insinto "/usr/share/${PN}"
+       doins -r BGM SE res
+       einstalldocs
+
+       make_desktop_entry ${PN}
+}

Reply via email to