summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-11-19 05:01:22 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-11-19 05:01:22 +0000
commitac804a28629c15288fa8cd00d22f3ae055b608f9 (patch)
treeb82510503fcb38008e980eb9d7f5dbe359868fb2 /games-puzzle/ngstar
parentFix datashape dependencies a bit (diff)
downloadhistorical-ac804a28629c15288fa8cd00d22f3ae055b608f9.tar.gz
historical-ac804a28629c15288fa8cd00d22f3ae055b608f9.tar.bz2
historical-ac804a28629c15288fa8cd00d22f3ae055b608f9.zip
build with ncurses[tinfo] (bug #529784)
Package-Manager: portage-2.2.8-r2/cvs/Linux x86_64
Diffstat (limited to 'games-puzzle/ngstar')
-rw-r--r--games-puzzle/ngstar/ChangeLog9
-rw-r--r--games-puzzle/ngstar/Manifest16
-rw-r--r--games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch16
-rw-r--r--games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild17
4 files changed, 32 insertions, 26 deletions
diff --git a/games-puzzle/ngstar/ChangeLog b/games-puzzle/ngstar/ChangeLog
index ee13bd17b0ba..e3405b59728a 100644
--- a/games-puzzle/ngstar/ChangeLog
+++ b/games-puzzle/ngstar/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/ngstar
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ChangeLog,v 1.10 2012/07/21 20:33:46 tupone Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ChangeLog,v 1.11 2014/11/19 05:01:17 mr_bones_ Exp $
+
+ 19 Nov 2014; Michael Sterrett <mr_bones_@gentoo.org>
+ files/ngstar-2.1.8-ldflags.patch, ngstar-2.1.8-r2.ebuild:
+ build with ncurses[tinfo] (bug #529784)
21 Jul 2012; Tupone Alfredo <tupone@gentoo.org> ngstar-2.1.8-r2.ebuild,
+files/ngstar-2.1.8-gcc47.patch:
@@ -45,4 +49,3 @@
11 Apr 2006; <Tupone@gentoo.org> +metadata.xml, +ngstar-2.1.8.ebuild:
Initial import. Ebuild submitted by Alexandru Toma, bug #66294
-
diff --git a/games-puzzle/ngstar/Manifest b/games-puzzle/ngstar/Manifest
index ef76feb1561a..d495db13a4f2 100644
--- a/games-puzzle/ngstar/Manifest
+++ b/games-puzzle/ngstar/Manifest
@@ -1,18 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX ngstar-2.1.8-gcc43.patch 208 SHA256 627a182a862cfa5623f81707b8f41d6e1f2410fbe13a660d69e21e94abc488fe SHA512 c01ae8cc19afb5d7bf24dbcfd6b82bd174e54848463363cf9718aac230b990e708df05a600ef3d689056f6e0018faaeda06cdaa9054673227f46143f84f22ea7 WHIRLPOOL b8b8d50bf5b6fbecc3fc647c02610e19def82ade38d6aaa15df56a5fa6def4a3a859eaa8c44127895c7342b0469148be252a052ac076070ae61632a2e8778145
AUX ngstar-2.1.8-gcc47.patch 315 SHA256 8925d058dbc27ecb86321b99f95121642125ad8a7f8b89e976595293ac255152 SHA512 ee0b9d2f8fd989475c62371572091200acdb47fd2fc634763e729f51096786ef46a866cf2abd244502daf38b7503a0043146fd53590da4113a45841a2ac2db56 WHIRLPOOL ecbea3d5faabdec5054e07cc4072d0b00f240a5b34c1778eb9a0e42a21db29584dfa4073da3507e687841cc3c04cc5f7e72e02d8dcf14f23accb5f88908c0b59
AUX ngstar-2.1.8-gentoo-path.patch 534 SHA256 32d0998b7f9416995a30c8b448040d3427c1e59ce66c9d25495ac3d909e8f45a SHA512 bca1216cb11122c19dc183b788215c50d9426e58e69bb20ebc5085121cdfe83af8d8e504440c7eacee4a82c4f5b7ef9a7c77fa783084b0f77bd1759cb45a51d7 WHIRLPOOL e882dfba9c46dd8f698af78adb447d4b993d58ad788696770d55d26c4bda228c8c7e2d733941c01a330fb3d99983226be6f54d7add1899a826e914de9f3ae0d2
-AUX ngstar-2.1.8-ldflags.patch 671 SHA256 8776817c496771d64bf5a74e8a41d350a2957a502cce0f9753c3f4c1fe476b17 SHA512 d1394affa00ee865d27b2dff8f7dfbbd284a145e4e9bca41cfe2f3d44db86ca3381a979ec8e7337250996793179cf9f5fc7d07e31e92477ae4ed9c406f8bf638 WHIRLPOOL 98cced6f440ced4409099c288fdb606991166d32090496a71474d6c0baecc41495abbc13ab6d1f26d7f3db27ab61a8baf44fad6cf203635abbf83fb5737d0822
+AUX ngstar-2.1.8-ldflags.patch 1031 SHA256 9fd44a56733b4fd2a113bf2338b3768882393a78c613c1ede92165676f79edaa SHA512 54e08e2e6c2171624c4d0e19df0a3f1b27e65f7dc8a079689db38283098ee3d9c8baf9ec1cbe7c64c0691f6a9bfd789e0845fc8043386e3cfcb98e051e81643b WHIRLPOOL 27cd5290ca592a7c44d49debf9666072ed164101dc2c6bace5062841bbde3a989213d3d52f897b6050457c90d26590a8ddd261e996ff38985e8768bea5554b71
DIST ngstar-2.1.8-src.tar.bz2 45851 SHA256 c8a2cf84d2a4bb40280d4ce307ceaed8f97d2183f79f7a82b38b78aaedb73fb3 SHA512 c96031148720b5dcc004a5de68137bbbdd5af9c6f0b33ff8bcee3180cbf4732a4d6a92737ef99754d512bb61454bc0a17487efba4cdb00339d23e38edfe3cb28 WHIRLPOOL 05b6492a324e49c210174864b73194cef1ef3deb405d04d1c9352ae3cb3bb539e3c2b5c4d11f09f2ea32ffe37a542aaf2438185f6df1330af88de0b122d6e5aa
-EBUILD ngstar-2.1.8-r2.ebuild 1101 SHA256 bdf23ca4b7e77302dca0123f12f09ee896170b6fd4588ea38854a2a95e0815c7 SHA512 8a199ccc4b1cb4e80d39995a349353530f0c02ada11c4da8cfba01eda98f384fb62d8e59351a72a82ebedbb3bd71dcf478e42269d76ec6a0cd1d20b0ebdd5ca4 WHIRLPOOL 276d7909dd133be9653ef8862ac1ea69caadd1c34c7a4e30e29db5eb207ac4ff327ddd0690bc2a3d5ef6e171a311a8d41959efe1f316b05751688d6d479edeb1
-MISC ChangeLog 1780 SHA256 2646459e98799c1db4e4c24048c4d4413c3ea78dace96f489f8c2b30a93d483e SHA512 5deef2f83aba9b5414c88bcefe2f28134fc162f48a2fb09b148b226bb9951c5de3761e9b8b446894cd111ece0d1290836361b86b2c6cdafefda8f354600ded02 WHIRLPOOL cc29df3f2c806670c3f976f3a113ce5a06f52e27c2b65fd7f3e0c2767dcd0ff2fc122dfa8fcf00145598d390da4eaed18c320b581404cd0ee2a9420b7b7e8bde
+EBUILD ngstar-2.1.8-r2.ebuild 1015 SHA256 0cbdac9623833af39d3b059a9d78e1511f54fe7bc90ca6a4c70e6487b5ea30e6 SHA512 3cfc3280939ca09d225c4d31ad6e575f18a32aea0bd84a2181a21244e789fe270c8a6e83621af58b0068180ac48feb71a7e43a352da15cc9a42f1c8b564a8f3a WHIRLPOOL 8c07f3437b770dee3f9495203fdbc1e89ad334e0fad1f73874f38aba90233d99e4ad03465f3f749b6d0267a961d742a04f2087e93b8c3c57f9cba256e8f09d08
+MISC ChangeLog 1940 SHA256 61cfadbf26b4d291e4bf017e1012fb92d66aa22362004dc85c699325f3a42ccf SHA512 b2ed81b0e93ea0217281ace1a550bbf235e5c39fabeb42c847157f59f2abad050f7a432a8bc1c1ce19869fcb628ed04a069ee3e799128111f814dd425dc0b17a WHIRLPOOL a90248beaffab6e54717b75c164bfe0370ec995c483d9e7a01752ce03f8d9a50df78b77b1db37e35e44fb17c3834cc18a7c2d2b3bb5d5ab23ae61fbe806b00f0
MISC metadata.xml 442 SHA256 f363cdb47a1e0f84e72df3275cb8f5540924558aab077551c9709adcbe92920d SHA512 6f897bc95103167b41495d3a9a885cd38b95a7d2b360dd175a071f53a34ddfc5c2a80731f95847326f3e4b5c1caa9e4609bc218df202461bb4c1c34a8e2cccd4 WHIRLPOOL 99236aeaa55276ae639d1972a45280e15ebd49cc9d149f87fab79f4baac2c5a4e0739767c24ee5ed903c6e92cc295e6c81c6b1cc8df2d9d5dbd50a2c580a54a5
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iEYEAREIAAYFAlALEjQACgkQIY77eQFFFC0dfQCfTSF1GD1TozE0wgASr2mjwNrW
-wnUAoK5SYR77TlcLBmB0/v8ynoK1g8jI
-=7ukN
------END PGP SIGNATURE-----
diff --git a/games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch b/games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch
index 3c8dd8e8fad8..17e0ed9f7188 100644
--- a/games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch
+++ b/games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch
@@ -1,5 +1,17 @@
---- src/Makefile.old 2010-09-10 09:22:06.000000000 +0200
-+++ src/Makefile 2010-09-10 09:33:20.000000000 +0200
+diff -ru ngstar-2.1.8.orig/src/Makefile ngstar-2.1.8/src/Makefile
+--- ngstar-2.1.8.orig/src/Makefile 2005-11-09 08:11:22.000000000 -0500
++++ ngstar-2.1.8/src/Makefile 2014-11-18 23:58:45.565366080 -0500
+@@ -33,8 +33,8 @@
+ endif
+ endif
+ ifdef USE_NCURSES
+- CC_LIBS += -lncurses -lgpm
+- CC_LIBS_STATIC += -lncurses -lgpm
++ CC_LIBS += $(shell pkg-config ncurses --libs) -lgpm
++ CC_LIBS_STATIC += $(shell pkg-config ncurses --libs) -lgpm
+
+ NCURSES_UI_OBJ = Ncurses_UI.o
+
@@ -56,8 +56,7 @@
$(BIN) : $(SOURCE) $(BIN_DEPS)
diff --git a/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild b/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild
index 4c4db3b6b78d..842794fc3bc4 100644
--- a/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild
+++ b/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild,v 1.9 2012/07/21 20:33:46 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild,v 1.10 2014/11/19 05:01:17 mr_bones_ Exp $
-EAPI=2
+EAPI=5
inherit eutils games
DESCRIPTION="NGStar is a clone of a HP48 game called dstar"
@@ -14,8 +14,10 @@ SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""
-DEPEND="sys-libs/ncurses
+RDEPEND="sys-libs/ncurses
sys-libs/gpm"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
src_prepare() {
epatch \
@@ -28,17 +30,16 @@ src_prepare() {
-e "s:@GENTOO_BIN@:${GAMES_BINDIR}:" \
-e "/^CPPFLAGS/s:+=:+= ${CXXFLAGS}:" \
-e "/SILENT/d" \
- configure || die "sed configure failed"
+ configure || die
}
src_configure() {
./configure \
--prefix "" \
- --without-fltk2 || die "configure failed"
+ --without-fltk2 || die
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS Changelog README TODO
+ default
prepgamesdirs
}