summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-12-25 11:41:30 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-12-25 11:41:30 +0000
commit65649fd203ae25a07572657700a29e4256b7302d (patch)
treeb02017a1c9871b037c043cf2485acd457f6a4dcc /games-emulation/mednafen
parentRemoved maestro3 and ymfpci from ALSA_CARDS. Bug #159063 by Ed Catmur <ed at ... (diff)
downloadgentoo-2-65649fd203ae25a07572657700a29e4256b7302d.tar.gz
gentoo-2-65649fd203ae25a07572657700a29e4256b7302d.tar.bz2
gentoo-2-65649fd203ae25a07572657700a29e4256b7302d.zip
Version bump by Kai, bug #158901
(Portage version: 2.1.2_rc4)
Diffstat (limited to 'games-emulation/mednafen')
-rw-r--r--games-emulation/mednafen/ChangeLog7
-rw-r--r--games-emulation/mednafen/files/digest-mednafen-0.7.13
-rw-r--r--games-emulation/mednafen/mednafen-0.7.1.ebuild56
3 files changed, 65 insertions, 1 deletions
diff --git a/games-emulation/mednafen/ChangeLog b/games-emulation/mednafen/ChangeLog
index 30b340bd5cb4..59b20183d6ad 100644
--- a/games-emulation/mednafen/ChangeLog
+++ b/games-emulation/mednafen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-emulation/mednafen
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.5 2006/09/29 15:31:12 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.6 2006/12/25 11:41:30 nyhm Exp $
+
+*mednafen-0.7.1 (25 Dec 2006)
+
+ 25 Dec 2006; Tristan Heaven <nyhm@gentoo.org> +mednafen-0.7.1.ebuild:
+ Version bump by Kai, bug #158901
*mednafen-0.6.5 (29 Sep 2006)
diff --git a/games-emulation/mednafen/files/digest-mednafen-0.7.1 b/games-emulation/mednafen/files/digest-mednafen-0.7.1
new file mode 100644
index 000000000000..4000b9b708fb
--- /dev/null
+++ b/games-emulation/mednafen/files/digest-mednafen-0.7.1
@@ -0,0 +1,3 @@
+MD5 2555dea36f26d2175e2d68a6b588667e mednafen-0.7.1.tar.bz2 1955786
+RMD160 6f3861b5e9adaf50a7c7cb2cb84323fc2eb131b2 mednafen-0.7.1.tar.bz2 1955786
+SHA256 6012166b5a4d00348105e580cbf7f69dd4267fe636a391ef7bb0650de437d477 mednafen-0.7.1.tar.bz2 1955786
diff --git a/games-emulation/mednafen/mednafen-0.7.1.ebuild b/games-emulation/mednafen/mednafen-0.7.1.ebuild
new file mode 100644
index 000000000000..e0ef75176c90
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-0.7.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/mednafen-0.7.1.ebuild,v 1.1 2006/12/25 11:41:30 nyhm Exp $
+
+inherit games
+
+DESCRIPTION="An advanced NES, GB/GBC/GBA, TurboGrafx 16/CD, NGPC and Lynx emulator"
+HOMEPAGE="http://mednafen.com/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa cjk nls"
+
+RDEPEND="virtual/opengl
+ media-libs/libsndfile
+ dev-libs/libcdio
+ >=media-libs/libsdl-1.2.0
+ media-libs/sdl-net
+ alsa? ( media-libs/alsa-lib )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's:$(datadir)/locale:/usr/share/locale:' \
+ -e 's:$(localedir):/usr/share/locale:' \
+ $(find . -name 'Makefile.in*') \
+ || die "sed failed"
+}
+
+src_compile() {
+ # Doesn't like --disable-jack
+ # $(use_enable jack)
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_enable alsa) \
+ $(use_enable cjk cjk-fonts) \
+ $(use_enable nls) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc Documentation/cheats.txt AUTHORS ChangeLog TODO
+ dohtml Documentation/*
+ prepgamesdirs
+}