You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
852 B
39 lines
852 B
7 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
9 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
7 years ago
|
EAPI=6
|
||
|
inherit desktop
|
||
9 years ago
|
|
||
7 years ago
|
DESCRIPTION="Full Screen Sinclair Spectrum emulator"
|
||
9 years ago
|
HOMEPAGE="https://github.com/rastersoft/fbzx"
|
||
|
SRC_URI="https://github.com/rastersoft/fbzx/archive/3.0.0.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-3+"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
9 years ago
|
IUSE=""
|
||
|
|
||
7 years ago
|
RDEPEND="
|
||
|
media-libs/libsdl[video]
|
||
9 years ago
|
media-sound/pulseaudio
|
||
7 years ago
|
media-libs/alsa-lib
|
||
|
"
|
||
9 years ago
|
DEPEND="${RDEPEND}
|
||
7 years ago
|
virtual/pkgconfig
|
||
|
"
|
||
9 years ago
|
|
||
|
src_prepare() {
|
||
7 years ago
|
default
|
||
|
sed -i -e "s|/usr/share/|/usr/share/${PN}/|g" src/llscreen.cpp || die
|
||
|
eapply "${FILESDIR}"/${P}-gentoo.patch
|
||
9 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
7 years ago
|
dobin src/fbzx
|
||
|
insinto "/usr/share/${PN}"
|
||
9 years ago
|
doins -r data/{keymap.bmp,spectrum-roms}
|
||
|
dodoc AMSTRAD CAPABILITIES FAQ PORTING README* TODO VERSIONS
|
||
|
doicon data/fbzx.svg
|
||
|
make_desktop_entry fbzx FBZX
|
||
|
}
|