summaryrefslogtreecommitdiff
blob: 744133d7311629ce4a560d5163abc48acd387f9a (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit eutils flag-o-matic games

DESCRIPTION="PC-Engine (Turbografx16) emulator for linux"
HOMEPAGE="http://www.zeograd.com/"
SRC_URI="http://www.zeograd.com/download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""

RDEPEND="x11-libs/gtk+:2
	media-libs/libsdl[video]
	media-libs/libvorbis"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

src_prepare() {
	epatch "${FILESDIR}/${P}"-gcc41.patch
	append-cppflags $(pkg-config sdl --cflags)

}

src_install() {
	dogamesbin hugo
	insinto "${GAMES_DATADIR}/${PN}"
	doins -r pixmaps
	dodoc AUTHORS ChangeLog NEWS README TODO
	dohtml doc/*html
	prepgamesdirs
}