summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-07-02 07:49:20 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-07-02 07:49:20 +0000
commit6ba5631d850ba7766fa90376c284444bb4b0eada (patch)
treee7af6e34a8c7a2d8c050cb36f5043be4a1c96a54 /games-emulation/mednafen
parentIntroduce QT_MINIMAL and KDE_MINIMAL. (diff)
downloadgentoo-2-6ba5631d850ba7766fa90376c284444bb4b0eada.tar.gz
gentoo-2-6ba5631d850ba7766fa90376c284444bb4b0eada.tar.bz2
gentoo-2-6ba5631d850ba7766fa90376c284444bb4b0eada.zip
Version bump to 0.8.13 Bug #326141
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-emulation/mednafen')
-rw-r--r--games-emulation/mednafen/ChangeLog7
-rw-r--r--games-emulation/mednafen/mednafen-0.8.13.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/games-emulation/mednafen/ChangeLog b/games-emulation/mednafen/ChangeLog
index 8cc36645b92b..421148190046 100644
--- a/games-emulation/mednafen/ChangeLog
+++ b/games-emulation/mednafen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-emulation/mednafen
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.21 2010/05/24 09:40:42 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.22 2010/07/02 07:49:20 tupone Exp $
+
+*mednafen-0.8.13 (02 Jul 2010)
+
+ 02 Jul 2010; Tupone Alfredo <tupone@gentoo.org> +mednafen-0.8.13.ebuild:
+ Version bump to 0.8.13 Bug #326141 by Sergey Kondakov
24 May 2010; Tupone Alfredo <tupone@gentoo.org> mednafen-0.8.12.ebuild,
+files/mednafen-0.8.12-gcc45.patch:
diff --git a/games-emulation/mednafen/mednafen-0.8.13.ebuild b/games-emulation/mednafen/mednafen-0.8.13.ebuild
new file mode 100644
index 000000000000..17b005c4c1c5
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-0.8.13.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/mednafen-0.8.13.ebuild,v 1.1 2010/07/02 07:49:20 tupone Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DESCRIPTION="An advanced NES, GB/GBC/GBA, TurboGrafx 16/CD, NGPC and Lynx emulator"
+HOMEPAGE="http://mednafen.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/mednafen-${PV/13/D}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa altivec cjk debug jack nls"
+
+RDEPEND="virtual/opengl
+ media-libs/libsndfile
+ dev-libs/libcdio
+ media-libs/libsdl
+ media-libs/sdl-net
+ alsa? ( media-libs/alsa-lib )
+ jack? ( media-sound/jack-audio-connection-kit )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i \
+ -e 's:$(datadir)/locale:/usr/share/locale:' \
+ -e 's:$(localedir):/usr/share/locale:' \
+ $(find . -name 'Makefile.*') \
+ || die 'sed failed'
+ sed -i \
+ -e '/-fomit-frame-pointer/d' \
+ -e '/-ffast-math/d' \
+ configure.ac \
+ || die "sed failed"
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_enable alsa) \
+ $(use_enable altivec) \
+ $(use_enable cjk cjk-fonts) \
+ $(use_enable debug debugger) \
+ $(use_enable jack) \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc Documentation/cheats.txt AUTHORS ChangeLog TODO
+ dohtml Documentation/*
+ prepgamesdirs
+}