diff options
Diffstat (limited to 'games-emulation/generator')
-rw-r--r-- | games-emulation/generator/ChangeLog | 12 | ||||
-rw-r--r-- | games-emulation/generator/files/digest-generator-0.35-r1 | 3 | ||||
-rw-r--r-- | games-emulation/generator/generator-0.35-r1.ebuild | 77 |
3 files changed, 90 insertions, 2 deletions
diff --git a/games-emulation/generator/ChangeLog b/games-emulation/generator/ChangeLog index 69deb0269788..3a3cd617c528 100644 --- a/games-emulation/generator/ChangeLog +++ b/games-emulation/generator/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for games-emulation/generator -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.11 2005/05/17 17:50:02 wolf31o2 Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.12 2006/03/30 23:01:11 wolf31o2 Exp $ + +*generator-0.35-r1 (30 Mar 2006) + + 30 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> + +generator-0.35-r1.ebuild: + Added new ebuild for a patched generator. The oroginal ebuild was written by + Machiel Groeneveld <machiel@ideus.nl> and edited by Bernard Cafarelli + <voyageur@operamail.com>. Closing bug #76072. 17 May 2005; Chris Gianelloni <wolf31o2@gentoo.org> generator-0.35.ebuild: Cleanup for bug #92745. diff --git a/games-emulation/generator/files/digest-generator-0.35-r1 b/games-emulation/generator/files/digest-generator-0.35-r1 new file mode 100644 index 000000000000..b386cf282598 --- /dev/null +++ b/games-emulation/generator/files/digest-generator-0.35-r1 @@ -0,0 +1,3 @@ +MD5 bce3326c165d74e8a00e50355b653e08 generator-0.35-cbiere.tar.bz2 454740 +RMD160 4bb53827645fdba237f08d9b60d01d8eccf05b10 generator-0.35-cbiere.tar.bz2 454740 +SHA256 93ded1b0b3e61b729382c1bb143b8021b195264745c483650178f16ebb681fc1 generator-0.35-cbiere.tar.bz2 454740 diff --git a/games-emulation/generator/generator-0.35-r1.ebuild b/games-emulation/generator/generator-0.35-r1.ebuild new file mode 100644 index 000000000000..af4dc415471d --- /dev/null +++ b/games-emulation/generator/generator-0.35-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/generator-0.35-r1.ebuild,v 1.1 2006/03/30 23:01:11 wolf31o2 Exp $ + +inherit eutils toolchain-funcs games + +DESCRIPTION="Sega Genesis / Mega Drive console emulator" +HOMEPAGE="http://www.ghostwhitecrab.com/generator/" +SRC_URI="http://www.ghostwhitecrab.com/generator/${P}-cbiere.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="svga gtk" + +S=${WORKDIR}/${P}-cbiere + +RDEPEND="virtual/libc + gtk? ( + =x11-libs/gtk+-1* + media-libs/libsdl + ) + svga? ( media-libs/svgalib ) + media-libs/jpeg" +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + x86? ( dev-lang/nasm )" + +src_unpack() { + unpack ${A} + + cd ${S} + mkdir my-bins + if use ppc ; then + sed -i \ + -e 's/-minline-all-stringops//g' configure \ + || die "sed configure failed" + fi + + if [ $(gcc-major-version) -eq 3 ] ; then + sed -i \ + -e "s/-malign-functions/-falign-functions/" \ + -e "s/-malign-loops/-falign-loops/" \ + -e "s/-malign-jumps/-falign-jumps/" configure \ + || die "sed configure failed" + fi +} + +src_compile() { + local myconf="--with-gcc=$(gcc-major-version)" + local mygui myguis + + use x86 \ + && myconf="${myconf} --with-raze" \ + || myconf="${myconf} --with-cmz80" + + use gtk && myguis="gtk" + use svga && myguis="svgalib" + [ -n "${myguis}" ] || myguis="gtk" + + for mygui in ${myguis}; do + if [ -f Makefile ] ; then + make clean + fi + egamesconf \ + ${myconf} \ + --with-${mygui} || die + emake -j1 || die "building ${mygui}" + mv main/generator-${mygui} my-bins/ + done +} + +src_install() { + dogamesbin my-bins/* || die "dogamesbin failed" + dodoc AUTHORS ChangeLog NEWS README TODO + prepgamesdirs +} |