blob: f0a8c377e476da74aadcddb803ab78038fb5bc99 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/mediastreamer/mediastreamer-2.1.0.ebuild,v 1.3 2008/02/11 17:54:19 vapier Exp $
EAPI="1"
inherit eutils
DESCRIPTION="library to make audio and video real-time streaming and processing"
HOMEPAGE="http://www.linphone.org/"
SRC_URI="http://download.savannah.nongnu.org/releases/linphone/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="alsa arts gsm ipv6 portaudio +video"
DEPEND=">=net-libs/ortp-0.13
alsa? ( media-libs/alsa-lib )
arts? ( kde-base/arts )
portaudio? ( media-libs/portaudio )
gsm? ( media-sound/gsm )
video? (
media-video/ffmpeg
media-libs/libsdl
)"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gsm.patch
epatch "${FILESDIR}"/${P}-headers.patch
}
src_compile() {
econf \
--disable-strict \
$(use_enable ipv6) \
$(use_enable alsa) \
$(use_enable arts artsc) \
$(use_enable portaudio) \
$(use_enable video) \
$(use_enable gsm) \
|| die
emake || die
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS ChangeLog NEWS README
}
|