From a85e3d5fb402a4ea91d6c4a885b08a431809c8cd Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Mon, 15 Mar 2010 17:43:55 +0000 Subject: version bump (Portage version: 2.1.7.17/cvs/Linux i686) --- games-emulation/fbzx/fbzx-2.4.1.ebuild | 40 ++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 games-emulation/fbzx/fbzx-2.4.1.ebuild (limited to 'games-emulation/fbzx/fbzx-2.4.1.ebuild') diff --git a/games-emulation/fbzx/fbzx-2.4.1.ebuild b/games-emulation/fbzx/fbzx-2.4.1.ebuild new file mode 100644 index 000000000000..973f27c0642e --- /dev/null +++ b/games-emulation/fbzx/fbzx-2.4.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/fbzx-2.4.1.ebuild,v 1.1 2010/03/15 17:43:54 mr_bones_ Exp $ + +EAPI=2 +inherit eutils games + +DESCRIPTION="A Sinclair Spectrum emulator, designed to work at full screen using the FrameBuffer" +HOMEPAGE="http://www.rastersoft.com/fbzx.html" +SRC_URI="http://www.rastersoft.com/descargas/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="media-libs/libsdl[video] + media-sound/pulseaudio + media-libs/alsa-lib" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + sed -i \ + -e "s|/usr/share/|${GAMES_DATADIR}/${PN}/|g" \ + emulator.c \ + || die "sed failed" + epatch "${FILESDIR}"/${P}-build.patch + rm -f fbzx_fs fbzx *.o # clean out accidentally packaged .o files +} + +src_install() { + dogamesbin fbzx || die "dogamesbin failed" + insinto "${GAMES_DATADIR}/${PN}" + doins -r keymap.bmp spectrum-roms || die "doins failed" + dodoc AMSTRAD CAPABILITIES FAQ PORTING README* TODO VERSIONS + doicon fbzx.svg + make_desktop_entry fbzx FBZX + prepgamesdirs +} -- cgit v1.2.3-65-gdbad