/[gentoo-x86]/net-libs/farstream/farstream-0.1.2-r1.ebuild
Gentoo

Contents of /net-libs/farstream/farstream-0.1.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.19 - (show annotations) (download)
Fri May 1 12:51:19 2015 UTC (5 years, 7 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +3 -3 lines
Clean up keywords of older 0.1 ebuild. Raise gstreamer dependencies in 0.2.7 as required by configure.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key C6085806)

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-libs/farstream/farstream-0.1.2-r1.ebuild,v 1.18 2014/05/15 08:06:01 pacho Exp $
4
5 EAPI="4"
6 PYTHON_DEPEND="2"
7
8 inherit eutils python
9
10 DESCRIPTION="Audio/video conferencing framework specifically designed for instant messengers"
11 HOMEPAGE="http://www.freedesktop.org/wiki/Software/Farstream"
12 SRC_URI="http://freedesktop.org/software/farstream/releases/${PN}/${P}.tar.gz"
13
14 LICENSE="LGPL-2.1+"
15 KEYWORDS="alpha ia64 sparc"
16 IUSE="+introspection python msn test upnp"
17
18 SLOT="0.1"
19
20 # Tests need shmsink from gst-plugins-bad, which isn't packaged
21 RESTRICT="test"
22
23 COMMONDEPEND="
24 >=media-libs/gstreamer-0.10.33:0.10
25 >=media-libs/gst-plugins-base-0.10.33:0.10
26 >=dev-libs/glib-2.30:2
27 >=net-libs/libnice-0.1.0
28 introspection? ( >=dev-libs/gobject-introspection-0.10.11 )
29 python? (
30 >=dev-python/pygobject-2.16:2
31 >=dev-python/gst-python-0.10.10:0.10 )
32 upnp? ( net-libs/gupnp-igd )
33 "
34 RDEPEND="${COMMONDEPEND}
35 >=media-libs/gst-plugins-good-0.10.17:0.10
36 >=media-libs/gst-plugins-bad-0.10.17:0.10
37 || (
38 >=media-plugins/gst-plugins-libnice-0.1.0:0.10
39 <=net-libs/libnice-0.1.3[gstreamer] )
40 msn? ( >=media-plugins/gst-plugins-mimic-0.10.17:0.10 )
41 !net-libs/farsight2
42 "
43 # This package is just a rename from farsight2
44
45 MAKEOPTS="${MAKEOPTS} -j1" # Parallel is completely broken on this slot, bug #434618
46
47 DEPEND="${COMMONDEPEND}
48 dev-util/gtk-doc-am
49 virtual/pkgconfig
50 test? (
51 media-libs/gst-plugins-good:0.10
52 media-plugins/gst-plugins-vorbis:0.10 )"
53
54 pkg_setup() {
55 if use python; then
56 python_set_active_version 2
57 python_pkg_setup
58 fi
59 }
60
61 src_prepare() {
62 # Fix building with gobject-introspection-1.33.x, bug #425096
63 epatch "${FILESDIR}/${P}-introspection-tag-order.patch"
64 }
65
66 src_configure() {
67 plugins="fsrawconference,fsrtpconference,fsfunnel,fsrtcpfilter,fsvideoanyrate"
68 use msn && plugins="${plugins},fsmsnconference"
69 econf --disable-static \
70 $(use_enable introspection) \
71 $(use_enable python) \
72 $(use_enable upnp gupnp) \
73 --with-plugins=${plugins}
74 }
75
76 src_install() {
77 # Parallel install fails, bug #434618 (fixed in latest slot)
78 emake -j1 install DESTDIR="${D}"
79 dodoc AUTHORS README ChangeLog
80
81 # Remove .la files since static libs are no longer being installed
82 find "${D}" -name '*.la' -exec rm -f '{}' + || die
83 }
84
85 src_test() {
86 # FIXME: do an out-of-tree build for tests if USE=-msn
87 if ! use msn; then
88 elog "Tests disabled without msn use flag"
89 return
90 fi
91
92 emake -j1 check
93 }

  ViewVC Help
Powered by ViewVC 1.1.20