1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="An emulator for the Sega Dreamcast system"
10 HOMEPAGE="http://www.lxdream.org/"
11 SRC_URI="http://www.lxdream.org/count.php?file=${P}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="debug esd profile pulseaudio sdl"
18 RDEPEND="media-libs/alsa-lib
20 esd? ( media-sound/esound )
21 pulseaudio? ( media-sound/pulseaudio )
22 sdl? ( media-libs/libsdl )
33 $(use_enable debug trace) \
34 $(use_enable debug watch) \
35 $(use_enable profile profiled) \
37 $(use_with pulseaudio pulse) \
42 emake DESTDIR="${D}" install || die "install failed"
43 dodoc ChangeLog NEWS README || die "dodoc failed"
44 doicon pixmaps/${PN}.png || die "doicon failed"
45 domenu ${PN}.desktop || die "make_desktop_entry failed"