# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gnome2 mono eutils multilib DESCRIPTION="A music player for GNOME" HOMEPAGE="http://banshee-project.org" SRC_URI="${HOMEPAGE}/files/${PN}/${P}.tar.gz" LICENSE="GPL-2" IUSE="mad vorbis flac aac real helix xing" SLOT="0" KEYWORDS="~ppc ~x86" 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 >=media-libs/gstreamer-0.8.8 >=media-libs/gst-plugins-0.8.7 >=media-plugins/gst-plugins-gnomevfs-0.8.8 mad? ( >=media-plugins/gst-plugins-mad-0.8.8 ) vorbis? ( >=media-plugins/gst-plugins-ogg-0.8.8 >=media-plugins/gst-plugins-vorbis-0.8.8 ) flac? ( >=media-plugins/gst-plugins-flac-0.8.8 ) aac? ( >=media-plugins/gst-plugins-faad-0.8.8 >=media-libs/faad2-2.0-r4 ) real? ( media-video/realplayer ) helix? ( media-video/helixplayer ) >=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.0 >=gnome-base/gnome-vfs-2.0.0 >=gnome-base/gnome-desktop-2.0 >=x11-libs/gtk+-2.6.0 >=dev-util/intltool-0.29 >=dev-dotnet/ipod-sharp-0.5.4 >=sys-apps/hal-0.5.2 sys-apps/dbus >=dev-db/sqlite-2.8.15 >=gnome-extra/nautilus-cd-burner-2.10 " DEPEND="${RDEPEND} dev-util/pkgconfig app-text/scrollkeeper" MAKEOPTS="-j1" USE_DESTDIR=1 DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README TODO" pkg_setup() { if ! built_with_use sys-apps/dbus mono ; then echo eerror "In order to compile muine, you need to have sys-apps/dbus emerged" eerror "with 'mono' in your USE flags. Please add that flag, re-emerge" eerror "dbus, and then emerge muine." die "sys-apps/dbus is missing the .NET binding." 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/" else G2CONF="${G2CONF} --disable-helix" fi G2CONF="${G2CONF} $(use_enable xing)" }