Skip to content
Browse files

desmume: initial commit

  • Loading branch information...
1 parent 09ce899 commit e1f3ea95689bbc75ad3058b285fa789e37e4797f @Barthalion committed Apr 23, 2011
Showing with 48 additions and 0 deletions.
  1. +2 −0 games-emulation/desmume/Manifest
  2. +46 −0 games-emulation/desmume/desmume-0.9.7.ebuild
View
2 games-emulation/desmume/Manifest
@@ -0,0 +1,2 @@
+DIST desmume-0.9.7.tar.gz 1142550 RMD160 8770addf1ae5aab9b15a70de7c4b0511b245220d SHA1 18e00f675d3e6217474a6bbf3c554aade9aceee5 SHA256 0a0f7ef3cc76ff0bbc6f3df47c3689653617074ea7ffc354e9fa1240c5336523
+EBUILD desmume-0.9.7.ebuild 1151 RMD160 00f016ec269f2b2307c8017ac5317ea96511419a SHA1 263909e2de666a5881061b0f346a103dd578783d SHA256 80582f8b73974e34f7b035868f2dd88682b4f505a172bd1e7a111c7b7fe26560
View
46 games-emulation/desmume/desmume-0.9.7.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/desmume/desmume-0.9.5.ebuild,v 1.3 2010/03/04 00:43:55 nyhm Exp $
+
+EAPI="2"
+
+inherit eutils games
+
+DESCRIPTION="Nintendo DS emulator"
+HOMEPAGE="http://desmume.org/"
+SRC_URI="mirror://sourceforge/desmume/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="agg glade gtk"
+
+DEPEND="virtual/opengl
+ sys-libs/zlib
+ dev-libs/zziplib
+ media-libs/libsdl[joystick]
+ agg? ( x11-libs/agg )
+ gtk? ( >=x11-libs/gtk+-2.8.0
+ x11-libs/gtkglext )
+ glade? ( gnome-base/libglade
+ dev-util/intltool
+ sys-devel/gettext
+ x11-libs/gtkglext )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ egamesconf --datadir=/usr/share || die "egamesconf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake failed"
+ if ! use gtk; then
+ [ -f "${D}/${GAMES_BINDIR}/desmume" ] && rm "${D}/${GAMES_BINDIR}/desmume"
+ fi
+ if ! use glade; then
+ [ -f "${D}/${GAMES_BINDIR}/desmume-glade" ] && rm "${D}/${GAMES_BINDIR}/desmume-glade"
+ fi
+ dodoc AUTHORS ChangeLog README README.LIN
+ prepgamesdirs
+}

0 comments on commit e1f3ea9

Please sign in to comment.
Something went wrong with that request. Please try again.