summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-08-25 20:53:17 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-08-25 20:53:17 +0000
commit3e89a8da204e6c9779397a9c9426ca63dfd97004 (patch)
treee5f64e6b0c808cf6c693d725e2fa4430052e1611 /games-emulation/advancemame
parentFixed qt5 support (bug #513478) (diff)
downloadgentoo-2-3e89a8da204e6c9779397a9c9426ca63dfd97004.tar.gz
gentoo-2-3e89a8da204e6c9779397a9c9426ca63dfd97004.tar.bz2
gentoo-2-3e89a8da204e6c9779397a9c9426ca63dfd97004.zip
old
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-emulation/advancemame')
-rw-r--r--games-emulation/advancemame/ChangeLog6
-rw-r--r--games-emulation/advancemame/advancemame-0.106.1.ebuild91
-rw-r--r--games-emulation/advancemame/files/advancemame-0.106.1-pic.patch13
3 files changed, 5 insertions, 105 deletions
diff --git a/games-emulation/advancemame/ChangeLog b/games-emulation/advancemame/ChangeLog
index f3b39c0e5aba..c642ecd35041 100644
--- a/games-emulation/advancemame/ChangeLog
+++ b/games-emulation/advancemame/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-emulation/advancemame
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/ChangeLog,v 1.54 2014/08/13 09:14:45 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemame/ChangeLog,v 1.55 2014/08/25 20:53:17 mr_bones_ Exp $
+
+ 25 Aug 2014; Michael Sterrett <mr_bones_@gentoo.org>
+ -advancemame-0.106.1.ebuild, -files/advancemame-0.106.1-pic.patch:
+ old
13 Aug 2014; Agostino Sarubbo <ago@gentoo.org> advancemame-1.2.ebuild:
Stable for ppc, wrt bug #516072
diff --git a/games-emulation/advancemame/advancemame-0.106.1.ebuild b/games-emulation/advancemame/advancemame-0.106.1.ebuild
deleted file mode 100644
index f3e17d3b996d..000000000000
--- a/games-emulation/advancemame/advancemame-0.106.1.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# 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.2 2009/11/21 17:59:37 maekke 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
deleted file mode 100644
index 049befbfac2c..000000000000
--- a/games-emulation/advancemame/files/advancemame-0.106.1-pic.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- ./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"