/[gentoo-x86]/net-voip/yate/yate-5.4.0.ebuild
Gentoo

Contents of /net-voip/yate/yate-5.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Feb 13 14:30:20 2015 UTC (5 years, 4 months ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
update 9999, and add sub slots on version

(Portage version: 2.2.16/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-voip/yate/yate-5.4.0.ebuild,v 1.5 2015/01/28 23:02:53 mgorny Exp $
4
5 EAPI=5
6
7 inherit autotools eutils
8
9 DESCRIPTION="The Yate AV Suite"
10 HOMEPAGE="http://yate.null.ro/"
11
12 if [[ ${PV} == 9999 ]] ; then
13 ESVN_REPO_URI="http://voip.null.ro/svn/yate/trunk"
14 inherit subversion
15 KEYWORDS=""
16 else
17 SRC_URI="http://voip.null.ro/tarballs/${PN}5/${P}-1.tar.gz"
18 KEYWORDS="~amd64 ~arm ~x86"
19 S="${WORKDIR}/${PN}"
20 fi
21
22 LICENSE="GPL-2"
23 SLOT="0/${PV}"
24 IUSE="doc cpu_flags_x86_sse2 sctp dahdi zaptel wpcard tdmcard wanpipe +ilbc +ilbc-webrtc +isac-float isac-fixed postgres mysql +gsm +speex h323 spandsp +ssl qt4 +zlib amrnb"
25
26 RDEPEND="
27 postgres? ( dev-db/postgresql )
28 mysql? ( virtual/mysql )
29 gsm? ( media-sound/gsm )
30 speex? ( media-libs/speex )
31 ssl? ( dev-libs/openssl )
32 h323? ( net-libs/h323plus )
33 zlib? ( sys-libs/zlib )
34 qt4? ( dev-qt/qtgui:4 dev-qt/designer:4 )
35 ilbc? ( dev-libs/ilbc-rfc3951 )
36 spandsp? ( >=media-libs/spandsp-0.0.3 )
37 dahdi? ( net-misc/dahdi )
38 "
39 DEPEND="doc? ( || ( app-doc/doxygen dev-util/kdoc ) )
40 virtual/pkgconfig
41 ${RDEPEND}"
42
43 src_prepare() {
44 epatch "${FILESDIR}"/dont-mess-with-cflags.patch
45 eautoreconf
46 ./yate-config.sh || die
47 }
48
49 #fdsize, inline, rtti: keep default values
50 #internalregex: use system
51 #coredumper: not in the tree, bug 118716
52 #wanpipe, wphwec: not in the tree, bug 188939
53 #amrnb: not in tree!
54 #zaptel: ??
55 src_configure() {
56 econf \
57 --with-archlib=$(get_libdir) \
58 $(use_enable cpu_flags_x86_sse2 sse2) \
59 $(use_enable sctp) \
60 $(use_enable dahdi) \
61 $(use_enable zaptel) \
62 $(use_enable wpcard) \
63 $(use_enable tdmcard) \
64 $(use_enable wanpipe) \
65 $(use_enable ilbc) \
66 $(use_enable ilbc-webrtc) \
67 $(use_enable isac-float) \
68 $(use_enable isac-fixed) \
69 $(use_with postgres libpq) \
70 $(use_with mysql) \
71 $(use_with gsm libgsm) \
72 $(use_with speex libspeex) \
73 $(use_with amrnb) \
74 $(use_with spandsp) \
75 $(use_with h323 openh323 /usr) \
76 $(use_with h323 pwlib /usr) \
77 $(use_with ssl openssl) \
78 $(use_with qt4 libqt4)
79 }
80
81 src_compile() {
82 emake -j1
83 }
84
85 src_install() {
86 if use doc; then
87 emake DESTDIR="${ED}" install
88 else
89 emake DESTDIR="${ED}" install-noapi
90 fi
91 }

  ViewVC Help
Powered by ViewVC 1.1.20