summaryrefslogtreecommitdiff
path: root/net-libs/farstream
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/farstream
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/farstream')
-rw-r--r--net-libs/farstream/Manifest8
-rw-r--r--net-libs/farstream/farstream-0.1.2-r2.ebuild82
-rw-r--r--net-libs/farstream/farstream-0.2.8-r1.ebuild64
-rw-r--r--net-libs/farstream/files/farstream-0.1.2-introspection-tag-order.patch132
-rw-r--r--net-libs/farstream/metadata.xml8
5 files changed, 294 insertions, 0 deletions
diff --git a/net-libs/farstream/Manifest b/net-libs/farstream/Manifest
new file mode 100644
index 000000000000..79d84894a409
--- /dev/null
+++ b/net-libs/farstream/Manifest
@@ -0,0 +1,8 @@
+AUX farstream-0.1.2-introspection-tag-order.patch 4840 SHA256 f540ea6f239e291f9ffc5b806cfea9f9cd0c4f13963e900719a5ee3a3f370124 SHA512 a0fddf3dbbee8dd89ef05fe4df1c3c76fd6f4750d9b6aa8287691e51adc97b4e52e5bc84995918e526ebe44f61c099aa4b1f443d56da5978b6a8b88aa6e98bf9 WHIRLPOOL 03dc7a3a6285214b20833fd89de341e1f4235e01893eccbe8db0ce4cbf55e670309d6cfa22df8d13baff10e0c19058b7c76523f4b56c4c6d793ce85ab446ea6f
+DIST farstream-0.1.2.tar.gz 1265972 SHA256 fa5a40597b47b59d124f7fd57f66704b030d576cdc0d90e107c7a592f05e73d9 SHA512 7d9ddde5d17205752a17298fb90cf855a828b2ae58746fbdc7e47749cee5e5eac4fd56f97f58251a5d253901cdd555e9cfade6016b6d92df99daefbe850e2910 WHIRLPOOL 273d20082152ff09adf8e64481b1b7c7ba7e6a24fc09addc219880fbee7f1e6b9845ce727c032fa3c364e8d2440736fd0324015426591b7e9766f11054828294
+DIST farstream-0.2.8.tar.gz 1315548 SHA256 2b3b9c6b4f64ace8c83e03d1da5c5a2884c1cae10b35471072b574201ab38908 SHA512 7ec5c57f8778f4107cb628dbf411e38b726152cf78920127dff4423239ff7e4980b6b4f938abba2aa21ab984b1e3053e7e648611322a0ce94df0af576df99a7e WHIRLPOOL 70772016e9c6fcdf64dc2ec32cafe074ef7fa193cae7114625ab0c2501fcdd1f8eccc4e98a31bb0d69ee58047602951259970797183d5dba065f28fe920dbf71
+EBUILD farstream-0.1.2-r2.ebuild 2374 SHA256 7b1257ff8af276674e1ce40eace8c94073fdfb4e9393b83b996f71352b656748 SHA512 1222e9257b9ac280dd94b1e2f75f12369db67ae8efbce4ab6403404b37e60b63de9c06c797eb716ea8150c642cf323153e7ee4a1e246ff51b9a5de69e76ca56c WHIRLPOOL abdbfa46ec75143977fe78d2e8e04e001201de0ff27f9bb78382d95700354896a721a57ba7db576fb717f057df1d2e283a12e3b6df80728c9fa94299ef9c9ad7
+EBUILD farstream-0.2.8-r1.ebuild 1798 SHA256 44b766cd0c1fa19b1c7ceb2cc4964d3a3932c01d2a66e3c4db65a502b78c796b SHA512 14fd32dc609227d6ffb30e749531c4e5de786a088ebe57005ee2d195377e745e0fe33671329f67b0dd982a6bfabef1f39e502232e1e4e53e11e3882e3d58909c WHIRLPOOL 57de8d285c0d2f2b2a1ec3c5502999e6331726f2b337b8c14454d19a119999261d268f7da94bd72ae88af813211ee3786afa47b184e5520011c9ef1504fe08f5
+MISC ChangeLog 6754 SHA256 2ed84573d3d6123e205c825df18d2e960d10a373276f300233b15491d6a7dea6 SHA512 8fde9675f5f75b3696f3772fd8f848777e82ea1bbac5cd89282feff78d7a9a0bd19584d2607b9e06e142ce148f120e05374e19f0e755e1eb3b6f2f20e804a342 WHIRLPOOL 050f884afbf75ec2e75890bd4b90ad8afe0cb0c61fe81b495cdbba4b7d2e76b3858e4ce24a2474e7546b15b9022ecac477b7be4e426f20a85beaea586c41b975
+MISC ChangeLog-2015 7448 SHA256 bb30647a4b894f73fb05c36f62f0fb8b56361d45abe641d67290683af7181613 SHA512 4edca020c07c5b0484de7b24061deba18df92917cd531831a26697551433aa4503fc4785e1c1cb24d5f1a35a5836860eae3bef11969e621009d4f9953a21ef89 WHIRLPOOL 76f245049e1b91afca52b7dd53b6db158ba10b43d198741b83cb8d71255d55c965cd86443acf72a47201aa96e520f65dc53d631a25c82a43a1f85a8418302ffc
+MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92
diff --git a/net-libs/farstream/farstream-0.1.2-r2.ebuild b/net-libs/farstream/farstream-0.1.2-r2.ebuild
new file mode 100644
index 000000000000..fd42212ec0f7
--- /dev/null
+++ b/net-libs/farstream/farstream-0.1.2-r2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-single-r1
+
+DESCRIPTION="Audio/video conferencing framework specifically designed for instant messengers"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/Farstream"
+SRC_URI="https://freedesktop.org/software/farstream/releases/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
+
+IUSE="+introspection python test upnp"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+SLOT="0.1"
+
+# Tests need shmsink from gst-plugins-bad, which isn't packaged
+RESTRICT="test"
+
+COMMONDEPEND="
+ >=media-libs/gstreamer-0.10.33:0.10
+ >=media-libs/gst-plugins-base-0.10.33:0.10
+ >=dev-libs/glib-2.30:2
+ >=net-libs/libnice-0.1.0
+ introspection? ( >=dev-libs/gobject-introspection-0.10.11 )
+ python? ( ${PYTHON_DEPS}
+ >=dev-python/pygobject-2.16:2[${PYTHON_USEDEP}]
+ >=dev-python/gst-python-0.10.10:0.10[${PYTHON_USEDEP}] )
+ upnp? ( net-libs/gupnp-igd )
+"
+RDEPEND="${COMMONDEPEND}
+ >=media-libs/gst-plugins-good-0.10.17:0.10
+ >=media-libs/gst-plugins-bad-0.10.17:0.10
+ >=media-plugins/gst-plugins-libnice-0.1.0:0.10
+ !net-libs/farsight2
+"
+# This package is just a rename from farsight2
+
+MAKEOPTS="${MAKEOPTS} -j1" # Parallel is completely broken on this slot, bug #434618
+
+DEPEND="${COMMONDEPEND}
+ dev-util/gtk-doc-am
+ virtual/pkgconfig
+ test? (
+ media-libs/gst-plugins-good:0.10
+ media-plugins/gst-plugins-vorbis:0.10 )"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+# FIXME: do an out-of-tree build for tests if USE=-msn
+RESTRICT="test"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ # Fix building with gobject-introspection-1.33.x, bug #425096
+ epatch "${FILESDIR}/${P}-introspection-tag-order.patch"
+}
+
+src_configure() {
+ plugins="fsrawconference,fsrtpconference,fsfunnel,fsrtcpfilter,fsvideoanyrate"
+ econf --disable-static \
+ $(use_enable introspection) \
+ $(use_enable python) \
+ $(use_enable upnp gupnp) \
+ --with-plugins=${plugins}
+}
+
+src_install() {
+ # Parallel install fails, bug #434618 (fixed in latest slot)
+ emake -j1 install DESTDIR="${D}"
+ dodoc AUTHORS README ChangeLog
+
+ # Remove .la files since static libs are no longer being installed
+ find "${D}" -name '*.la' -exec rm -f '{}' + || die
+}
diff --git a/net-libs/farstream/farstream-0.2.8-r1.ebuild b/net-libs/farstream/farstream-0.2.8-r1.ebuild
new file mode 100644
index 000000000000..c9d897179778
--- /dev/null
+++ b/net-libs/farstream/farstream-0.2.8-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python2_7 )
+
+inherit gnome2 python-any-r1
+
+DESCRIPTION="Audio/video conferencing framework specifically designed for instant messengers"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/Farstream"
+SRC_URI="https://freedesktop.org/software/farstream/releases/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
+IUSE="+introspection test upnp"
+SLOT="0.2/5" # .so version
+
+# Tests need shmsink from gst-plugins-bad, which isn't packaged
+# FIXME: do an out-of-tree build for tests if USE=-msn
+RESTRICT="test"
+
+COMMONDEPEND="
+ >=media-libs/gstreamer-1.4:1.0
+ >=media-libs/gst-plugins-base-1.4:1.0
+ >=dev-libs/glib-2.32:2
+ >=net-libs/libnice-0.1.8
+ introspection? ( >=dev-libs/gobject-introspection-0.10.11:= )
+ upnp? ( >=net-libs/gupnp-igd-0.2:= )
+"
+RDEPEND="${COMMONDEPEND}
+ >=media-libs/gst-plugins-good-1.4:1.0
+ >=media-libs/gst-plugins-bad-1.4:1.0
+ media-plugins/gst-plugins-libnice:1.0
+"
+DEPEND="${COMMONDEPEND}
+ ${PYTHON_DEPS}
+ >=dev-util/gtk-doc-am-1.18
+ virtual/pkgconfig
+ test? (
+ media-libs/gst-plugins-base:1.0[vorbis]
+ media-libs/gst-plugins-good:1.0 )
+"
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+}
+
+src_configure() {
+ plugins="fsrawconference,fsrtpconference,fsmsnconference,fsrtpxdata,fsfunnel,fsrtcpfilter,fsvideoanyrate"
+ gnome2_src_configure \
+ --disable-static \
+ $(use_enable introspection) \
+ $(use_enable upnp gupnp) \
+ --with-plugins=${plugins}
+}
+
+src_compile() {
+ # Prevent sandbox violations, bug #539224
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744135
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744134
+ addpredict /dev
+ gnome2_src_compile
+}
diff --git a/net-libs/farstream/files/farstream-0.1.2-introspection-tag-order.patch b/net-libs/farstream/files/farstream-0.1.2-introspection-tag-order.patch
new file mode 100644
index 000000000000..3283e1fd2990
--- /dev/null
+++ b/net-libs/farstream/files/farstream-0.1.2-introspection-tag-order.patch
@@ -0,0 +1,132 @@
+From 39450457190675716c8e66700e35b05334a6a1a0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= <olivier.crete@collabora.com>
+Date: Fri, 25 May 2012 17:06:59 -0400
+Subject: [PATCH] Gtk-doc tags belong after the description
+
+---
+ farstream/fs-session.c | 16 +++++++---------
+ farstream/fs-stream.c | 15 ++++++---------
+ 2 files changed, 13 insertions(+), 18 deletions(-)
+
+diff --git a/farstream/fs-session.c b/farstream/fs-session.c
+index 80794d1..abb1bc3 100644
+--- a/farstream/fs-session.c
++++ b/farstream/fs-session.c
+@@ -270,9 +270,6 @@ fs_session_class_init (FsSessionClass *klass)
+ /**
+ * FsSession:codec-preferences:
+ *
+- * Type: GLib.List(FsCodec)
+- * Transfer: full
+- *
+ * This is the current preferences list for the local codecs. It is
+ * set by the user to specify the codec options and priorities. The user may
+ * change its value with fs_session_set_codec_preferences() at any time
+@@ -283,6 +280,9 @@ fs_session_class_init (FsSessionClass *klass)
+ * or %FS_CODEC_ID_ANY. If the encoding name is "reserve-pt", then the
+ * payload type of the codec will be "reserved" and not be used by any
+ * dynamically assigned payload type.
++ *
++ * Type: GLib.List(FsCodec)
++ * Transfer: full
+ */
+ g_object_class_install_property (gobject_class,
+ PROP_CODEC_PREFERENCES,
+@@ -296,9 +296,6 @@ fs_session_class_init (FsSessionClass *klass)
+ /**
+ * FsSession:codecs:
+ *
+- * Type: GLib.List(FsCodec)
+- * Transfer: full
+- *
+ * This is the list of codecs used for this session. It will include the
+ * codecs and payload type used to receive media on this session. It will
+ * also include any configuration parameter that must be transmitted reliably
+@@ -317,6 +314,8 @@ fs_session_class_init (FsSessionClass *klass)
+ * It is a #GList of #FsCodec. User must free this codec list using
+ * fs_codec_list_destroy() when done.
+ *
++ * Type: GLib.List(FsCodec)
++ * Transfer: full
+ */
+ g_object_class_install_property (gobject_class,
+ PROP_CODECS,
+@@ -329,9 +328,6 @@ fs_session_class_init (FsSessionClass *klass)
+ /**
+ * FsSession:codecs-without-config:
+ *
+- * Type: GLib.List(FsCodec)
+- * Transfer: full
+- *
+ * This is the same list of codecs as #FsSession:codecs without
+ * the configuration information that describes the data sent. It is suitable
+ * for configurations where a list of codecs is shared by many senders.
+@@ -349,6 +345,8 @@ fs_session_class_init (FsSessionClass *klass)
+ * It is a #GList of #FsCodec. User must free this codec list using
+ * fs_codec_list_destroy() when done.
+ *
++ * Type: GLib.List(FsCodec)
++ * Transfer: full
+ */
+ g_object_class_install_property (gobject_class,
+ PROP_CODECS_WITHOUT_CONFIG,
+diff --git a/farstream/fs-stream.c b/farstream/fs-stream.c
+index b9e1320..110641d 100644
+--- a/farstream/fs-stream.c
++++ b/farstream/fs-stream.c
+@@ -176,13 +176,12 @@ fs_stream_class_init (FsStreamClass *klass)
+ /**
+ * FsStream:remote-codecs:
+ *
+- * Type: GLib.List(FsCodec)
+- * Transfer: full
+- *
+ * This is the list of remote codecs for this stream. They must be set by the
+ * user as soon as they are known using fs_stream_set_remote_codecs()
+ * (generally through external signaling). It is a #GList of #FsCodec.
+ *
++ * Type: GLib.List(FsCodec)
++ * Transfer: full
+ */
+ g_object_class_install_property (gobject_class,
+ PROP_REMOTE_CODECS,
+@@ -195,15 +194,14 @@ fs_stream_class_init (FsStreamClass *klass)
+ /**
+ * FsStream:negotiated-codecs:
+ *
+- * Type: GLib.List(FsCodec)
+- * Transfer: full
+- *
+ * This is the list of negotiatied codecs, it is the same list as the list
+ * of #FsCodec from the parent #FsSession, except that the codec config data
+ * has been replaced with the data from the remote codecs for this stream.
+ * This is the list of #FsCodec used to receive data from this stream.
+ * It is a #GList of #FsCodec.
+ *
++ * Type: GLib.List(FsCodec)
++ * Transfer: full
+ */
+ g_object_class_install_property (gobject_class,
+ PROP_NEGOTIATED_CODECS,
+@@ -216,9 +214,6 @@ fs_stream_class_init (FsStreamClass *klass)
+ /**
+ * FsStream:current-recv-codecs:
+ *
+- * Type: GLib.List(FsCodec)
+- * Transfer: full
+- *
+ * This is the list of codecs that have been received by this stream.
+ * The user must free the list if fs_codec_list_destroy().
+ * The "farstream-recv-codecs-changed" message is send on the #GstBus
+@@ -228,6 +223,8 @@ fs_stream_class_init (FsStreamClass *klass)
+ * also be emitted if the pad already exists, but the source material that
+ * will come to it is different.
+ *
++ * Type: GLib.List(FsCodec)
++ * Transfer: full
+ */
+ g_object_class_install_property (gobject_class,
+ PROP_CURRENT_RECV_CODECS,
+--
+1.7.8.6
+
diff --git a/net-libs/farstream/metadata.xml b/net-libs/farstream/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/net-libs/farstream/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>