summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-13 13:45:37 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-13 13:45:37 +0000
commit693a24f2418a328e59aac289e82e6601833e6487 (patch)
tree486828de26804bbc53709b82a7cb795ff7eba32d /games-emulation
parentUnmasks and ebuild cleanups (diff)
downloadgentoo-2-693a24f2418a328e59aac289e82e6601833e6487.tar.gz
gentoo-2-693a24f2418a328e59aac289e82e6601833e6487.tar.bz2
gentoo-2-693a24f2418a328e59aac289e82e6601833e6487.zip
initial ebuild #36036
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/advancemenu/ChangeLog9
-rw-r--r--games-emulation/advancemenu/advancemenu-2.2.17.ebuild69
-rw-r--r--games-emulation/advancemenu/files/digest-advancemenu-2.2.171
3 files changed, 79 insertions, 0 deletions
diff --git a/games-emulation/advancemenu/ChangeLog b/games-emulation/advancemenu/ChangeLog
new file mode 100644
index 000000000000..1f5163b2ac81
--- /dev/null
+++ b/games-emulation/advancemenu/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for games-emulation/advancemenu
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemenu/ChangeLog,v 1.1 2004/01/13 13:45:37 vapier Exp $
+
+*advancemenu-2.2.17 (13 Jan 2004)
+
+ 13 Jan 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by jason perez <lain@nethere.com> and
+ Chris Aniszczyk <zx@mea-culpa.net> #36036.
diff --git a/games-emulation/advancemenu/advancemenu-2.2.17.ebuild b/games-emulation/advancemenu/advancemenu-2.2.17.ebuild
new file mode 100644
index 000000000000..63805bff01bf
--- /dev/null
+++ b/games-emulation/advancemenu/advancemenu-2.2.17.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+inherit games eutils
+
+DESCRIPTION="Frontend for AdvanceMAME, MAME, MESS, RAINE and any other emulator"
+HOMEPAGE="http://advancemame.sourceforge.net/menu-readme.html"
+SRC_URI="mirror://sourceforge/advancemame/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="debug static svga alsa oss slang sdl"
+
+RDEPEND="virtual/glibc
+ games-emulation/advancemame
+ sys-libs/zlib
+ x86? ( >=dev-lang/nasm-0.98 )
+ sdl? ( media-libs/libsdl )
+ slang? ( sys-libs/slang )
+ alsa? ( media-libs/alsa-lib )
+ svga? ( >=media-libs/svgalib-1.9 )"
+DEPEND="${RDEPEND}
+ fbcon? ( virtual/os-headers )"
+
+src_compile() {
+ export PATH="${PATH}:${T}"
+ ln -s `which nasm` ${T}/${CHOST}-nasm
+ use sdl && ln -s `which sdl-config` ${T}/${CHOST}-sdl-config
+ egamesconf \
+ `use_enable debug` \
+ `use_enable static` \
+ `use_enable x86 asm` \
+ `use_enable svga svgalib` \
+ `use_enable fbcon fb` \
+ `use_enable alsa` \
+ `use_enable oss` \
+ `use_enable slang` \
+ `use_enable sdl` \
+ || die
+ emake || die
+}
+
+src_install() {
+ dogamesbin advmenu advcfg advv || die "dogamesbin failed"
+
+ dodoc HISTORY README RELEASE obj/doc/*.txt
+ dohtml obj/doc/*.html
+
+ for i in obj/doc/*.1; do
+ doman ${i}
+ done
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ einfo "Execute:"
+ einfo " advmenu -default"
+ einfo "To generate a config file"
+ ewarn "In order to use advmenu, you must properly configure it!"
+ einfo
+ einfo "An example emulator config found in advmenu.rc:"
+ einfo " emulator \"snes9x\" generic \"/usr/games/bin/snes9x\" \"%f\""
+ einfo " emulator_roms \"snes9x\" \"/home/user/myroms\""
+ einfo " emulator_roms_filter \"snes9x\" \"*.smc;*.sfc\""
+ einfo
+ einfo "For more information, see the advmenu man page."
+}
diff --git a/games-emulation/advancemenu/files/digest-advancemenu-2.2.17 b/games-emulation/advancemenu/files/digest-advancemenu-2.2.17
new file mode 100644
index 000000000000..bbefbdc26db6
--- /dev/null
+++ b/games-emulation/advancemenu/files/digest-advancemenu-2.2.17
@@ -0,0 +1 @@
+MD5 14ca0dcabd8f0ff3e4ee544adb59e949 advancemenu-2.2.17.tar.gz 1240404