summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-09-29 15:31:12 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-09-29 15:31:12 +0000
commit2194b65f45c31cc2a884d838d959f69b1405fc27 (patch)
treef145288e3dbf496720095f4dd2ffc36923e91f00 /games-emulation/mednafen
parentFix RDEPEND (diff)
downloadgentoo-2-2194b65f45c31cc2a884d838d959f69b1405fc27.tar.gz
gentoo-2-2194b65f45c31cc2a884d838d959f69b1405fc27.tar.bz2
gentoo-2-2194b65f45c31cc2a884d838d959f69b1405fc27.zip
Version bump, bug #146371
(Portage version: 2.1.2_pre1-r4)
Diffstat (limited to 'games-emulation/mednafen')
-rw-r--r--games-emulation/mednafen/ChangeLog7
-rw-r--r--games-emulation/mednafen/files/digest-mednafen-0.6.53
-rw-r--r--games-emulation/mednafen/mednafen-0.6.5.ebuild48
3 files changed, 57 insertions, 1 deletions
diff --git a/games-emulation/mednafen/ChangeLog b/games-emulation/mednafen/ChangeLog
index 077d3e58e095..30b340bd5cb4 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.4 2006/05/24 21:35:31 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mednafen/ChangeLog,v 1.5 2006/09/29 15:31:12 nyhm Exp $
+
+*mednafen-0.6.5 (29 Sep 2006)
+
+ 29 Sep 2006; Tristan Heaven <nyhm@gentoo.org> +mednafen-0.6.5.ebuild:
+ Version bump, bug #146371
24 May 2006; Joseph Jezak <josejx@gentoo.org> mednafen-0.6.1.ebuild:
Marked ~ppc for bug #133867.
diff --git a/games-emulation/mednafen/files/digest-mednafen-0.6.5 b/games-emulation/mednafen/files/digest-mednafen-0.6.5
new file mode 100644
index 000000000000..60f1f77c0a83
--- /dev/null
+++ b/games-emulation/mednafen/files/digest-mednafen-0.6.5
@@ -0,0 +1,3 @@
+MD5 dc1afcdc1466216f647d14afbd22caa1 mednafen-0.6.5.tar.bz2 1525123
+RMD160 98ba9334a7b1bc5be47afbda0dca3253d1e61d7b mednafen-0.6.5.tar.bz2 1525123
+SHA256 eea723e4d0317045b59e8cf37a8ee8d516128c9f5b4cb34e4452823b7fded731 mednafen-0.6.5.tar.bz2 1525123
diff --git a/games-emulation/mednafen/mednafen-0.6.5.ebuild b/games-emulation/mednafen/mednafen-0.6.5.ebuild
new file mode 100644
index 000000000000..f0b889f37e35
--- /dev/null
+++ b/games-emulation/mednafen/mednafen-0.6.5.ebuild
@@ -0,0 +1,48 @@
+# 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.6.5.ebuild,v 1.1 2006/09/29 15:31:12 nyhm Exp $
+
+inherit games
+
+DESCRIPTION="An advanced NES, GB/GBC/GBA, TurboGrafx 16/CD, and Lynx emulator"
+HOMEPAGE="http://mednafen.com/"
+SRC_URI="http://mednafen.com/releases/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls"
+
+RDEPEND="virtual/opengl
+ media-libs/libsndfile
+ dev-libs/libcdio
+ >=media-libs/libsdl-1.2.0
+ media-libs/sdl-net
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's:\$(datadir)/locale:/usr/share/locale:' \
+ $(find . -name 'Makefile.in*') \
+ || die "sed failed"
+}
+
+src_compile() {
+ egamesconf \
+ $(use_enable nls) \
+ --disable-dependency-tracking || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog TODO NEWS
+ dohtml Documentation/*
+ prepgamesdirs
+}