summaryrefslogtreecommitdiff
blob: d142edeea7b60f413338fa76cc8e49c694ccaa56 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/quodlibet/quodlibet-0.17.1.ebuild,v 1.2 2006/03/02 19:21:57 metalgod Exp $

inherit eutils virtualx

DESCRIPTION="Quod Libet is a new kind of audio player."
HOMEPAGE="http://www.sacredchao.net/quodlibet"
SRC_URI="http://www.sacredchao.net/~piman/software/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="mad vorbis flac aac musepack mikmod alsa oss esd gnome"

DEPEND=">=virtual/python-2.3
	>=dev-python/pygtk-2.6.1
	>=dev-python/gst-python-0.8.2
	dev-python/ctypes
	mad? ( dev-python/pymad
	>=media-plugins/gst-plugins-mad-0.8.10 )
	vorbis? ( dev-python/pyvorbis
	>=media-plugins/gst-plugins-vorbis-0.8.10
	>=media-plugins/gst-plugins-ogg-0.8.10 )
	flac? ( >=media-plugins/gst-plugins-flac-0.8.10 )
	aac? ( >=media-plugins/gst-plugins-faad-0.8.10 )
	musepack? ( >=media-plugins/gst-plugins-musepack-0.8.10 )
	alsa? ( >=media-plugins/gst-plugins-alsa-0.8.10 )
	oss? ( >=media-plugins/gst-plugins-oss-0.8.10 )
	esd? ( >=media-plugins/gst-plugins-esd-0.8.10 )
	gnome? ( dev-python/gnome-python-extras
	>=media-plugins/gst-plugins-gnomevfs-0.8.10
	dev-python/feedparser )"

RDEPEND="${DEPEND}"

src_unpack() {
	unpack ${A}
	cd ${S}

	epatch ${FILESDIR}/${P}-multilibfix.patch

}
src_compile() {
	Xemake || die "make failed"
	Xemake extensions || die "make extensions failed"
}

src_install() {
	Xmake PREFIX=/usr DESTDIR=${D} install || die "make install failed"

	dodoc README NEWS
}