blob: 41d062b4b36276cdde5c31eaca590bbca61074a0 (
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-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libnice/libnice-0.1.7.ebuild,v 1.5 2014/08/07 19:36:42 jer Exp $
EAPI=5
inherit eutils multilib-minimal
DESCRIPTION="An implementation of the Interactice Connectivity Establishment standard (ICE)"
HOMEPAGE="http://nice.freedesktop.org/wiki/"
SRC_URI="http://nice.freedesktop.org/releases/${P}.tar.gz"
LICENSE="|| ( MPL-1.1 LGPL-2.1 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="+upnp"
RDEPEND="
>=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
upnp? ( >=net-libs/gupnp-igd-0.2.2-r1:=[${MULTILIB_USEDEP}] )
"
DEPEND="${RDEPEND}
dev-util/gtk-doc-am
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
"
multilib_src_configure() {
# gstreamer plugin split off into media-plugins/gst-plugins-libnice
ECONF_SOURCE=${S} \
econf --disable-static \
--without-gstreamer \
--without-gstreamer-0.10 \
$(use_enable upnp gupnp)
if multilib_is_native_abi; then
ln -s {"${S}"/,}docs/reference/libnice/html || die
fi
}
multilib_src_install_all() {
einstalldocs
prune_libtool_files --modules
}
|