summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-07-04 08:11:43 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-07-04 08:11:43 +0000
commit581144682d98c3e5e5bd671ca025e7f1e51da420 (patch)
tree59e6a4d326fac0f62ec71531394309582e309a1c /games-emulation
parentUpdate multilib stable mask (diff)
downloadhistorical-581144682d98c3e5e5bd671ca025e7f1e51da420.tar.gz
historical-581144682d98c3e5e5bd671ca025e7f1e51da420.tar.bz2
historical-581144682d98c3e5e5bd671ca025e7f1e51da420.zip
EAPI=5; simplify; add include patch to clean up build a bit
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/gnuboy/ChangeLog10
-rw-r--r--games-emulation/gnuboy/Manifest14
-rw-r--r--games-emulation/gnuboy/files/gnuboy-1.0.3-include.patch14
-rw-r--r--games-emulation/gnuboy/gnuboy-1.0.3-r1.ebuild58
4 files changed, 88 insertions, 8 deletions
diff --git a/games-emulation/gnuboy/ChangeLog b/games-emulation/gnuboy/ChangeLog
index b5df0db10db4..2b045b22926f 100644
--- a/games-emulation/gnuboy/ChangeLog
+++ b/games-emulation/gnuboy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/gnuboy
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnuboy/ChangeLog,v 1.12 2011/07/10 02:16:07 mr_bones_ Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnuboy/ChangeLog,v 1.13 2014/07/04 08:11:39 mr_bones_ Exp $
+
+*gnuboy-1.0.3-r1 (04 Jul 2014)
+
+ 04 Jul 2014; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/gnuboy-1.0.3-include.patch, +gnuboy-1.0.3-r1.ebuild:
+ EAPI=5; simplify; add include patch to clean up build a bit
10 Jul 2011; Michael Sterrett <mr_bones_@gentoo.org> gnuboy-1.0.3.ebuild:
EAPI=2; update HOMEPAGE (bug #374633)
diff --git a/games-emulation/gnuboy/Manifest b/games-emulation/gnuboy/Manifest
index f43b0326c825..603a3be7bab4 100644
--- a/games-emulation/gnuboy/Manifest
+++ b/games-emulation/gnuboy/Manifest
@@ -1,6 +1,8 @@
-AUX gnuboy-1.0.3-exec-stack.patch 475 RMD160 863a67d4d58f522cf59abd19a256bd18539e69f0 SHA1 74e7416bd1d20a83cbb62c1e9f342ff2c81d3932 SHA256 4c296ec67b0667d6422a961d3bb213c008d2bd33ebb2572aaca2063fbb622cd3
-AUX gnuboy-1.0.3-linux-headers.patch 1685 RMD160 d8659bfa3b6fdde1a958a26c5cc5326fe89101ac SHA1 0f54dc8c89b079f0aa99b366bfb182558d5e134e SHA256 c9b8d177c31ce4531dcd3c055c5e4ebd3a0ad65dcf515ce439f143239e77407e
-DIST gnuboy-1.0.3.tar.gz 187627 RMD160 dfaf927fe2d4e03f39d83079b7dd3aa02c8983b9 SHA1 4c371445b6599c6636d08ba9c5de7bb9fbf78437 SHA256 f0022db824b920054a42690322932cf582e0a9995961124586f054503a0f8072
-EBUILD gnuboy-1.0.3.ebuild 1369 RMD160 0cd3b934938e37b4c64f1725ed057f5f20ecc302 SHA1 7eaa78251967312c4fe4c197e963e0e6dbd2fa4f SHA256 5416112c1a3ecf48ce36dabe70c1359b12e944452b0f0c5c73f77e51e2ec0c9d
-MISC ChangeLog 1394 RMD160 aeb20120502549a400cf90768693bc910b91581b SHA1 be6c9e09fd39d326a61eca228a26b535e41ade6f SHA256 5b4eef60ead82cd51a3b16e747f5c73ba913ba840c1f64db3393de0fe44fc5f5
-MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+AUX gnuboy-1.0.3-exec-stack.patch 475 SHA256 4c296ec67b0667d6422a961d3bb213c008d2bd33ebb2572aaca2063fbb622cd3 SHA512 801d217cb8dbe4fb6957e6acc31658bbfa90843178a7343cf52d84f1464787da67f6f579f6dcb1ab2c54fef50289d181014f8b179dfcac6c32949ccaeaaca364 WHIRLPOOL a521d00e922bcd380e233eeff67f84d80ecf4511311c00a49483978721b6a1c3b13bea298a36bcc07d98a61c9740c310e26f016e1efae70b04f5658816e29882
+AUX gnuboy-1.0.3-include.patch 350 SHA256 151281d690102f613231a39f8f3702c182af9a2743e958b993be08807f607ef5 SHA512 9815515c39bf0a387b32e0038a050dd7ca51b5b47d539ee39fcb77b1908735890aac9abfd7d1fe03733d7c9359398b1688f401aa2170ac48d0ed6d2d50acf04d WHIRLPOOL b4030664db7db79bf7d8d8988e3c3ff47695f0e265dff2e1986e1550f326ce5860a4634667f6673643ffa56f8f55fa1b7f6794460db9b58851a66d1c687ca33f
+AUX gnuboy-1.0.3-linux-headers.patch 1685 SHA256 c9b8d177c31ce4531dcd3c055c5e4ebd3a0ad65dcf515ce439f143239e77407e SHA512 2cf51c37d7d4cfc230a7ec032c62c22c6fb33c6f05b78e38b8bd033cbcde37b45ab8bef68bfa72374fdcf85139c2504c808516648ae435f7f8f26efa9bd2a56e WHIRLPOOL f6f5db0fc5de6220139750e635f886f2a8d674693b7b2d45ec208427c254e61cb5fc09b03a817218d996223340e1482aa27d061cbda451e31c398d193103d1f9
+DIST gnuboy-1.0.3.tar.gz 187627 SHA256 f0022db824b920054a42690322932cf582e0a9995961124586f054503a0f8072 SHA512 89e8075dac5ec17b375a5739367b46c55130211fb487a052be1cca49a5d86cc1a7f1619b2b2473d744fbe3c51fdb1a11110b15836cc9cc9de588932b91d258e6 WHIRLPOOL e42e4598fef51bbb190a0317767f6faa3dfd49ad701bd44f54b8488fd0d72f2bd6568fceb5baca9079ea18a4f6732333ba3a62d928c11eeb310e305f83d0ea7d
+EBUILD gnuboy-1.0.3-r1.ebuild 1195 SHA256 ceba642b356e7827198b34d60dbddebe6cb29f33a06205e6fbb50531e2326d3d SHA512 783e79b7ff7df14219c893ada1799eea76fa235a168b558c6e0bf3786f8b7e87a703e8165037f9b4a4735ee2da4c1223844c9eeac6f2f6100833041abc4b4dd6 WHIRLPOOL e52ff72069e43fd63d6671317c2d8eb8218656b08872b887e5b1668cd1a3c9dcf0fa8473f05f076698e5d61abd55d8623431e1ac78f494f13ed0168a318f9323
+EBUILD gnuboy-1.0.3.ebuild 1369 SHA256 5416112c1a3ecf48ce36dabe70c1359b12e944452b0f0c5c73f77e51e2ec0c9d SHA512 3200c327b0180b7d6d54aadf83dcb375501c3a64ed2a679791cdbdb74360b05b72c766f50866cb04709d40243c762fe62512adcfcb7768adb90cc92e25678cf0 WHIRLPOOL 46b3c47da3ae1aaea8ecad47908b87f03ccb927d3b9b1d09f06c89bc96356a8364c15e59da0bc55740f0f51c09611cabdad6dd9cd954e683bb24364db2c8064b
+MISC ChangeLog 1606 SHA256 3988136b1678de02f90bdf568776409e9cb80cfbf0bacc26b102c556d8bccbe1 SHA512 5275532806151d1b2fb85ae969f77aba32fbcfed229a6a53ed093e0701dc9a912d816412a3fd959ba0671fec1029f760c2f4c59d546af6e4b961105fe259e920 WHIRLPOOL 2c14abf85a6067c95bd90ea8802cf5ed170e23fda85a666e6e12c13edbc2f8be333df6889340cd1bb796e0144f86bd17f9cb77dc6470aeaaae7588115167f42a
+MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
diff --git a/games-emulation/gnuboy/files/gnuboy-1.0.3-include.patch b/games-emulation/gnuboy/files/gnuboy-1.0.3-include.patch
new file mode 100644
index 000000000000..15573000511e
--- /dev/null
+++ b/games-emulation/gnuboy/files/gnuboy-1.0.3-include.patch
@@ -0,0 +1,14 @@
+diff -ru gnuboy-1.0.3.orig/defs.h gnuboy-1.0.3/defs.h
+--- gnuboy-1.0.3.orig/defs.h 2001-01-23 07:04:22.000000000 -0500
++++ gnuboy-1.0.3/defs.h 2014-07-04 03:56:46.685149736 -0400
+@@ -4,6 +4,10 @@
+ #ifndef __DEFS_H__
+ #define __DEFS_H__
+
++#include <stdlib.h>
++#include <string.h>
++#include <unistd.h>
++#include <ctype.h>
+
+
+ #ifdef IS_LITTLE_ENDIAN
diff --git a/games-emulation/gnuboy/gnuboy-1.0.3-r1.ebuild b/games-emulation/gnuboy/gnuboy-1.0.3-r1.ebuild
new file mode 100644
index 000000000000..f6d447a4933a
--- /dev/null
+++ b/games-emulation/gnuboy/gnuboy-1.0.3-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/gnuboy/gnuboy-1.0.3-r1.ebuild,v 1.1 2014/07/04 08:11:39 mr_bones_ Exp $
+
+EAPI=5
+inherit autotools eutils games
+
+DESCRIPTION="Gameboy emulator with multiple renderers"
+HOMEPAGE="http://code.google.com/p/gnuboy/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="X sdl"
+
+RDEPEND="sdl? ( media-libs/libsdl )
+ !X? ( media-libs/libsdl )
+ X? ( x11-libs/libXext )"
+DEPEND="${RDEPEND}
+ X? ( x11-proto/xextproto
+ x11-proto/xproto )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-exec-stack.patch \
+ "${FILESDIR}"/${P}-linux-headers.patch \
+ "${FILESDIR}"/${P}-include.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ if ! use X ; then
+ myconf="--with-sdl"
+ fi
+
+ egamesconf \
+ $(use_with X x) \
+ $(use_with sdl) \
+ $(use_enable x86 asm) \
+ ${myconf} \
+ --disable-arch \
+ --disable-optimize
+}
+
+src_install() {
+ for f in sdlgnuboy xgnuboy
+ do
+ if [[ -f ${f} ]] ; then
+ dogamesbin ${f}
+ fi
+ done
+ dodoc README docs/{CHANGES,CONFIG,CREDITS,FAQ,HACKING,WHATSNEW}
+ prepgamesdirs
+}