summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-08-14 16:28:10 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-08-14 16:28:10 +0000
commite1fe429f6cf1771af13c8d1d1384677b3172010b (patch)
treeb0bf5c6447df458837e736485dd770725dabd021 /games-emulation/advancemame
parentcorrected typo in url-mirror-syntax (diff)
downloadhistorical-e1fe429f6cf1771af13c8d1d1384677b3172010b.tar.gz
historical-e1fe429f6cf1771af13c8d1d1384677b3172010b.tar.bz2
historical-e1fe429f6cf1771af13c8d1d1384677b3172010b.zip
version bump
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'games-emulation/advancemame')
-rw-r--r--games-emulation/advancemame/ChangeLog8
-rw-r--r--games-emulation/advancemame/Manifest23
-rw-r--r--games-emulation/advancemame/advancemame-0.99.0.ebuild84
-rw-r--r--games-emulation/advancemame/files/0.99.0-pic.patch13
-rw-r--r--games-emulation/advancemame/files/digest-advancemame-0.99.01
5 files changed, 113 insertions, 16 deletions
diff --git a/games-emulation/advancemame/ChangeLog b/games-emulation/advancemame/ChangeLog
index d76aae070b84..6fb92db75f0b 100644
--- a/games-emulation/advancemame/ChangeLog
+++ b/games-emulation/advancemame/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/advancemame
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/ChangeLog,v 1.32 2005/08/10 20:47:23 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/ChangeLog,v 1.33 2005/08/14 16:28:10 mr_bones_ Exp $
+
+*advancemame-0.99.0 (14 Aug 2005)
+
+ 14 Aug 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/0.99.0-pic.patch, +advancemame-0.99.0.ebuild:
+ version bump
10 Aug 2005; Joseph Jezak <josejx@gentoo.org> advancemame-0.97.0.ebuild:
Marked -ppc due to a glibc issue, see bug #78030.
diff --git a/games-emulation/advancemame/Manifest b/games-emulation/advancemame/Manifest
index 6e740199e69e..fe51c4214071 100644
--- a/games-emulation/advancemame/Manifest
+++ b/games-emulation/advancemame/Manifest
@@ -1,18 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 d279e71c3ff9ab062fd129465eed8df6 ChangeLog 6023
-MD5 972b8c9f939a33a7074e0819fb55455c metadata.xml 962
MD5 9fb91056beb8b98def1946df1dd1c091 advancemame-0.97.0.ebuild 1992
-MD5 893791a430019a7eb1c0eaf15758a93f files/0.96.0-pic.patch 344
-MD5 893791a430019a7eb1c0eaf15758a93f files/0.94.0-pic.patch 344
-MD5 893791a430019a7eb1c0eaf15758a93f files/0.97.0-pic.patch 344
+MD5 1cd2f47f08128d77ce8d0f1ef3e05192 advancemame-0.99.0.ebuild 1995
+MD5 972b8c9f939a33a7074e0819fb55455c metadata.xml 962
+MD5 d23b3ae6f6de0967faccf192fffd61ce ChangeLog 6187
MD5 893791a430019a7eb1c0eaf15758a93f files/0.95.0-pic.patch 344
+MD5 893791a430019a7eb1c0eaf15758a93f files/0.99.0-pic.patch 344
+MD5 5fa98b60bc208acbcc4d635dbc1b106f files/digest-advancemame-0.99.0 72
+MD5 893791a430019a7eb1c0eaf15758a93f files/0.97.0-pic.patch 344
MD5 8c88c68e2c593b19752d0462dd5b8d35 files/digest-advancemame-0.97.0 72
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFC+mf/csIHjyDViGQRApFgAKDGkEv6E6pTb7cRCFTHNzCHq+3irQCdELgB
-wop8lRB0lxhIBMPGv2bcMIA=
-=VpMQ
------END PGP SIGNATURE-----
+MD5 893791a430019a7eb1c0eaf15758a93f files/0.94.0-pic.patch 344
+MD5 893791a430019a7eb1c0eaf15758a93f files/0.96.0-pic.patch 344
diff --git a/games-emulation/advancemame/advancemame-0.99.0.ebuild b/games-emulation/advancemame/advancemame-0.99.0.ebuild
new file mode 100644
index 000000000000..a1d1d75898dd
--- /dev/null
+++ b/games-emulation/advancemame/advancemame-0.99.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/advancemame-0.99.0.ebuild,v 1.1 2005/08/14 16:28:10 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="GNU/Linux port of the MAME emulator with GUI menu"
+HOMEPAGE="http://advancemame.sourceforge.net/"
+SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz"
+
+LICENSE="GPL-2 XMAME"
+SLOT="0"
+KEYWORDS="~amd64 -ppc x86"
+IUSE="alsa expat fbcon oss sdl slang static svga truetype zlib"
+
+RDEPEND="virtual/libc
+ app-arch/unzip
+ app-arch/zip
+ sdl? ( media-libs/libsdl )
+ slang? ( sys-libs/slang )
+ alsa? ( media-libs/alsa-lib )
+ expat? ( >=dev-libs/expat-1.95.6 )
+ zlib? ( sys-libs/zlib )
+ truetype? ( media-libs/freetype )
+ svga? ( >=media-libs/svgalib-1.9 )"
+DEPEND="${RDEPEND}
+ x86? ( >=dev-lang/nasm-0.98 )
+ virtual/os-headers"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}-pic.patch" #74899
+
+ use x86 && \
+ ln -s $(which nasm) "${T}/${CHOST}-nasm"
+ use sdl && \
+ ln -s $(which sdl-config) "${T}/${CHOST}-sdl-config"
+ use truetype && \
+ ln -s $(which freetype-config) "${T}/${CHOST}-freetype-config"
+}
+
+src_compile() {
+ PATH="${PATH}:${T}"
+ egamesconf \
+ $(use_enable alsa) \
+ $(use_enable expat) \
+ $(use_enable fbcon fb) \
+ $(use_enable oss) \
+ $(use_enable sdl) \
+ $(use_enable slang) \
+ $(use_enable static) \
+ $(use_enable svga svgalib) \
+ $(use_enable truetype freetype) \
+ $(use_enable zlib) \
+ $(use_enable x86 asm) \
+ --with-emu=${PN/advance} \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ local f
+
+ for f in adv* ; do
+ if [ -L "${f}" ] ; then
+ dogamesbin "${f}" || die "dogamesbin failed"
+ fi
+ done
+
+ insinto "${GAMES_DATADIR}/advance"
+ doins support/event.dat
+ keepdir "${GAMES_DATADIR}/advance/"{artwork,diff,image,rom,sample,snap}
+
+ dodoc HISTORY README RELEASE
+ cd doc
+ dodoc *.txt
+ dohtml *.html
+ for f in *.1 ; do
+ newman ${f} ${f/1/6}
+ done
+
+ prepgamesdirs
+}
diff --git a/games-emulation/advancemame/files/0.99.0-pic.patch b/games-emulation/advancemame/files/0.99.0-pic.patch
new file mode 100644
index 000000000000..049befbfac2c
--- /dev/null
+++ b/games-emulation/advancemame/files/0.99.0-pic.patch
@@ -0,0 +1,13 @@
+--- ./advance/blit/blit.c.orig 2004-12-19 01:01:46.039956536 -0500
++++ ./advance/blit/blit.c 2004-12-19 01:01:19.566981040 -0500
+@@ -28,6 +28,10 @@
+ * do so, delete this exception statement from your version.
+ */
+
++#if defined(USE_ASM_INLINE) && defined(__PIC__)
++# undef USE_ASM_INLINE
++#endif
++
+ #include "portable.h"
+
+ #include "blit.h"
diff --git a/games-emulation/advancemame/files/digest-advancemame-0.99.0 b/games-emulation/advancemame/files/digest-advancemame-0.99.0
new file mode 100644
index 000000000000..71bfe0b3b88c
--- /dev/null
+++ b/games-emulation/advancemame/files/digest-advancemame-0.99.0
@@ -0,0 +1 @@
+MD5 709632a3a1e8fb8bf5b2eff5ed659935 advancemame-0.99.0.tar.gz 15324720