From 4db279d41d8179a7d770a8ea54d179133599a252 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 16 Apr 2023 20:48:40 -0400 Subject: net-libs/farstream: Specify slot dependency on gupnp-igd Signed-off-by: Matt Turner --- net-libs/farstream/farstream-0.2.9-r1.ebuild | 72 ++++++++++++++++++++++++++++ net-libs/farstream/farstream-0.2.9.ebuild | 72 ---------------------------- 2 files changed, 72 insertions(+), 72 deletions(-) create mode 100644 net-libs/farstream/farstream-0.2.9-r1.ebuild delete mode 100644 net-libs/farstream/farstream-0.2.9.ebuild (limited to 'net-libs/farstream') diff --git a/net-libs/farstream/farstream-0.2.9-r1.ebuild b/net-libs/farstream/farstream-0.2.9-r1.ebuild new file mode 100644 index 000000000000..f3c7655535a9 --- /dev/null +++ b/net-libs/farstream/farstream-0.2.9-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +GNOME2_EAUTORECONF=yes +inherit gnome2 + +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 arm64 ~ia64 ~loong ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" +IUSE="+introspection test upnp valgrind" +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" + +COMMON_DEPEND=" + >=media-libs/gstreamer-1.4:1.0 + >=media-libs/gst-plugins-base-1.4:1.0 + >=dev-libs/glib-2.40:2 + >=net-libs/libnice-0.1.8 + introspection? ( >=dev-libs/gobject-introspection-0.10.11:= ) + upnp? ( >=net-libs/gupnp-igd-0.2:0= ) +" +RDEPEND="${COMMON_DEPEND} + >=media-libs/gst-plugins-bad-1.4:1.0 + >=media-libs/gst-plugins-good-1.4:1.0 + media-plugins/gst-plugins-srtp:1.0 + media-plugins/gst-plugins-libnice:1.0 +" +DEPEND="${COMMON_DEPEND} + ${PYTHON_DEPS} + test? ( + media-libs/gst-plugins-base:1.0[vorbis] + media-libs/gst-plugins-good:1.0 + ) + valgrind? ( dev-util/valgrind ) +" +BDEPEND=" + dev-util/glib-utils + >=dev-util/gtk-doc-am-1.18 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.2.9-make43.patch +) + +src_configure() { + plugins="fsrawconference,fsrtpconference,fsmsnconference,fsrtpxdata,fsfunnel,fsrtcpfilter,fsvideoanyrate" + gnome2_src_configure \ + --disable-static \ + $(use_enable introspection) \ + $(use_enable upnp gupnp) \ + $(use_enable valgrind) \ + --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 + + # bug #776175 for -j1 + MAKEOPTS="-j1" gnome2_src_compile +} diff --git a/net-libs/farstream/farstream-0.2.9.ebuild b/net-libs/farstream/farstream-0.2.9.ebuild deleted file mode 100644 index e9c168e952c2..000000000000 --- a/net-libs/farstream/farstream-0.2.9.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -GNOME2_EAUTORECONF=yes -inherit gnome2 - -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 arm64 ~ia64 ~loong ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" -IUSE="+introspection test upnp valgrind" -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" - -COMMON_DEPEND=" - >=media-libs/gstreamer-1.4:1.0 - >=media-libs/gst-plugins-base-1.4:1.0 - >=dev-libs/glib-2.40:2 - >=net-libs/libnice-0.1.8 - introspection? ( >=dev-libs/gobject-introspection-0.10.11:= ) - upnp? ( >=net-libs/gupnp-igd-0.2:= ) -" -RDEPEND="${COMMON_DEPEND} - >=media-libs/gst-plugins-bad-1.4:1.0 - >=media-libs/gst-plugins-good-1.4:1.0 - media-plugins/gst-plugins-srtp:1.0 - media-plugins/gst-plugins-libnice:1.0 -" -DEPEND="${COMMON_DEPEND} - ${PYTHON_DEPS} - test? ( - media-libs/gst-plugins-base:1.0[vorbis] - media-libs/gst-plugins-good:1.0 - ) - valgrind? ( dev-util/valgrind ) -" -BDEPEND=" - dev-util/glib-utils - >=dev-util/gtk-doc-am-1.18 - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.2.9-make43.patch -) - -src_configure() { - plugins="fsrawconference,fsrtpconference,fsmsnconference,fsrtpxdata,fsfunnel,fsrtcpfilter,fsvideoanyrate" - gnome2_src_configure \ - --disable-static \ - $(use_enable introspection) \ - $(use_enable upnp gupnp) \ - $(use_enable valgrind) \ - --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 - - # bug #776175 for -j1 - MAKEOPTS="-j1" gnome2_src_compile -} -- cgit v1.2.3-65-gdbad