blob: 86e3a80eb30696e76ee4f6e4f4a36e5db96de1e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/fbzx-2.10.0.ebuild,v 1.3 2012/10/17 03:05:30 phajdan.jr 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}
virtual/pkgconfig"
src_prepare() {
sed -i -e "s|/usr/share/|${GAMES_DATADIR}/${PN}/|g" emulator.c || die
epatch \
"${FILESDIR}"/${P}-build.patch \
"${FILESDIR}"/${P}-keyboard.patch
}
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
}
|