blob: b7227a589b840e3ce1dda01d1c2ddaac58e33349 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/alsa-plugins/alsa-plugins-1.0.11.ebuild,v 1.16 2007/01/08 14:02:59 flameeyes Exp $
WANT_AUTOMAKE=latest
WANT_AUTOCONF=latest
inherit libtool autotools eutils
DESCRIPTION="ALSA extra plugins"
HOMEPAGE="http://www.alsa-project.org/"
SRC_URI="mirror://alsaproject/plugins/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm hppa ia64 ppc ppc64 sh sparc x86"
IUSE="jack libsamplerate"
# It could support polypaudio if it was in portage
RDEPEND=">=media-libs/alsa-lib-1.0.11
jack? ( >=media-sound/jack-audio-connection-kit-0.98 )
libsamplerate? ( media-libs/libsamplerate )
!media-plugins/alsa-jack"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-automagic.patch"
eautoreconf
elibtoolize
}
src_compile() {
econf \
$(use_enable jack) \
$(use_enable libsamplerate samplerate) \
--disable-avcodec \
--disable-polypaudio \
--disable-dependency-tracking \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install
cd "${S}/doc"
dodoc upmix.txt vdownmix.txt README-pcm-oss
use jack && dodoc README-jack
use libsamplerate && dodoc samplerate.txt
}
|