commit: 2a068c70a058a9b1979290a9941c8638ba790d7d Author: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org> AuthorDate: Tue Jul 8 18:03:51 2025 +0000 Commit: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org> CommitDate: Thu Jul 10 18:38:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a068c70
games-misc/robotfindskitten: version bump to 2.8284271.702, EAPI8 bump Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/42948 Closes: https://github.com/gentoo/gentoo/pull/42948 Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org> games-misc/robotfindskitten/Manifest | 1 + .../robotfindskitten-2.8284271.702-gentoo.patch | 20 +++++++++++++ .../robotfindskitten-2.8284271.702-tinfo.patch | 20 +++++++++++++ .../robotfindskitten-2.8284271.702.ebuild | 34 ++++++++++++++++++++++ 4 files changed, 75 insertions(+) diff --git a/games-misc/robotfindskitten/Manifest b/games-misc/robotfindskitten/Manifest index 7adb0fd14351..6efa1d1d46a9 100644 --- a/games-misc/robotfindskitten/Manifest +++ b/games-misc/robotfindskitten/Manifest @@ -1 +1,2 @@ DIST robotfindskitten-2.7182818.701.tar.gz 437810 BLAKE2B d34a72c4120562844e17441ba8e2c4a04863ad5241c04425cf5a83296b047d2b5c0c52d6dbaab253be37534fd4de2f6a0d6cf8dd19124695805b457320b45c32 SHA512 736e44a62f016fb2a0dd03e31e6f1fb7c50a9115182812518666f3e4ad69f5703d7018f28ab14e0cfdbc8741656b15fa6ee577c2a5920e0d9af9acb658ac620b +DIST robotfindskitten-2.8284271.702.tar.gz 476423 BLAKE2B 06024275da4b3b5f87f3f6ab57797aa080263ca920e324b7b34a9e6540a7bae301b4a00b9935f1ffe208779eb5a1becd34b8764b9dbffe4bac95920e8f454afd SHA512 acc24996639f64cacc2e4d3389988deed693e457ab37b4e730f8a5a1b828e5f4f3a784e8071ed57d6dc7e6e1ea6ee8cbd2ea8c1d9115edb9cb909af044532db5 diff --git a/games-misc/robotfindskitten/files/robotfindskitten-2.8284271.702-gentoo.patch b/games-misc/robotfindskitten/files/robotfindskitten-2.8284271.702-gentoo.patch new file mode 100644 index 000000000000..765e83705949 --- /dev/null +++ b/games-misc/robotfindskitten/files/robotfindskitten-2.8284271.702-gentoo.patch @@ -0,0 +1,20 @@ +--- a/nki/Makefile.am ++++ b/nki/Makefile.am +@@ -1,4 +1,4 @@ +-nkidir = $(datadir)/games/robotfindskitten ++nkidir = $(datadir)/robotfindskitten + nki_DATA = vanilla.nki + + uninstall: +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,7 +1,7 @@ +-execgamesdir= $(prefix)/games ++execgamesdir= $(bindir) + execgames_PROGRAMS=robotfindskitten + +-AM_CPPFLAGS = -DSYSTEM_NKI_DIR=\"$(datadir)/games/robotfindskitten\" ++AM_CPPFLAGS = -DSYSTEM_NKI_DIR=\"$(datadir)/robotfindskitten\" + + robotfindskitten_SOURCES= robotfindskitten.c + #robotfindskitten_LDADD= -lncurses diff --git a/games-misc/robotfindskitten/files/robotfindskitten-2.8284271.702-tinfo.patch b/games-misc/robotfindskitten/files/robotfindskitten-2.8284271.702-tinfo.patch new file mode 100644 index 000000000000..aa2768fdf57f --- /dev/null +++ b/games-misc/robotfindskitten/files/robotfindskitten-2.8284271.702-tinfo.patch @@ -0,0 +1,20 @@ +https://bugs.gentoo.org/690114 + +--- a/configure.ac ++++ b/configure.ac +@@ -11,9 +11,14 @@ + AC_PROG_CC + AM_PROG_LIBTOOL + AC_PROG_INSTALL ++PKG_PROG_PKG_CONFIG + + dnl Checks for libraries. +-AC_CHECK_LIB(ncurses, initscr, ,curses) ++PKG_CHECK_MODULES(NCURSES, ncurses, [ ++ LIBS="$LIBS $NCURSES_LIBS" ++ ],[ ++ AC_MSG_ERROR([Cannot find ncurses lib]) ++ ]) + + dnl Checks for header files. + AC_CHECK_HEADERS(signal.h) diff --git a/games-misc/robotfindskitten/robotfindskitten-2.8284271.702.ebuild b/games-misc/robotfindskitten/robotfindskitten-2.8284271.702.ebuild new file mode 100644 index 000000000000..163258cfb3b4 --- /dev/null +++ b/games-misc/robotfindskitten/robotfindskitten-2.8284271.702.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Help robot find kitten" +HOMEPAGE="http://robotfindskitten.org/" +SRC_URI="https://downloads.sourceforge.net/rfk/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="sys-libs/ncurses:0=" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-tinfo.patch +) + +src_prepare() { + default + eautoreconf +} + +src_install() { + default + insinto /usr/share/${PN} + doins nki/vanilla.nki +}
