blob: 0111ba67b4cfa1c21aa28a56006c32464b8fd376 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/banshee-0.9.12.ebuild,v 1.6 2006/03/07 02:34:43 metalgod Exp $
inherit eutils gnome2 mono
DESCRIPTION="Banshee allows you to import CDs, sync your music collection, play
music directly from an iPod, create playlists with songs from your library, and
create audio and MP3 CDs from subsets of your library."
HOMEPAGE="http://banshee-project.org"
SRC_URI="http://banshee-project.org/files/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE="aac flac mad real vorbis"
RDEPEND=">=dev-lang/mono-1.1.9.2
>=dev-dotnet/gtk-sharp-2.3.90
>=dev-dotnet/gnomevfs-sharp-1.9
>=dev-dotnet/gconf-sharp-2.3.90
=media-libs/gstreamer-0.8*
=media-libs/gst-plugins-0.8*
=media-plugins/gst-plugins-gnomevfs-0.8*
mad? ( =media-plugins/gst-plugins-mad-0.8* )
vorbis? ( =media-plugins/gst-plugins-ogg-0.8*
=media-plugins/gst-plugins-vorbis-0.8* )
flac? ( =media-plugins/gst-plugins-flac-0.8* )
aac? ( =media-plugins/gst-plugins-faad-0.8*
>=media-libs/faad2-2.0-r4 )
>=media-libs/musicbrainz-2.1.1
real? ( media-video/realplayer )
>=dev-libs/glib-2.0
>=gnome-base/libgnomeui-2.0
>=gnome-base/libbonobo-2.0
>=gnome-base/gnome-desktop-2.0
>=dev-dotnet/ipod-sharp-0.5.10
>=sys-apps/hal-0.5.2
sys-apps/dbus
>=dev-db/sqlite-3
>=gnome-extra/nautilus-cd-burner-2.12"
USE_DESTDIR=1
DOCS="ChangeLog NEWS README TODO"
pkg_setup() {
if ! built_with_use sys-apps/dbus mono ; then
echo
eerror "In order to compile banshee, 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 banshee."
die "sys-apps/dbus is missing the .NET binding."
fi
if use real; then
G2CONF="${G2CONF} --enable-helix --with-helix-libs=/opt/RealPlayer/"
fi
G2CONF="${G2CONF} --disable-xing"
}
src_unpack() {
unpack ${A}
cd ${S}
# Fix icon
sed -i -e 's/TryExec=banshee %U/#TryExec=banshee %U/g' \
data/banshee.desktop.in.in || die "sed failed"
sed -i -e 's/Icon=music-player-banshee/Icon=music-player-banshee.png/g' \
data/banshee.desktop.in.in || die "sed failed"
}
src_compile() {
gnome2_src_configure
emake -j1 || "make failed"
}
|