# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gnome2 mono eutils DESCRIPTION="A Mono/GStreamer based music player" HOMEPAGE="http://banshee-project.org/index.php/Main_Page" SRC_URI="http://banshee-project.org/files/$PN/$P.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="real helix xing" RDEPEND=">=dev-lang/mono-1.1.8 >=dev-dotnet/gtk-sharp-1.9 >=dev-dotnet/gnome-sharp-1.9 >=dev-dotnet/gnomevfs-sharp-1.9 >=dev-dotnet/glade-sharp-1.9 >=dev-dotnet/gconf-sharp-1.9 >=dev-dotnet/ipod-sharp-0.5.3 sys-apps/dbus >=dev-db/sqlite-2.8.15 >=media-libs/gstreamer-0.8.8 >=media-libs/gst-plugins-0.8.7 >=dev-libs/glib-2.0 >=gnome-base/libgnome-2.0 >=gnome-base/libgnomeui-2.0 >=gnome-base/libbonobo-2.0 >=gnome-base/gconf-2.0 >=gnome-base/gnome-vfs-2.0 >=gnome-base/gnome-desktop-2.0 >=x11-libs/gtk+-2.6 >=sys-apps/hal-0.5.2 >=gnome-extra/nautilus-cd-burner-2.10 real? ( media-video/realplayer ) helix? ( media-video/helixplayer )" DEPEND="${RDEPEND} gnome-base/gnome-common dev-util/pkgconfig" pkg_setup() { if ! built_with_use sys-apps/dbus mono; then die "need sys-apps/dbus built with mono USE flag" fi if use real; then G2CONF="${G2CONF} --enable-helix --with-helix-libs=/opt/RealPlayer/" elif use helix; then G2CONF="${G2CONF} --enable-helix --with-helix-libs=/opt/HelixPlayer/" fi G2CONF="${G2CONF} $(use_enable xing)" } USE_DESTDIR="1" DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README"