1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
8 inherit gnome2 python-any-r1
10 DESCRIPTION="Audio/video conferencing framework specifically designed for instant messengers"
11 HOMEPAGE="https://www.freedesktop.org/wiki/Software/Farstream"
12 SRC_URI="https://freedesktop.org/software/farstream/releases/${PN}/${P}.tar.gz"
15 KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
16 IUSE="+introspection test upnp"
17 SLOT="0.2/5" # .so version
19 # Tests need shmsink from gst-plugins-bad, which isn't packaged
20 # FIXME: do an out-of-tree build for tests if USE=-msn
24 >=media-libs/gstreamer-1.4:1.0
25 >=media-libs/gst-plugins-base-1.4:1.0
26 >=dev-libs/glib-2.32:2
27 >=net-libs/libnice-0.1.8
28 introspection? ( >=dev-libs/gobject-introspection-0.10.11:= )
29 upnp? ( >=net-libs/gupnp-igd-0.2:= )
31 RDEPEND="${COMMONDEPEND}
32 >=media-libs/gst-plugins-bad-1.4:1.0
33 >=media-libs/gst-plugins-good-1.4:1.0
34 media-plugins/gst-plugins-srtp:1.0
35 media-plugins/gst-plugins-libnice:1.0
37 DEPEND="${COMMONDEPEND}
40 >=dev-util/gtk-doc-am-1.18
43 media-libs/gst-plugins-base:1.0[vorbis]
44 media-libs/gst-plugins-good:1.0 )
48 "${FILESDIR}"/${PN}-0.2.8-make43.patch # remove when bumping and switching to Meson
52 python-any-r1_pkg_setup
56 plugins="fsrawconference,fsrtpconference,fsmsnconference,fsrtpxdata,fsfunnel,fsrtcpfilter,fsvideoanyrate"
57 gnome2_src_configure \
59 $(use_enable introspection) \
60 $(use_enable upnp gupnp) \
61 --with-plugins=${plugins}
65 # Prevent sandbox violations, bug #539224
66 # https://bugzilla.gnome.org/show_bug.cgi?id=744135
67 # https://bugzilla.gnome.org/show_bug.cgi?id=744134