|
|
# Copyright 1999-2006 Gentoo Foundation | # Copyright 1999-2006 Gentoo Foundation |
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.9.5.ebuild,v 1.4 2006/10/16 03:41:45 agriffis Exp $ |
# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.9.5.ebuild,v 1.2 2006/06/27 13:28:34 joem Exp $ |
| |
inherit gnome2 eutils |
inherit gnome2 eutils autotools |
| |
DESCRIPTION="Music management and playback software for GNOME" | DESCRIPTION="Music management and playback software for GNOME" |
HOMEPAGE="http://www.rhythmbox.org/" | HOMEPAGE="http://www.rhythmbox.org/" |
LICENSE="GPL-2" | LICENSE="GPL-2" |
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
IUSE="vorbis flac aac mad ipod avahi hal howl daap dbus libnotify lirc musicbrainz | IUSE="vorbis flac aac mad ipod avahi hal howl daap dbus libnotify lirc musicbrainz |
tagwriting python" |
tagwriting python cdr gnome" |
#I want tagwriting to be on by default in the future. It is just a local flag | #I want tagwriting to be on by default in the future. It is just a local flag |
#now because it is still considered experimental by upstream and doesn't work | #now because it is still considered experimental by upstream and doesn't work |
#well with all formats | #well with all formats |
|
|
>=gnome-extra/nautilus-cd-burner-2.9.0 | >=gnome-extra/nautilus-cd-burner-2.9.0 |
>=media-video/totem-1.1.5 | >=media-video/totem-1.1.5 |
>=x11-libs/libsexy-0.1.5 | >=x11-libs/libsexy-0.1.5 |
>=gnome-extra/gnome-media-2.14.0 |
gnome? ( >=gnome-extra/gnome-media-2.14.0 |
|
>=gnome-base/gnome-keyring-0.4.9 ) |
musicbrainz? ( >=media-libs/musicbrainz-2.1 ) | musicbrainz? ( >=media-libs/musicbrainz-2.1 ) |
>=net-libs/libsoup-2.2 | >=net-libs/libsoup-2.2 |
hal? ( ipod? ( >=media-libs/libgpod-0.2.0 ) | hal? ( ipod? ( >=media-libs/libgpod-0.2.0 ) |
|
|
| |
MAKEOPTS="${MAKEOPTS} -j1" | MAKEOPTS="${MAKEOPTS} -j1" |
| |
|
src_unpack() { |
|
gnome2_src_unpack |
|
|
|
epatch ${FILESDIR}/${PN}-0.9.6-audiocd-musicbrainz-symbols.patch |
|
eautomake |
|
} |
|
|
pkg_setup() { | pkg_setup() { |
| |
if ! use avahi && ! use howl; then | if ! use avahi && ! use howl; then |
|
|
fi | fi |
| |
G2CONF="${G2CONF} \ | G2CONF="${G2CONF} \ |
|
$(use_with cdr cd-burning ) \ |
|
$(use_with hal) \ |
|
$(use_with gnome gnome-keyring) \ |
|
$(use_enable gnome track-transfer) \ |
$(use_enable tagwriting tag-writing) \ | $(use_enable tagwriting tag-writing) \ |
$(use_with ipod) \ | $(use_with ipod) \ |
$(use_enable ipod ipod-writing) \ | $(use_enable ipod ipod-writing) \ |
|
|
--with-playback=gstreamer-0-10 \ | --with-playback=gstreamer-0-10 \ |
--enable-mmkeys \ | --enable-mmkeys \ |
--enable-audioscrobbler \ | --enable-audioscrobbler \ |
--enable-track-transfer \ |
|
--with-metadata-helper \ | --with-metadata-helper \ |
--disable-schemas-install" | --disable-schemas-install" |
| |
|
|
USE_DESTDIR=1 | USE_DESTDIR=1 |
} | } |
| |
src_unpack() { |
|
gnome2_src_unpack |
|
|
|
epatch "${FILESDIR}/${P}-dbus-0.90.patch" |
|
} |
|
|
|
src_compile() { | src_compile() { |
addpredict "$(unset HOME; echo ~)/.gconf" | addpredict "$(unset HOME; echo ~)/.gconf" |
addpredict "$(unset HOME; echo ~)/.gconfd" | addpredict "$(unset HOME; echo ~)/.gconfd" |