summaryrefslogtreecommitdiff
blob: 9274ec45ea8e65e5adde172b9682eec38032e2a4 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-crossfade/xmms-crossfade-0.3.9.ebuild,v 1.1 2005/12/02 02:09:33 metalgod Exp $

inherit eutils

IUSE=""

DESCRIPTION="XMMS Plugin for crossfading, and continuous output."
HOMEPAGE="http://www.eisenlohr.org/${PN}/index.html"
SRC_URI="http://www.eisenlohr.org/${PN}/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"

DEPEND="media-sound/xmms"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${P}-gcc4.patch
}

src_compile() {
	econf --libdir=`xmms-config --output-plugin-dir` || die
	emake || die
}

src_install () {
	make DESTDIR="${D}" install || die
	dodoc AUTHORS ChangeLog README TODO
}
pkg_postinst () {
	ewarn "If you're using the ARTS output plugin, set the 'Limit OP buffer"
	ewarn "usage' to 400ms in the 'Advanced' tab of XMMS-crossfade's"
	ewarn "configuration dialog. This will eliminate the worst"
	ewarn "of the distorted/skipped output."
}