blob: b864fe185492cc15c9738aa01ed1bbfac01817f6 (
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/banshee-1.4.1-r4.ebuild,v 1.1 2009/01/07 00:32:37 loki_val Exp $
EAPI=2
inherit base gnome2 mono autotools
GVER=0.10.3
DESCRIPTION="Import, organize, play, and share your music using a simple and powerful interface."
HOMEPAGE="http://banshee-project.org"
SRC_URI="http://download.banshee-project.org/${PN}/${PN}-1-${PV}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+aac boo daap doc +encode +flac ipod +mad mtp podcast test +vorbis"
RDEPEND=">=dev-lang/mono-2
>=dev-dotnet/gtk-sharp-2.12
>=dev-dotnet/gconf-sharp-2.8
>=dev-dotnet/gnome-sharp-2.8
dev-dotnet/notify-sharp
gnome-base/gnome-settings-daemon
sys-apps/dbus
>=media-libs/gst-plugins-bad-${GVER}
>=media-libs/gst-plugins-good-${GVER}
>=media-libs/gst-plugins-ugly-${GVER}
>=media-plugins/gst-plugins-alsa-${GVER}
>=media-plugins/gst-plugins-gnomevfs-${GVER}
>=media-plugins/gst-plugins-gconf-${GVER}
|| (
>=media-plugins/gst-plugins-cdparanoia-${GVER}
>=media-plugins/gst-plugins-cdio-${GVER}
)
media-libs/musicbrainz:1
>=dev-dotnet/dbus-glib-sharp-0.3
>=dev-dotnet/dbus-sharp-0.5
|| (
~dev-dotnet/mono-addins-0.3.1
>=dev-dotnet/mono-addins-0.4[gtk]
)
>=dev-dotnet/taglib-sharp-2.0.3
>=dev-db/sqlite-3.4
aac? (
>=media-plugins/gst-plugins-faad-${GVER}
)
boo? (
>=dev-lang/boo-0.8.1
)
daap? (
>=dev-dotnet/mono-zeroconf-0.7.3
)
doc? (
virtual/monodoc
)
encode? (
>=media-plugins/gst-plugins-lame-${GVER}
>=media-plugins/gst-plugins-taglib-${GVER}
)
flac? (
>=media-plugins/gst-plugins-flac-${GVER}
)
ipod? (
>=dev-dotnet/ipod-sharp-0.8.1
)
mad? (
>=media-plugins/gst-plugins-mad-${GVER}
)
mtp? (
media-libs/libmtp
)
vorbis? (
>=media-plugins/gst-plugins-ogg-${GVER}
>=media-plugins/gst-plugins-vorbis-${GVER}
)"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
DOCS="AUTHORS ChangeLog HACKING NEWS README"
S=${WORKDIR}/${PN}-1-${PV}
pkg_setup() {
G2CONF="${G2CONF}
$(use_enable doc docs)
$(use_enable boo)
$(use_enable mtp)
$(use_enable daap)
$(use_enable ipod)
$(use_enable podcast)
$(use_enable test tests)
--enable-gnome
--enable-schemas-install
--with-gconf-schema-file-dir=/etc/gconf/schemas"
}
src_unpack() {
gnome2_src_unpack
#Upstream bug 563283
#Author is thansen on freenode.
epatch "${FILESDIR}/${P}-metadata-writefail.patch"
#Upstream bug 566846
#loki_val@gentoo.org is author.
epatch "${FILESDIR}/${P}-startup-fail-g-s-d.patch"
}
src_configure() {
gnome2_src_configure
}
src_compile() {
default
}
pkg_postinst() {
gnome2_pkg_postinst
elog "If banshee segfaults not long after being started, try running gnome-appearance-properties and select a theme."
}
|