summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/lxdream/lxdream-0.9.ebuild')
-rw-r--r--games-emulation/lxdream/lxdream-0.9.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/games-emulation/lxdream/lxdream-0.9.ebuild b/games-emulation/lxdream/lxdream-0.9.ebuild
new file mode 100644
index 000000000..cb97f749a
--- /dev/null
+++ b/games-emulation/lxdream/lxdream-0.9.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="1"
+
+inherit games
+
+DESCRIPTION="An emulator for the Sega Dreamcast system"
+HOMEPAGE="http://lxdream.org/"
+SRC_URI="http://${PN}.org/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug esd pulseaudio"
+
+RDEPEND="media-libs/alsa-lib
+ media-libs/libpng
+ esd? ( media-sound/esound )
+ pulseaudio? ( media-sound/pulseaudio )
+ virtual/opengl
+ x11-libs/gtk+:2"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ sys-devel/gettext
+ virtual/os-headers"
+
+src_compile() {
+ econf \
+ $(use_enable debug trace) \
+ $(use_enable debug watch) \
+ $(use_with esd) \
+ $(use_with pulseaudio pulse)
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc ChangeLog NEWS README || die "dodoc failed"
+ newicon pixmaps/dcemu.gif lxdream.gif || die "newicon failed"
+ make_desktop_entry lxdream Lxdream lxdream || die "make_desktop_entry failed"
+ prepgamesdirs
+}