/[gentoo-x86]/net-libs/farsight2/farsight2-0.0.26.ebuild
Gentoo

Contents of /net-libs/farsight2/farsight2-0.0.26.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jul 31 16:28:29 2011 UTC (9 years, 4 months ago) by armin76
Branch: MAIN
Changes since 1.3: +2 -2 lines
alpha/ia64/sparc stable wrt #373393

(Portage version: 2.1.10.7/cvs/Linux ia64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/farsight2/farsight2-0.0.26.ebuild,v 1.3 2011/07/13 09:31:12 tomka Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7
8 inherit python
9
10 DESCRIPTION="Farsight2 is an audio/video conferencing framework specifically designed for Instant Messengers."
11 HOMEPAGE="http://farsight.freedesktop.org/"
12 SRC_URI="http://farsight.freedesktop.org/releases/${PN}/${P}.tar.gz"
13
14 LICENSE="LGPL-2.1"
15 KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux"
16 IUSE="python test msn upnp"
17 SLOT="0"
18
19 # Tests often fail due to races
20 RESTRICT="test"
21
22 COMMONDEPEND=">=media-libs/gstreamer-0.10.26
23 >=media-libs/gst-plugins-base-0.10.26
24 >=dev-libs/glib-2.16:2
25 >=net-libs/libnice-0.1.0[gstreamer]
26 python? (
27 >=dev-python/pygobject-2.16:2
28 >=dev-python/gst-python-0.10.10 )
29 upnp? ( net-libs/gupnp-igd )"
30
31 RDEPEND="${COMMONDEPEND}
32 >=media-libs/gst-plugins-good-0.10.17
33 >=media-libs/gst-plugins-bad-0.10.17
34 msn? ( >=media-plugins/gst-plugins-mimic-0.10.17 )"
35
36 DEPEND="${COMMONDEPEND}
37 test? ( media-plugins/gst-plugins-vorbis
38 media-plugins/gst-plugins-speex )
39 dev-util/pkgconfig"
40
41 pkg_setup() {
42 python_set_active_version 2
43 }
44
45 src_configure() {
46 plugins="fsrtpconference,funnel,rtcpfilter,videoanyrate"
47 use msn && plugins="${plugins},fsmsnconference"
48 econf --disable-static \
49 $(use_enable python) \
50 $(use_enable upnp gupnp) \
51 --with-plugins=${plugins}
52 }
53
54 src_install() {
55 emake install DESTDIR="${D}" || die "emake install failed"
56 dodoc AUTHORS README ChangeLog
57
58 # Remove .la files since static libs are no longer being installed
59 find "${D}" -name '*.la' -exec rm -f '{}' + || die
60 }
61
62 src_test() {
63 # FIXME: do an out-of-tree build for tests if USE=-msn
64 if ! use msn; then
65 elog "Tests disabled without msn use flag"
66 return
67 fi
68
69 emake -j1 check
70 }

  ViewVC Help
Powered by ViewVC 1.1.20