blob: 2cc0bf6576fe0a645e92a741722a25d0c48f791e (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/portaudio/portaudio-19_pre070707.ebuild,v 1.2 2007/07/12 03:10:24 mr_bones_ Exp $
MY_PN=pa_stable_v
MY_PV=${PV/pre/}
MY_P=${MY_PN}${MY_PV}
DESCRIPTION="An open-source cross platform audio API."
HOMEPAGE="http://www.portaudio.com"
SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
LICENSE="as-is"
SLOT="18"
KEYWORDS="~amd64 ~x86"
IUSE="alsa debug oss"
DEPEND="alsa? ( media-libs/alsa-lib )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
src_compile() {
# Jack is disabled, it seems to have runtime issues
# Moreover it fails to compile on some arches (like amd64)
# And this could cause cyclic dependencies with jack portaudio support
econf $(use_with alsa)\
--without-jack \
$(use_with oss)\
$(use_with debug debug-output)\
--enable-cxx\
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install faied"
dodoc V19-devel-readme.txt
dohtml index.html
}
|