blob: f806821c4ad05374a33d95b94927332a06845980 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/rhythmbox/rhythmbox-0.6.8.ebuild,v 1.5 2004/04/03 00:54:49 foser Exp $
inherit gnome2
DESCRIPTION="Music management and playback software for GNOME"
HOMEPAGE="http://web.rhythmbox.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="oggvorbis mad xine flac faad"
RDEPEND=">=x11-libs/gtk+-2.2.2
>=gnome-base/libgnomeui-2
>=gnome-base/libglade-2
>=gnome-base/gnome-vfs-2
>=gnome-base/libbonobo-2
>=media-libs/musicbrainz-2
faad? ( >=media-libs/faad2-2.0_rc3 )
flac? ( >=media-libs/flac-1
>=media-libs/libid3tag-0.15.0b )
oggvorbis? ( >=media-libs/libvorbis-1 )
mad? ( >=media-libs/libid3tag-0.15.0b )
!xine? ( =media-libs/gstreamer-0.6*
=media-libs/gst-plugins-0.6*
=media-plugins/gst-plugins-gnomevfs-0.6*
flac? ( =media-plugins/gst-plugins-flac-0.6* )
mad? ( =media-plugins/gst-plugins-mad-0.6* )
oggvorbis? ( =media-plugins/gst-plugins-vorbis-0.6* )
)
xine? ( >=media-libs/xine-lib-1_rc3 )"
# REMIND : should we really force flac ?
# I want to drop flac deps when rb get proper gst only/non monkey-media
# flac support. Made it a local USE flag for now
# <foser@gentoo.org> 06 Oct 2003
DEPEND="${RDEPEND}
dev-util/pkgconfig
app-text/scrollkeeper"
MAKEOPTS="${MAKEOPTS} -j1"
use xine && G2CONF="${G2CONF} --enable-xine"
# flac support needs both flac & mp3 support enabled
use flac || use mad \
&& G2CONF="${G2CONF} --enable-mp3" \
|| G2CONF="${G2CONF} --disable-mp3"
G2CONF="${G2CONF} \
$(use_enable oggvorbis vorbis) \
$(use_enable faad mp4 ) \
$(use_enable flac) \
--enable-mmkeys \
--enable-audiocd \
--disable-schemas-install"
src_unpack( ) {
unpack ${A}
cd ${S}
# sandbox errors work around
gnome2_omf_fix ${S}/help/C/Makefile.in
epatch ${FILESDIR}/${PN}-0.6.5-gcc2_fix.patch
epatch ${FILESDIR}/${PN}-0.6.8-amd64.patch
# fix configure.ac to make flac switch work correctly
epatch ${FILESDIR}/${PN}-0.6-fix_flac_test.patch
# rerun autoconf for the flac fix
autoconf || die
}
DOCS="AUTHORS COPYING ChangeLog DOCUMENTERS INSTALL INTERNALS \
MAINTAINERS NEWS README THANKS TODO"
export GST_INSPECT=/bin/true
src_install() {
gnome2_src_install
insinto /etc/gconf/schemas
doins data/rhythmbox.schemas
}
|