* [gentoo-commits] repo/gentoo:master commit in: games-misc/robotfindskitten/files/, games-misc/robotfindskitten/
@ 2015-12-01 21:54 Michael Sterrett
0 siblings, 0 replies; 2+ messages in thread
From: Michael Sterrett @ 2015-12-01 21:54 UTC (permalink / raw
To: gentoo-commits
commit: 42adde8586669fc97cc9026d17bfa79484434822
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 1 21:54:39 2015 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Tue Dec 1 21:54:39 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42adde85
version bump
Package-Manager: portage-2.2.20.1
games-misc/robotfindskitten/Manifest | 1 +
.../robotfindskitten-2.7182818.701-gentoo.patch | 24 +++++++++++++++++
.../robotfindskitten-2.7182818.701.ebuild | 30 ++++++++++++++++++++++
3 files changed, 55 insertions(+)
diff --git a/games-misc/robotfindskitten/Manifest b/games-misc/robotfindskitten/Manifest
index 095f9ea..3c8d8e0 100644
--- a/games-misc/robotfindskitten/Manifest
+++ b/games-misc/robotfindskitten/Manifest
@@ -1 +1,2 @@
DIST robotfindskitten-1.7320508.406.tar.gz 406412 SHA256 08c8a826c3cf90a7f3dc1d42b087425af661971585f125b9bedca2bcc2a11852 SHA512 96c8f9968336cda5f079ca4b69a17a76444a3291b1354d594d2a9b89cb0d88296b983c70076da3334774710d811b33a90fe513ba5dca330808e5345e6c920865 WHIRLPOOL 6a60e847d96db16cee9e2a2788ee412c9cf3fc859af164f5e281d4180fad7d9001fb36a58e0ae75a149fe8229780a7024d5dc5f5eb71c9b272c878f87d44312f
+DIST robotfindskitten-2.7182818.701.tar.gz 437810 SHA256 7749a370796fd23e3b306b00de5f7fb7997a35fef30e3910ff159448c932d719 SHA512 736e44a62f016fb2a0dd03e31e6f1fb7c50a9115182812518666f3e4ad69f5703d7018f28ab14e0cfdbc8741656b15fa6ee577c2a5920e0d9af9acb658ac620b WHIRLPOOL f29092a17d5e13c8d9f578e318edf5045bd478c6c4e3ae4f05258ebc4be10736b9bc71e8ab55a287e7accee6f3606a18a4d475c09dbfa59a6bb029e548225d2a
diff --git a/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch b/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch
new file mode 100644
index 0000000..6f5aa29
--- /dev/null
+++ b/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch
@@ -0,0 +1,24 @@
+--- robotfindskitten-2.7182818.701.orig/nki/Makefile.in
++++ robotfindskitten-2.7182818.701/nki/Makefile.in
+@@ -197,7 +197,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-nkidir = $(datadir)/games/robotfindskitten
++nkidir = $(datadir)/robotfindskitten
+ nki_DATA = vanilla.nki
+ all: all-am
+
+--- robotfindskitten-2.7182818.701.orig/src/Makefile.in
++++ robotfindskitten-2.7182818.701/src/Makefile.in
+@@ -199,8 +199,8 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-execgamesdir = $(prefix)/games
+-AM_CPPFLAGS = -DSYSTEM_NKI_DIR=\"$(datadir)/games/robotfindskitten\"
++execgamesdir = $(bindir)
++AM_CPPFLAGS = -DSYSTEM_NKI_DIR=\"$(datadir)/robotfindskitten\"
+ robotfindskitten_SOURCES = robotfindskitten.c
+ SPLINT_SUPPRESSIONS = +charintliteral +charindex
+ all: all-am
diff --git a/games-misc/robotfindskitten/robotfindskitten-2.7182818.701.ebuild b/games-misc/robotfindskitten/robotfindskitten-2.7182818.701.ebuild
new file mode 100644
index 0000000..ae170bc
--- /dev/null
+++ b/games-misc/robotfindskitten/robotfindskitten-2.7182818.701.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="Help robot find kitten"
+HOMEPAGE="http://robotfindskitten.org/"
+SRC_URI="mirror://sourceforge/rfk/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses:0"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_install() {
+ DOCS="AUTHORS BUGS ChangeLog NEWS" \
+ default
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins nki/vanilla.nki
+ prepgamesdirs
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-misc/robotfindskitten/files/, games-misc/robotfindskitten/
@ 2019-07-18 15:02 Lars Wendler
0 siblings, 0 replies; 2+ messages in thread
From: Lars Wendler @ 2019-07-18 15:02 UTC (permalink / raw
To: gentoo-commits
commit: 58e2de5888516dce3523cf7199bc5d993ba663a8
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 18 15:01:44 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Jul 18 15:01:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58e2de58
games-misc/robotfindskitten: Fixed build with sys-libs/ncurses[tinfo]
Closes: https://bugs.gentoo.org/690114
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
.../robotfindskitten-2.7182818.701-gentoo.patch | 32 ++++++++++------------
.../robotfindskitten-2.7182818.701-tinfo.patch | 20 ++++++++++++++
.../robotfindskitten-2.7182818.701-r1.ebuild | 18 ++++++++----
3 files changed, 47 insertions(+), 23 deletions(-)
diff --git a/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch b/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch
index 6f5aa29a9f5..07e801e2d76 100644
--- a/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch
+++ b/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch
@@ -1,24 +1,20 @@
---- robotfindskitten-2.7182818.701.orig/nki/Makefile.in
-+++ robotfindskitten-2.7182818.701/nki/Makefile.in
-@@ -197,7 +197,7 @@
- top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
+--- robotfindskitten-2.7182818.701/nki/Makefile.am
++++ robotfindskitten-2.7182818.701/nki/Makefile.am
+@@ -1,4 +1,4 @@
-nkidir = $(datadir)/games/robotfindskitten
+nkidir = $(datadir)/robotfindskitten
nki_DATA = vanilla.nki
- all: all-am
---- robotfindskitten-2.7182818.701.orig/src/Makefile.in
-+++ robotfindskitten-2.7182818.701/src/Makefile.in
-@@ -199,8 +199,8 @@
- top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--execgamesdir = $(prefix)/games
+ uninstall:
+--- robotfindskitten-2.7182818.701/src/Makefile.am
++++ robotfindskitten-2.7182818.701/src/Makefile.am
+@@ -1,7 +1,7 @@
+-execgamesdir= $(prefix)/games
++execgamesdir= $(bindir)
+ execgames_PROGRAMS=robotfindskitten
+
-AM_CPPFLAGS = -DSYSTEM_NKI_DIR=\"$(datadir)/games/robotfindskitten\"
-+execgamesdir = $(bindir)
+AM_CPPFLAGS = -DSYSTEM_NKI_DIR=\"$(datadir)/robotfindskitten\"
- robotfindskitten_SOURCES = robotfindskitten.c
- SPLINT_SUPPRESSIONS = +charintliteral +charindex
- all: all-am
+
+ robotfindskitten_SOURCES= robotfindskitten.c
+ #robotfindskitten_LDADD= -lncurses
diff --git a/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-tinfo.patch b/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-tinfo.patch
new file mode 100644
index 00000000000..4ceef27ac94
--- /dev/null
+++ b/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-tinfo.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/690114
+
+--- robotfindskitten-2.7182818.701/configure.in
++++ robotfindskitten-2.7182818.701/configure.in
+@@ -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.7182818.701-r1.ebuild b/games-misc/robotfindskitten/robotfindskitten-2.7182818.701-r1.ebuild
index a6195c2f7a8..66f4a379e6e 100644
--- a/games-misc/robotfindskitten/robotfindskitten-2.7182818.701-r1.ebuild
+++ b/games-misc/robotfindskitten/robotfindskitten-2.7182818.701-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils
+EAPI=7
+
+inherit autotools
DESCRIPTION="Help robot find kitten"
HOMEPAGE="http://robotfindskitten.org/"
@@ -13,13 +14,20 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="sys-libs/ncurses:0"
-RDEPEND=${DEPEND}
+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() {
DOCS="AUTHORS BUGS ChangeLog NEWS" \
default
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-18 15:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-18 15:02 [gentoo-commits] repo/gentoo:master commit in: games-misc/robotfindskitten/files/, games-misc/robotfindskitten/ Lars Wendler
-- strict thread matches above, loose matches on Subject: below --
2015-12-01 21:54 Michael Sterrett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox