summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-08-13 16:52:11 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-08-13 16:52:11 +0000
commit148a759cfa722a220ecc1b5cf683a547ad3d9157 (patch)
tree47ab3898634626a7b15eab7217ba8817f455f450 /games-emulation
parentold (diff)
downloadhistorical-148a759cfa722a220ecc1b5cf683a547ad3d9157.tar.gz
historical-148a759cfa722a220ecc1b5cf683a547ad3d9157.tar.bz2
historical-148a759cfa722a220ecc1b5cf683a547ad3d9157.zip
disable SEXYAL sound system which is reported to be problematic (bug #155153) with patch from Brad House.
Package-Manager: portage-2.1.2.11
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/fceultra/ChangeLog9
-rw-r--r--games-emulation/fceultra/Manifest30
-rw-r--r--games-emulation/fceultra/fceultra-0.98.12.ebuild14
-rw-r--r--games-emulation/fceultra/files/fceultra-0.98.12-nosex.patch51
4 files changed, 80 insertions, 24 deletions
diff --git a/games-emulation/fceultra/ChangeLog b/games-emulation/fceultra/ChangeLog
index f91d02cc2bf3..a470cbb4e5a2 100644
--- a/games-emulation/fceultra/ChangeLog
+++ b/games-emulation/fceultra/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-emulation/fceultra
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/ChangeLog,v 1.19 2006/09/26 20:56:48 nyhm Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/ChangeLog,v 1.20 2007/08/13 16:52:11 mr_bones_ Exp $
+
+ 13 Aug 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/fceultra-0.98.12-nosex.patch, fceultra-0.98.12.ebuild:
+ disable SEXYAL sound system which is reported to be problematic (bug
+ #155153) with patch from Brad House.
26 Sep 2006; Tristan Heaven <nyhm@gentoo.org>
+files/fceultra-0.98.12-mkdir.patch, fceultra-0.98.12.ebuild:
diff --git a/games-emulation/fceultra/Manifest b/games-emulation/fceultra/Manifest
index c7a7c115a528..5f587002d51a 100644
--- a/games-emulation/fceultra/Manifest
+++ b/games-emulation/fceultra/Manifest
@@ -1,19 +1,20 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX fceultra-0.98.12-mkdir.patch 238 RMD160 7198e4cd508ed524afb2ca09f06e8ef1d72eed7b SHA1 3335857012dc8c511cbf296526683e9ab175f59a SHA256 ce13b9855b14edfbfe0a75313ad23f490133c17b2fa3e35d6a6fef16785cdfe9
MD5 c3bd3f112c00a4e2da64ef196308c35e files/fceultra-0.98.12-mkdir.patch 238
RMD160 7198e4cd508ed524afb2ca09f06e8ef1d72eed7b files/fceultra-0.98.12-mkdir.patch 238
SHA256 ce13b9855b14edfbfe0a75313ad23f490133c17b2fa3e35d6a6fef16785cdfe9 files/fceultra-0.98.12-mkdir.patch 238
+AUX fceultra-0.98.12-nosex.patch 1541 RMD160 ff824be0df1cf0e00d7921d95669fc973eef9d73 SHA1 24c49102cfa9f95885aac789bf18bc8c5fe82d7b SHA256 fc1cb1e63ef54ba7075c1c506bbdeb46842f75e9ffcf3ec73af80643f09e3411
+MD5 8e0146a1f6aea0ad4dc95652d50dca6f files/fceultra-0.98.12-nosex.patch 1541
+RMD160 ff824be0df1cf0e00d7921d95669fc973eef9d73 files/fceultra-0.98.12-nosex.patch 1541
+SHA256 fc1cb1e63ef54ba7075c1c506bbdeb46842f75e9ffcf3ec73af80643f09e3411 files/fceultra-0.98.12-nosex.patch 1541
DIST fceu-0.98.12.src.tar.bz2 559571 RMD160 e405a459196d2e5e9d630c8699157ec4df0f0210 SHA1 713faaad9f7d4b5e8dd1cb8a172e2f1ced85c1ec SHA256 0caf5b81c1340dd4b3f4b703b289a9ebae9ffe1bb3583acf661ae1e64d276617
-EBUILD fceultra-0.98.12.ebuild 1243 RMD160 3764f877626dc670575f8fe3d7557ab5bfae5580 SHA1 de1e0a34936789a1a7f0aabe29686e0d023a2d16 SHA256 b0fa3edfca29402664675db349b86bc3710e852387918092f0a4d7c919516b0e
-MD5 207ee9edf4166f71efec10bccd91ec63 fceultra-0.98.12.ebuild 1243
-RMD160 3764f877626dc670575f8fe3d7557ab5bfae5580 fceultra-0.98.12.ebuild 1243
-SHA256 b0fa3edfca29402664675db349b86bc3710e852387918092f0a4d7c919516b0e fceultra-0.98.12.ebuild 1243
-MISC ChangeLog 4460 RMD160 4f30ac71dfe16f0f2c8f8f88d475b72507e9bf0b SHA1 f4202086016dd7d703a48204ec393399f882d9f3 SHA256 d39d2ab26bb9e59ac6bae1986eb2871dff852135098842438aabeff713367920
-MD5 0f1389a2eac76150d3945916fd464361 ChangeLog 4460
-RMD160 4f30ac71dfe16f0f2c8f8f88d475b72507e9bf0b ChangeLog 4460
-SHA256 d39d2ab26bb9e59ac6bae1986eb2871dff852135098842438aabeff713367920 ChangeLog 4460
+EBUILD fceultra-0.98.12.ebuild 1386 RMD160 f11b7e1595f0df46c6ddf09e72b8288ff99833ec SHA1 ce247e7d36f492cb63812be99d36d9cbd0b4d111 SHA256 73cc202388f1288086b26d1c7c6d77e72b7210d21a18631cd42114240023cfdc
+MD5 204ee9591e2256a9618ec36139da38e5 fceultra-0.98.12.ebuild 1386
+RMD160 f11b7e1595f0df46c6ddf09e72b8288ff99833ec fceultra-0.98.12.ebuild 1386
+SHA256 73cc202388f1288086b26d1c7c6d77e72b7210d21a18631cd42114240023cfdc fceultra-0.98.12.ebuild 1386
+MISC ChangeLog 4695 RMD160 f071ae620c416f2ec4c56759d79b14a8b7b02778 SHA1 2bb0a97b61abdf9daae13be00c6e36d47e1b72dc SHA256 d49e3b2a61cea3af60ca9de0f7d7fe55a68ddbfc9a9636a34baf231c92a7fa60
+MD5 4455909324eec9b064ee2b90d4ee0949 ChangeLog 4695
+RMD160 f071ae620c416f2ec4c56759d79b14a8b7b02778 ChangeLog 4695
+SHA256 d49e3b2a61cea3af60ca9de0f7d7fe55a68ddbfc9a9636a34baf231c92a7fa60 ChangeLog 4695
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -21,10 +22,3 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
MD5 663fa2e284187c839a2e8bfb2fda944c files/digest-fceultra-0.98.12 253
RMD160 1e79bb1712154eb526bf64cc6bf28d562b60c996 files/digest-fceultra-0.98.12 253
SHA256 cc436fd27c11089436a18481e6515db1e275d7ddbb5256f907a2e561052a7346 files/digest-fceultra-0.98.12 253
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-iD8DBQFFZhfNdz7hIScOURERAsl0AKC0v3bonMJgUDnWGBKEmUxDSsURMACdG7I0
-+TvqjojEjD8cz4YnCl4JsiA=
-=iDV4
------END PGP SIGNATURE-----
diff --git a/games-emulation/fceultra/fceultra-0.98.12.ebuild b/games-emulation/fceultra/fceultra-0.98.12.ebuild
index 13c54a85e623..e8b3a8586053 100644
--- a/games-emulation/fceultra/fceultra-0.98.12.ebuild
+++ b/games-emulation/fceultra/fceultra-0.98.12.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/fceultra-0.98.12.ebuild,v 1.6 2006/09/26 20:56:48 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/fceultra-0.98.12.ebuild,v 1.7 2007/08/13 16:52:11 mr_bones_ Exp $
-inherit eutils games
+inherit autotools eutils games
DESCRIPTION="A portable NES/Famicom emulator"
HOMEPAGE="http://www.emulator-zone.com/doc.php/nes/fceultra.html"
@@ -26,7 +26,13 @@ S=${WORKDIR}/fceu
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P}-mkdir.patch
+ chmod a-x Documentation/tech/exp/*
+
+ # bug #155153 - disable SEXYAL system
+ epatch \
+ "${FILESDIR}"/${P}-mkdir.patch \
+ "${FILESDIR}"/${P}-nosex.patch
+ eautoreconf
}
src_compile() {
diff --git a/games-emulation/fceultra/files/fceultra-0.98.12-nosex.patch b/games-emulation/fceultra/files/fceultra-0.98.12-nosex.patch
new file mode 100644
index 000000000000..d7309bd5778b
--- /dev/null
+++ b/games-emulation/fceultra/files/fceultra-0.98.12-nosex.patch
@@ -0,0 +1,51 @@
+# By default SEXYAL is used. This doesn't seem to work
+# on some systems. We need to use SDL's native sound
+# support and there is no ./configure argument to do
+# that.
+
+diff -ru fceu.old/configure.ac fceu/configure.ac
+--- fceu.old/configure.ac 2004-08-17 18:29:13.000000000 -0400
++++ fceu/configure.ac 2006-11-14 14:46:59.000000000 -0500
+@@ -48,10 +48,10 @@
+ if test x$use_nativewin32 = xyes; then
+ LIBS="$LIBS -mwindows -lddraw -ldinput -ldsound -lgdi32 -ldxguid -lwinmm -lshell32 -lwsock32 -lcomdlg32 -lole32"
+ AM_CONDITIONAL(NATIVEWIN32,true)
+-else
+- AM_CONDITIONAL(USE_SEXYAL, true)
+- AC_DEFINE([USE_SEXYAL])
+- LIBS="$LIBS -ldsound -lwinmm"
++dnl else
++dnl AM_CONDITIONAL(USE_SEXYAL, true)
++dnl AC_DEFINE([USE_SEXYAL])
++dnl LIBS="$LIBS -ldsound -lwinmm"
+ fi
+
+
+@@ -61,9 +61,9 @@
+ AC_DEFINE([PSS_STYLE],[1])
+ AC_DEFINE([NETWORK],[1])
+
+-AC_CHECK_HEADER([sys/soundcard.h],
+- AM_CONDITIONAL(USE_SEXYAL, true)
+- AC_DEFINE([USE_SEXYAL]),[])
++dnl AC_CHECK_HEADER([sys/soundcard.h],
++dnl AM_CONDITIONAL(USE_SEXYAL, true)
++dnl AC_DEFINE([USE_SEXYAL]),[])
+ fi
+
+ dnl if expr x"$target" : 'x.*darwin' > /dev/null; then
+diff -ru fceu.old/src/drivers/pc/dface.h fceu/src/drivers/pc/dface.h
+--- fceu.old/src/drivers/pc/dface.h 2004-08-17 18:10:49.000000000 -0400
++++ fceu/src/drivers/pc/dface.h 2006-11-14 14:49:36.000000000 -0500
+@@ -17,7 +17,7 @@
+
+ int InitSound(FCEUGI *gi);
+ void WriteSound(int32 *Buffer, int Count);
+-int KillSound(void);
++void KillSound(void);
+ uint32 GetMaxSound(void);
+ uint32 GetWriteSound(void);
+
+
+
+