blob: 9b8d996aa1b033be9ad3a802c979fd6ec2f5abbe (
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/quodlibet/quodlibet-0.19.1-r1.ebuild,v 1.2 2006/04/05 21:13:52 deltacow Exp $
inherit eutils python
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="aac alsa esd flac gnome mad musepack oss vorbis"
DEPEND=">=virtual/python-2.3
>=dev-python/pygtk-2.8
>=x11-libs/gtk+-2.8
>=media-libs/mutagen-1.1
>=media-libs/gstreamer-0.10.3
>=media-libs/gst-plugins-base-0.10.3
>=media-libs/gst-plugins-good-0.10.2
>=dev-python/gst-python-0.10.2
mad? ( >=media-plugins/gst-plugins-mad-0.10.2 )
vorbis? ( >=media-plugins/gst-plugins-vorbis-0.10.2
>=media-plugins/gst-plugins-ogg-0.10.2
<dev-python/pyvorbis-1.4* )
flac? ( >=media-plugins/gst-plugins-flac-0.10.2 )
aac? ( media-libs/faad2
>=media-plugins/gst-plugins-faad-0.10.1
dev-python/ctypes )
musepack? ( >=media-plugins/gst-plugins-musepack-0.10.0
>=media-libs/gst-plugins-bad-0.10.1
media-libs/libmpcdec
dev-python/ctypes )
alsa? ( >=media-plugins/gst-plugins-alsa-0.10.2 )
oss? ( >=media-plugins/gst-plugins-oss-0.10.2 )
esd? ( >=media-plugins/gst-plugins-esd-0.10.2 )
gnome? ( dev-python/gnome-python-extras
>=media-plugins/gst-plugins-gnomevfs-0.10.2
dev-python/feedparser )"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-0.17.1-multilibfix.patch
epatch ${FILESDIR}/${PN}-0.19.1-ctypes.patch
# set the default pipeline (alsasink|osssink|esdsink)
( use alsa && epatch ${FILESDIR}/${PN}-0.19-alsa.patch ) ||
( use oss && epatch ${FILESDIR}/${PN}-0.19-oss.patch ) ||
( use esd && epatch ${FILESDIR}/${PN}-0.19-esd.patch )
}
src_compile() {
emake extensions || die "emake extensions failed"
}
src_install() {
make PREFIX=/usr DESTDIR=${D} libdir=$(get_libdir) install ||
die "install failed"
dodoc README NEWS
}
pkg_postinst() {
python_mod_optimize /usr/share/${PN}
}
pkg_postrm() {
python_mod_cleanup /usr/share/${PN}
}
|