version bump (bug #78473)
authorMichael Sterrett <mr_bones_@gentoo.org>
Thu, 20 Jan 2005 04:43:58 +0000 (04:43 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Thu, 20 Jan 2005 04:43:58 +0000 (04:43 +0000)
games-emulation/advancemame/ChangeLog
games-emulation/advancemame/Manifest
games-emulation/advancemame/advancemame-0.88.0.ebuild
games-emulation/advancemame/advancemame-0.89.0.ebuild
games-emulation/advancemame/advancemame-0.90.0.ebuild [new file with mode: 0644]
games-emulation/advancemame/files/0.90.0-pic.patch [new file with mode: 0644]
games-emulation/advancemame/files/digest-advancemame-0.90.0 [new file with mode: 0644]

index 125e3fe44e27ce41afd3f0ca21f31dfc4c345410..4ea7a1aaa802b77981a6adda6163851a6be44424 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for games-emulation/advancemame
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/ChangeLog,v 1.22 2004/12/19 06:47:50 mr_bones_ Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/ChangeLog,v 1.23 2005/01/20 04:43:58 mr_bones_ Exp $
+
+*advancemame-0.90.0 (19 Jan 2005)
+
+  19 Jan 2005; Michael Sterrett <mr_bones_@gentoo.org>
+  +advancemame-0.90.0.ebuild:
+  version bump (bug #78473)
 
   18 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org>
   -advancemame-0.85.0.ebuild, -advancemame-0.86.0.ebuild,
index b94ce43ee2f8a4f81deefa7ff24c51733b444f18..734fe8ca1b0615e86905fcf7965fceddea994619 100644 (file)
@@ -1,7 +1,10 @@
-MD5 dab863f429a2629bfcafe094d9ae92a2 ChangeLog 4268
+MD5 b072cefd71538801f10b69973bedcafe ChangeLog 4417
+MD5 4c65bbed0b64e385f3884a0a4a2f4db8 advancemame-0.90.0.ebuild 1994
 MD5 972b8c9f939a33a7074e0819fb55455c metadata.xml 962
-MD5 8cca3de56e63ac1d78313014e53534e4 advancemame-0.88.0.ebuild 1988
-MD5 ad3275724819a8be11f3101c234b053f advancemame-0.89.0.ebuild 1987
+MD5 c47fa3e5e67db3de30c96197dbeb1f3f advancemame-0.88.0.ebuild 1991
+MD5 62b15950728d12db8ccf2daa73b490a6 advancemame-0.89.0.ebuild 1990
+MD5 2612e9d2dbca377b7052486899a0b004 files/digest-advancemame-0.90.0 72
+MD5 893791a430019a7eb1c0eaf15758a93f files/0.90.0-pic.patch 344
 MD5 f43f9c3039884207b6e5fc1d91bb46cb files/digest-advancemame-0.88.0 72
 MD5 893791a430019a7eb1c0eaf15758a93f files/0.89.0-pic.patch 344
 MD5 8aaeef301de9a34d24cfb74973b8ef9b files/digest-advancemame-0.89.0 72
index 191ef830bc23af8dd6895065b384677b5d737d8c..d01e5677468f58ca87a30dd63614fe5231e89c50 100644 (file)
@@ -1,6 +1,6 @@
-# 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/advancemame/advancemame-0.88.0.ebuild,v 1.2 2004/12/19 06:32:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/advancemame-0.88.0.ebuild,v 1.3 2005/01/20 04:43:58 mr_bones_ Exp $
 
 inherit games flag-o-matic
 
index a8ab93f8c4d0dd4b9aaf07a1b3dcb337263b1929..24b365a3206dc28122f9f5ae23205b5a951e2a26 100644 (file)
@@ -1,6 +1,6 @@
-# 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/advancemame/advancemame-0.89.0.ebuild,v 1.1 2004/12/19 06:32:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/advancemame-0.89.0.ebuild,v 1.2 2005/01/20 04:43:58 mr_bones_ Exp $
 
 inherit games eutils
 
diff --git a/games-emulation/advancemame/advancemame-0.90.0.ebuild b/games-emulation/advancemame/advancemame-0.90.0.ebuild
new file mode 100644 (file)
index 0000000..ca9cc55
--- /dev/null
@@ -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.90.0.ebuild,v 1.1 2005/01/20 04:43:58 mr_bones_ Exp $
+
+inherit games eutils
+
+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.90.0-pic.patch b/games-emulation/advancemame/files/0.90.0-pic.patch
new file mode 100644 (file)
index 0000000..049befb
--- /dev/null
@@ -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.90.0 b/games-emulation/advancemame/files/digest-advancemame-0.90.0
new file mode 100644 (file)
index 0000000..1020d90
--- /dev/null
@@ -0,0 +1 @@
+MD5 d22fe748ff265e6fe95782751dc131b8 advancemame-0.90.0.tar.gz 14124166