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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Mar 29 12:51:26 2015 UTC (5 years, 8 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +7 -15 lines
Drop msn USE as libmimic will be removed (#489552), drop old.

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

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-r2.ebuild,v 1.8 2015/03/15 13:29:51 pacho Exp $
4
5 EAPI="5"
6 PYTHON_COMPAT=( python2_7 )
7
8 inherit eutils python-single-r1
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 amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
16
17 IUSE="+introspection python test upnp"
18 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
19
20 SLOT="0.1"
21
22 # Tests need shmsink from gst-plugins-bad, which isn't packaged
23 RESTRICT="test"
24
25 COMMONDEPEND="
26 >=media-libs/gstreamer-0.10.33:0.10
27 >=media-libs/gst-plugins-base-0.10.33:0.10
28 >=dev-libs/glib-2.30:2
29 >=net-libs/libnice-0.1.0
30 introspection? ( >=dev-libs/gobject-introspection-0.10.11 )
31 python? ( ${PYTHON_DEPS}
32 >=dev-python/pygobject-2.16:2[${PYTHON_USEDEP}]
33 >=dev-python/gst-python-0.10.10:0.10[${PYTHON_USEDEP}] )
34 upnp? ( net-libs/gupnp-igd )
35 "
36 RDEPEND="${COMMONDEPEND}
37 >=media-libs/gst-plugins-good-0.10.17:0.10
38 >=media-libs/gst-plugins-bad-0.10.17:0.10
39 || (
40 >=media-plugins/gst-plugins-libnice-0.1.0:0.10
41 <=net-libs/libnice-0.1.3[gstreamer] )
42 !net-libs/farsight2
43 "
44 # This package is just a rename from farsight2
45
46 MAKEOPTS="${MAKEOPTS} -j1" # Parallel is completely broken on this slot, bug #434618
47
48 DEPEND="${COMMONDEPEND}
49 dev-util/gtk-doc-am
50 virtual/pkgconfig
51 test? (
52 media-libs/gst-plugins-good:0.10
53 media-plugins/gst-plugins-vorbis:0.10 )"
54
55 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
56
57 # FIXME: do an out-of-tree build for tests if USE=-msn
58 RESTRICT="test"
59
60 pkg_setup() {
61 use python && python-single-r1_pkg_setup
62 }
63
64 src_prepare() {
65 # Fix building with gobject-introspection-1.33.x, bug #425096
66 epatch "${FILESDIR}/${P}-introspection-tag-order.patch"
67 }
68
69 src_configure() {
70 plugins="fsrawconference,fsrtpconference,fsfunnel,fsrtcpfilter,fsvideoanyrate"
71 econf --disable-static \
72 $(use_enable introspection) \
73 $(use_enable python) \
74 $(use_enable upnp gupnp) \
75 --with-plugins=${plugins}
76 }
77
78 src_install() {
79 # Parallel install fails, bug #434618 (fixed in latest slot)
80 emake -j1 install DESTDIR="${D}"
81 dodoc AUTHORS README ChangeLog
82
83 # Remove .la files since static libs are no longer being installed
84 find "${D}" -name '*.la' -exec rm -f '{}' + || die
85 }

  ViewVC Help
Powered by ViewVC 1.1.20