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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Fri Feb 13 14:30:20 2015 UTC (5 years, 5 months ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -3 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-9999.ebuild,v 1.8 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 eautoreconf
45 ./yate-config.sh || die
46 }
47
48 #fdsize, inline, rtti: keep default values
49 #internalregex: use system
50 #coredumper: not in the tree, bug 118716
51 #wanpipe, wphwec: not in the tree, bug 188939
52 #amrnb: not in tree!
53 #zaptel: ??
54 src_configure() {
55 econf \
56 --with-archlib=$(get_libdir) \
57 $(use_enable cpu_flags_x86_sse2 sse2) \
58 $(use_enable sctp) \
59 $(use_enable dahdi) \
60 $(use_enable zaptel) \
61 $(use_enable wpcard) \
62 $(use_enable tdmcard) \
63 $(use_enable wanpipe) \
64 $(use_enable ilbc) \
65 $(use_enable ilbc-webrtc) \
66 $(use_enable isac-float) \
67 $(use_enable isac-fixed) \
68 $(use_with postgres libpq) \
69 $(use_with mysql) \
70 $(use_with gsm libgsm) \
71 $(use_with speex libspeex) \
72 $(use_with amrnb) \
73 $(use_with spandsp) \
74 $(use_with h323 openh323 /usr) \
75 $(use_with h323 pwlib /usr) \
76 $(use_with ssl openssl) \
77 $(use_with qt4 libqt4)
78 }
79
80 src_compile() {
81 emake -j1
82 }
83
84 src_install() {
85 if use doc; then
86 emake DESTDIR="${ED}" install
87 else
88 emake DESTDIR="${ED}" install-noapi
89 fi
90 }

  ViewVC Help
Powered by ViewVC 1.1.20