# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/muine/muine-0.6.3-r3.ebuild,v 1.3 2005/05/25 15:21:31 latexer Exp $ inherit gnome2 mono eutils DESCRIPTION="A music player for GNOME" HOMEPAGE="http://muine.gooeylinux.org/" SRC_URI="${HOMEPAGE}${P}.tar.gz" LICENSE="GPL-2" IUSE="xine mad vorbis flac" SLOT="0" KEYWORDS="~x86 ~ppc" RDEPEND=">=dev-lang/mono-1.0 >=dev-dotnet/gtk-sharp-1.0.4-r1 >=dev-dotnet/gnome-sharp-1.0.4 >=dev-dotnet/glade-sharp-1.0.4 >=dev-dotnet/gconf-sharp-1.0.4 =dev-dotnet/gtk-sharp-1.0* =dev-dotnet/gnome-sharp-1.0* =dev-dotnet/glade-sharp-1.0* =dev-dotnet/gconf-sharp-1.0* xine? ( >=media-libs/xine-lib-1_rc4 ) !xine? ( >=media-libs/gstreamer-0.8.0 >=media-libs/gst-plugins-0.8.0 >=media-plugins/gst-plugins-gnomevfs-0.8.0 mad? ( >=media-plugins/gst-plugins-mad-0.8.0 ) vorbis? ( >=media-plugins/gst-plugins-ogg-0.8.0 >=media-plugins/gst-plugins-vorbis-0.8.0 ) flac? ( >=media-plugins/gst-plugins-flac-0.8.0 ) ) >=media-libs/libid3tag-0.15.0b >=media-libs/libvorbis-1.0 sys-libs/gdbm >=gnome-base/gconf-2.0.0 >=gnome-base/gnome-vfs-2.0.0 >=x11-libs/gtk+-2.0.0 >=dev-util/intltool-0.29 media-libs/flac" DEPEND="${RDEPEND} dev-util/pkgconfig app-text/scrollkeeper" use xine && \ G2CONF="${G2CONF} --enable-gstreamer=no" || \ G2CONF="${G2CONF} --enable-gstreamer=yes" DOCS="AUTHORS COPYING ChangeLog INSTALL \ MAINTAINERS NEWS README TODO" src_unpack() { unpack ${A} epatch ${FILESDIR}/${P}-mono-1.1.1-compat.diff epatch ${FILESDIR}/${P}-gnome-2.10-compat.diff # patch to fix broken use of libgstplay (#85017) cd ${S}/libmuine epatch ${FILESDIR}/${P}-libgstplay.diff }