diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-02-27 04:32:17 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-02-27 04:32:17 +0000 |
commit | dca79c9ed009a3f89892659a76530d7c9bd9cb6e (patch) | |
tree | 48ad59c04f23954835a9310faa9cc2b48de3e11c | |
parent | Added ~sparc keyword wrt bug #82670. (diff) | |
download | historical-dca79c9ed009a3f89892659a76530d7c9bd9cb6e.tar.gz historical-dca79c9ed009a3f89892659a76530d7c9bd9cb6e.tar.bz2 historical-dca79c9ed009a3f89892659a76530d7c9bd9cb6e.zip |
use games eclass; add patch from Myk Taylor (bug #82768) to support spaces in the rc file; tidy
Package-Manager: portage-2.0.51-r15
-rw-r--r-- | games-emulation/gtuxnes/ChangeLog | 9 | ||||
-rw-r--r-- | games-emulation/gtuxnes/Manifest | 5 | ||||
-rw-r--r-- | games-emulation/gtuxnes/files/0.75-rc.patch | 11 | ||||
-rw-r--r-- | games-emulation/gtuxnes/gtuxnes-0.75.ebuild | 30 |
4 files changed, 35 insertions, 20 deletions
diff --git a/games-emulation/gtuxnes/ChangeLog b/games-emulation/gtuxnes/ChangeLog index 8af7cd55561a..7b57cec788d5 100644 --- a/games-emulation/gtuxnes/ChangeLog +++ b/games-emulation/gtuxnes/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-emulation/gtuxnes -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/gtuxnes/ChangeLog,v 1.3 2004/06/24 22:29:03 agriffis Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/gtuxnes/ChangeLog,v 1.4 2005/02/27 04:32:17 mr_bones_ Exp $ + + 26 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> +files/0.75-rc.patch, + gtuxnes-0.75.ebuild: + use games eclass; add patch from Myk Taylor (bug #82768) to support spaces in + the rc file; tidy *gtuxnes-0.75 (27 Aug 2003) diff --git a/games-emulation/gtuxnes/Manifest b/games-emulation/gtuxnes/Manifest index 2f3fe9ac9147..dc96359390e3 100644 --- a/games-emulation/gtuxnes/Manifest +++ b/games-emulation/gtuxnes/Manifest @@ -1,4 +1,5 @@ -MD5 fd1ca96bdb6d6d2e51a1e0b84d41ad97 gtuxnes-0.75.ebuild 850 -MD5 02505277a578cefc6392bddc5e11cba6 ChangeLog 404 +MD5 863d34839a54ca01054e05a0a86a4eac ChangeLog 606 +MD5 2668077f3424f1c6f8fab59a0635999a gtuxnes-0.75.ebuild 883 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 42ccaf42e2bab32d79008c61184a1eec files/0.75-rc.patch 345 MD5 27220fa938dbcd142954d021c0a9aec1 files/digest-gtuxnes-0.75 63 diff --git a/games-emulation/gtuxnes/files/0.75-rc.patch b/games-emulation/gtuxnes/files/0.75-rc.patch new file mode 100644 index 000000000000..e44b068b2268 --- /dev/null +++ b/games-emulation/gtuxnes/files/0.75-rc.patch @@ -0,0 +1,11 @@ +--- config.c.orig 2005-02-26 22:52:50.000000000 -0500 ++++ config.c 2005-02-26 22:53:21.000000000 -0500 +@@ -56,7 +56,7 @@ + while (!feof(config_file)) + { + raw_data[0] = '\0'; +- fscanf(config_file, "%s\n", raw_data); ++ fscanf(config_file, "%[^\n]\n", raw_data); + if (strlen(raw_data) < 10) + break; + strncpy(str_opname, raw_data, 10); diff --git a/games-emulation/gtuxnes/gtuxnes-0.75.ebuild b/games-emulation/gtuxnes/gtuxnes-0.75.ebuild index c5aa2a6d9688..ddb8f16dabc3 100644 --- a/games-emulation/gtuxnes/gtuxnes-0.75.ebuild +++ b/games-emulation/gtuxnes/gtuxnes-0.75.ebuild @@ -1,36 +1,34 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/gtuxnes/gtuxnes-0.75.ebuild,v 1.5 2004/06/24 22:29:03 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/gtuxnes/gtuxnes-0.75.ebuild,v 1.6 2005/02/27 04:32:17 mr_bones_ Exp $ + +inherit eutils games DESCRIPTION="GTK frontend for tuxnes, the emulator for the 8-bit Nintendo Entertainment System" HOMEPAGE="http://www.scottweber.com/projects/gtuxnes/" SRC_URI="http://www.scottweber.com/projects/gtuxnes/${P}.tar.gz" LICENSE="GPL-2" -KEYWORDS="x86" SLOT="0" +KEYWORDS="x86" IUSE="" -DEPEND="x11-libs/gtk+ - >=sys-apps/sed-4" -RDEPEND=">=games-emulation/tuxnes-0.75" +DEPEND="=x11-libs/gtk+-1.2*" +RDEPEND="${DEPEND} + >=games-emulation/tuxnes-0.75" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" sed -i \ - -e 's/gcc/$(CC) $(CFLAGS)/' Makefile || \ - die 'sed Makefile failed' -} - -src_compile() { - emake || die 'emake failed' + -e 's/gcc/$(CC) $(CFLAGS)/' Makefile \ + || die 'sed Makefile failed' + epatch "${FILESDIR}/${PV}-rc.patch" } src_install() { - dobin gtuxnes - - # Install documentation + dogamesbin gtuxnes || die "dogamesbin failed" dodoc AUTHORS CHANGES INSTALL README TODO + prepgamesdirs } |