summaryrefslogtreecommitdiff
path: root/games-misc/robotfindskitten
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-07-19 22:05:27 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-07-19 22:05:27 +0100
commit121ed4eec41fbf03e1998d09eede1bf449da63b9 (patch)
treece9341d77d1507f67d4a3a1472da9011b5baa0a8 /games-misc/robotfindskitten
parentdd762ff83c330186ee2ede002e08b2f780cddd51 (diff)
gentoo resync : 19.07.2019
Diffstat (limited to 'games-misc/robotfindskitten')
-rw-r--r--games-misc/robotfindskitten/Manifest5
-rw-r--r--games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch32
-rw-r--r--games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-tinfo.patch20
-rw-r--r--games-misc/robotfindskitten/robotfindskitten-2.7182818.701-r1.ebuild18
4 files changed, 50 insertions, 25 deletions
diff --git a/games-misc/robotfindskitten/Manifest b/games-misc/robotfindskitten/Manifest
index dea7203d6ea1..107f525811c1 100644
--- a/games-misc/robotfindskitten/Manifest
+++ b/games-misc/robotfindskitten/Manifest
@@ -1,4 +1,5 @@
-AUX robotfindskitten-2.7182818.701-gentoo.patch 872 BLAKE2B b741d5ac234798e46436f3f0cad615e4abebc3199bc44cc4dffb622e33f42c66430a452256ede3f1c8a6d452445714a053fff246597f2c4a5a84bcc3fe3c6ecf SHA512 4189fc914f7047599f45b8f6a00968159e14a8c14d3e40f62e217c30ad96db5ab38f389f7cac608db27ba8f67c9841ac8a0927e2654dba9c1e04d997936ce8c2
+AUX robotfindskitten-2.7182818.701-gentoo.patch 671 BLAKE2B 51043d6973dcfe61cd2343ec5bc576f7ebd9d10a48a92a73e61f947baff933f6b7118431d14e3e9e7e5f28b5bf7c22bf36acec740b4b59f7276dbc36f6a8cfb8 SHA512 f76683a61aba34b7ba87354b9561791ef13756caac6a15c6af9ffc30017dbfa7e3fd02c4ce5887a7bbc8c27b88a6c61413c244a5daa65f9bea1640369dac8ed2
+AUX robotfindskitten-2.7182818.701-tinfo.patch 475 BLAKE2B 5b1bdfa15e1f18b70366912d396618485fe806f7c07acc0af6c37c1cf6ae05ac9eee0ff5ff14d152895f7f9da55aadfca19a27903876c98e28cd293e48eb08cf SHA512 c108f39fc0ec8d84e64cc5d59e11eb95c048abc1dd63c1f9acccbee9b55e2e43c4ea48392d3358c09f5e61a3587110458965dcb595b5ce3719eeb73658f7c763
DIST robotfindskitten-2.7182818.701.tar.gz 437810 BLAKE2B d34a72c4120562844e17441ba8e2c4a04863ad5241c04425cf5a83296b047d2b5c0c52d6dbaab253be37534fd4de2f6a0d6cf8dd19124695805b457320b45c32 SHA512 736e44a62f016fb2a0dd03e31e6f1fb7c50a9115182812518666f3e4ad69f5703d7018f28ab14e0cfdbc8741656b15fa6ee577c2a5920e0d9af9acb658ac620b
-EBUILD robotfindskitten-2.7182818.701-r1.ebuild 522 BLAKE2B 2cb974c5427a63ae65f2b359c71137ea0d199e00e1d3cc8cfa05ecc0eabf882376c3c5e6a836e51eeba4793a493674ee1ad3c85a5d094cee85eed39c6e1a528d SHA512 7a80e3531a33086aa4a0c8a68a59bcad76a8c2b767df3be94de2258c416630a9bdbf12c464629d01f958f6360ab8691579a5db139fae8cbbc8c55963ecea994a
+EBUILD robotfindskitten-2.7182818.701-r1.ebuild 627 BLAKE2B ae0ebc3bac1b7d8f4ed4ea0646c2a5d0fff297ae9087f573838c0b47a02452cc6778d52acb1b42ad935dbaf2a3ff9f50743e1efd04f3370078caccdd3bcf819d SHA512 fd9012237e351d317da4b9f65b0b5de58995fb47a59afddbbbd64318b5f1775b2baa786ce4ff25abebcdb13be6d641909e481fb44250d601aafcecfd44ed68fe
MISC metadata.xml 326 BLAKE2B b7e04ad279076c022578833b14abb5f00e1decebe7e7a09f687f03c15cc71e81d1f418d5e81ece7965fff067b1ca42dea0e53f24d65dfc6b55a8e6a5f330b7ee SHA512 1620797c8b2a84b0711c6bda03a739a5a6b1fc5f527077224fe0f3d0e462260d3aa0d1516d11f0dc723f4ad74072cfb5e5e1550c00c4001f78e78b4e3d827080
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 6f5aa29a9f51..07e801e2d765 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 000000000000..4ceef27ac948
--- /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 a6195c2f7a8a..66f4a379e6ed 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