1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="An emulator for the Sega Dreamcast system"
8 HOMEPAGE="http://www.lxdream.org/"
9 SRC_URI="http://www.lxdream.org/count.php?file=${P}.tar.gz -> ${P}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
14 # lirc configure option is not recogniced
15 IUSE="debug profile pulseaudio sdl" #lirc
22 pulseaudio? ( media-sound/pulseaudio )
23 sdl? ( media-libs/libsdl[sound] )
31 !!gnustep-base/gnustep-gui" #377635
36 eapply "${FILESDIR}/${PN}-0.9.1-glib-single-include.patch"
38 # Make .desktop file pass desktop-file-validate
42 -e '/Categories/s|$|;|' \
44 # Do not override user-specified CFLAGS
46 -e s/'CFLAGS=\"-g -fexceptions\"'/'CFLAGS=\"${CFLAGS} -g -fexceptions\"'/ \
54 # lirc configure option is not recognized
57 --datadir="/usr/share" \
58 $(use_enable debug trace) \
59 $(use_enable debug watch) \
60 $(use_enable profile profiled) \
61 $(use_with pulseaudio pulse) \