# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.8.8-r1.ebuild,v 1.8 2005/07/27 20:16:40 gustavoz Exp $ inherit gnome2 eutils DESCRIPTION="Music management and playback software for GNOME" HOMEPAGE="http://www.rhythmbox.org/" LICENSE="GPL-2" IUSE="pda musicbrainz cdr bonobo dbus cdparanoia tag hal" # For use.local.desc: # media-sound/rhythmbox:tag - Enable tag writing support in rhythmbox SLOT="0" KEYWORDS="~x86 ~ppc ~amd64 ~sparc" RDEPEND=">=x11-libs/gtk+-2.5.4 >=gnome-base/libgnomeui-2.0 >=gnome-base/libglade-2.0 >=gnome-base/gnome-vfs-2.6 >=media-libs/gst-plugins-0.8.2 dbus? ( >=sys-apps/dbus-0.23 ) pda? ( hal? ( >=sys-apps/hal-0.2.92 >=gnome-base/gnome-vfs-2.7.4 sys-apps/dbus )) bonobo? ( >=gnome-base/libbonobo-2.0 ) musicbrainz? ( >=media-libs/musicbrainz-2.0 ) cdr? ( >=gnome-extra/nautilus-cd-burner-2.9 ) cdparanoia? ( media-plugins/gst-plugins-cdparanoia ) vorbis? ( >=media-plugins/gst-plugins-vorbis-0.8.2 >=media-plugins/gst-plugins-ogg-0.8.2 ) mad? ( >=media-plugins/gst-plugins-mad-0.8.2 ) flac? ( >=media-plugins/gst-plugins-flac-0.8.2 ) aac? ( >=media-plugins/gst-plugins-faad-0.8.2 )" DEPEND="${RDEPEND} dev-util/pkgconfig >=dev-util/intltool-0.29 app-text/scrollkeeper" MAKEOPTS="${MAKEOPTS} -j1" G2CONF="${G2CONF} \ $(use_enable pda ipod) \ $(use_enable tag tag-writing) \ $(use_with cdr cd-burner) \ $(use_with bonobo) \ $(use_with dbus) \ --enable-mmkeys \ --disable-dashboard \ --disable-schemas-install \ --with-database=tree" DOCS="AUTHORS COPYING ChangeLog DOCUMENTERS INSTALL INTERNALS \ MAINTAINERS NEWS README README.iPod THANKS TODO" export GST_INSPECT=/bin/true # # libgda support is completely broken # # RDEPEND="${RDEPEND} libgda? ( >=gnome-extra/libgda-1.0.3 )" # # if use libgda ; then # G2CONF="${G2CONF} --with-database=libgda" # else # G2CONF="${G2CONF} --with-database=tree" # fi # # pkg_setup() { # if ! built_with_use gnome-extra/libgda sqlite ; then # eerror "libgda is missing sqlite support. Please add" # eerror "'sqlite' to your USE flags, and re-emerge libgda." # die "libgda needs sqlite support" # fi # } src_unpack() { unpack ${A} cd ${S} gnome2_omf_fix ${S}/help/C/Makefile.in gnome2_omf_fix ${S}/help/ja/Makefile.in epatch ${FILESDIR}/${P}-plparse.patch }