diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-09-08 15:39:43 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-09-08 15:39:43 +0000 |
commit | 475fd1f8a4c395c6bd159ba3dbda7c24f91cd9e2 (patch) | |
tree | 2f573d396eb13fa1f008293a1e937cf567e44e80 /games-emulation/advancemame | |
parent | Stable for HPPA (bug #283975). (diff) | |
download | historical-475fd1f8a4c395c6bd159ba3dbda7c24f91cd9e2.tar.gz historical-475fd1f8a4c395c6bd159ba3dbda7c24f91cd9e2.tar.bz2 historical-475fd1f8a4c395c6bd159ba3dbda7c24f91cd9e2.zip |
version bump
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-emulation/advancemame')
-rw-r--r-- | games-emulation/advancemame/ChangeLog | 10 | ||||
-rw-r--r-- | games-emulation/advancemame/Manifest | 15 | ||||
-rw-r--r-- | games-emulation/advancemame/advancemame-0.106.1.ebuild | 91 | ||||
-rw-r--r-- | games-emulation/advancemame/files/advancemame-0.106.1-pic.patch | 13 |
4 files changed, 116 insertions, 13 deletions
diff --git a/games-emulation/advancemame/ChangeLog b/games-emulation/advancemame/ChangeLog index acf3610d66b5..4c257f987e4f 100644 --- a/games-emulation/advancemame/ChangeLog +++ b/games-emulation/advancemame/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-emulation/advancemame -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/ChangeLog,v 1.46 2008/12/05 16:19:25 nyhm Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/ChangeLog,v 1.47 2009/09/08 15:39:42 mr_bones_ Exp $ + +*advancemame-0.106.1 (08 Sep 2009) + + 08 Sep 2009; Michael Sterrett <mr_bones_@gentoo.org> + +advancemame-0.106.1.ebuild, +files/advancemame-0.106.1-pic.patch: + version bump 05 Dec 2008; Tristan Heaven <nyhm@gentoo.org> advancemame-0.106.0.ebuild: Remove expat and zlib USE flags, bug #249459 diff --git a/games-emulation/advancemame/Manifest b/games-emulation/advancemame/Manifest index 149ffd79a1ba..370ad61d3ebd 100644 --- a/games-emulation/advancemame/Manifest +++ b/games-emulation/advancemame/Manifest @@ -1,15 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX advancemame-0.106.0-pic.patch 344 RMD160 5b28a46806f4245a9bd12f0d4e1a05de45df0053 SHA1 267d6abdaddb7caae51924456a68c98c21e260ed SHA256 d76016c2d6ef7c283d4fc6c4061e2cd4a6b1b094a4f30a9fa704f6c435c52a92 +AUX advancemame-0.106.1-pic.patch 344 RMD160 5b28a46806f4245a9bd12f0d4e1a05de45df0053 SHA1 267d6abdaddb7caae51924456a68c98c21e260ed SHA256 d76016c2d6ef7c283d4fc6c4061e2cd4a6b1b094a4f30a9fa704f6c435c52a92 DIST advancemame-0.106.0.tar.gz 16284344 RMD160 f18a3a328dc2634ade1ca64731d4108d06364f94 SHA1 1b128eeeac1844c94265d10d59c20a8343866a7f SHA256 2752b16ccbff2eb04b36ab4152901b9e483ef84f780b80596fb5fd1495bf6425 +DIST advancemame-0.106.1.tar.gz 17302325 RMD160 0ea5a51b0eeefccbd077873731f7995a7becdac7 SHA1 b75589e970fa4e507eb443673fd04a7b57d6d468 SHA256 03499e2f205e0c53a8c8af2520024304eea6c67e67f05dee9f53061b7bf04cb7 EBUILD advancemame-0.106.0.ebuild 2046 RMD160 415da6bcfb9b60b3082068d87e5ada2e4479c503 SHA1 053e71ec20a0d454c345a8d7b29575d7f39bd645 SHA256 68246b1a8d20cc8e9e70a14bf3fbb509e5baaae4470c796e89b1fbf4b7108f0f -MISC ChangeLog 8001 RMD160 ba6fe59c4412ba7e707195c5a60b926a755a9059 SHA1 e24da0a9497a86c716de942577eaebacb928e436 SHA256 f730176fe9aad00e6d661a3339c44ef205d04e7510cca58afc16547c21192fd0 +EBUILD advancemame-0.106.1.ebuild 2045 RMD160 35df4750e8d1c129a38f10c8fcdd75c800f7292c SHA1 c1f045c05693b28b77dca19f7390ab02a76355c3 SHA256 314dcebff4152a685b159b24de14799a59813208ff47bb99b836498bfa0b49c6 +MISC ChangeLog 8182 RMD160 ce49a71eb29984452e27570bc006a51a3fb57fda SHA1 d35725348c31496a1d02bc10fa9aaaddc0ae82f6 SHA256 f6b433aa76fc9d83faec799b70d0ca4c83cd332d076efd84cc209bca5211d612 MISC metadata.xml 962 RMD160 baca6f0ce559ccf9a65147b727203d0dba3da9c2 SHA1 30f18232ccedcacbd0a7beb2d99bf46d587981f5 SHA256 03965a3814bd48feaab2b624b383b4ecb51f7690e1032fbf8c65b04f786da09c ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkk5VJQACgkQdz7hIScOURF0fgCgogJjZBPJFjBXHiIWKVvI4frU -990An3kNfZWf3dm/IgrCs/6OxQpom/pM -=CO7F ------END PGP SIGNATURE----- diff --git a/games-emulation/advancemame/advancemame-0.106.1.ebuild b/games-emulation/advancemame/advancemame-0.106.1.ebuild new file mode 100644 index 000000000000..891d3809d682 --- /dev/null +++ b/games-emulation/advancemame/advancemame-0.106.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/advancemame-0.106.1.ebuild,v 1.1 2009/09/08 15:39:42 mr_bones_ Exp $ + +EAPI=2 +inherit eutils flag-o-matic 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 fbcon oss sdl static svga truetype" + +# sdl is required (bug #158417) +RDEPEND="app-arch/unzip + app-arch/zip + media-libs/libsdl + dev-libs/expat + alsa? ( media-libs/alsa-lib ) + truetype? ( media-libs/freetype ) + svga? ( >=media-libs/svgalib-1.9 )" +DEPEND="${RDEPEND} + x86? ( >=dev-lang/nasm-0.98 ) + virtual/os-headers" + +src_prepare() { + epatch "${FILESDIR}/${P}-pic.patch" + sed -i \ + -e 's/"-s"//' \ + configure \ + || die "sed failed" + + use x86 && \ + ln -s $(type -P nasm) "${T}/${CHOST}-nasm" + ln -s $(type -P sdl-config) "${T}/${CHOST}-sdl-config" + use truetype && \ + ln -s $(type -P freetype-config) "${T}/${CHOST}-freetype-config" +} + +src_configure() { + # Fix for bug #78030 + if use ppc; then + append-ldflags "-Wl,--relax" + fi + + PATH="${PATH}:${T}" + egamesconf \ + --enable-expat \ + --enable-sdl \ + --enable-zlib \ + --disable-slang \ + $(use_enable alsa) \ + $(use_enable fbcon fb) \ + $(use_enable oss) \ + $(use_enable static) \ + $(use_enable svga svgalib) \ + $(use_enable truetype freetype) \ + $(use_enable x86 asm) \ + --with-emu=${PN/advance} +} + +src_compile() { + STRIPPROG=true 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/advancemame-0.106.1-pic.patch b/games-emulation/advancemame/files/advancemame-0.106.1-pic.patch new file mode 100644 index 000000000000..049befbfac2c --- /dev/null +++ b/games-emulation/advancemame/files/advancemame-0.106.1-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" |