blob: 3dad37623e18b95316c247cc3f9f51fb8845d6cb (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libnice/libnice-0.1.2.ebuild,v 1.10 2012/12/08 00:57:58 tetromino Exp $
EAPI="4"
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="+gstreamer upnp"
RDEPEND=">=dev-libs/glib-2.13:2
gstreamer? (
media-libs/gstreamer:0.10
media-libs/gst-plugins-base:0.10 )
upnp? ( >=net-libs/gupnp-igd-0.1.3 )"
DEPEND="${RDEPEND}
dev-util/gtk-doc-am
virtual/pkgconfig"
src_configure() {
econf --disable-static \
$(use_with gstreamer) \
$(use_enable upnp gupnp)
}
src_install() {
default
# Remove .la files since static libs are no longer being installed
find "${D}" -name '*.la' -exec rm -f '{}' + || die
}
|