mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-plugins/gst-plugins-libnice: remove gstreamer 0.10
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
From 76ff4aee9fe963842dd17748d14c68552c5dcda3 Mon Sep 17 00:00:00 2001
|
||||
From: Timo Gurr <timo.gurr@gmail.com>
|
||||
Date: Mon, 1 Jun 2015 16:10:16 +0200
|
||||
Subject: [PATCH] configure: Fix configure failure when building without
|
||||
gstreamer support
|
||||
|
||||
Error introduced in 20ea22e0a11a9bdfe4d8125b68083249b694338a, resulting in a
|
||||
configure/build error when building without gstreamer:
|
||||
|
||||
configure: error: conditional "HAVE_GST_CHECK" was never defined.
|
||||
Usually this means the macro was only invoked conditionally.
|
||||
---
|
||||
configure.ac | 4 +---
|
||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 6031cec..64a571f 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -231,9 +231,6 @@ AS_IF([test "$with_gstreamer" != no], [
|
||||
[
|
||||
have_gst_check=no
|
||||
])
|
||||
-
|
||||
- AM_CONDITIONAL(HAVE_GST_CHECK, test "$have_gst_check" = yes)
|
||||
-
|
||||
])
|
||||
|
||||
AS_IF([test "$with_gstreamer010" != no], [
|
||||
@@ -260,6 +257,7 @@ AC_SUBST(gstplugindir)
|
||||
AC_SUBST(gstplugin010dir)
|
||||
|
||||
AM_CONDITIONAL(WITH_GSTREAMER, test "$with_gstreamer" = yes)
|
||||
+AM_CONDITIONAL(HAVE_GST_CHECK, test "$have_gst_check" = yes)
|
||||
AM_CONDITIONAL(WITH_GSTREAMER010, test "$with_gstreamer010" = yes)
|
||||
|
||||
GUPNP_IGD_REQUIRED=0.2.4
|
||||
--
|
||||
2.4.1
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="GStreamer plugin for ICE (RFC 5245) support"
|
||||
HOMEPAGE="https://nice.freedesktop.org/wiki/"
|
||||
MY_P=libnice-${PV}
|
||||
SRC_URI="https://nice.freedesktop.org/releases/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MPL-1.1 LGPL-2.1 )"
|
||||
SLOT="0.10"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
~net-libs/libnice-${PV}[${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:${SLOT}[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:${SLOT}[${MULTILIB_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's:$(top_builddir)/nice/libnice.la:$(NICE_LIBS):' \
|
||||
-i gst/Makefile.{am,in} || die "sed failed"
|
||||
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=90801
|
||||
epatch "${FILESDIR}"/${P}-gstreamer.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# gupnp is not used in the gst plugin
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-static-plugins \
|
||||
--with-gstreamer-0.10 \
|
||||
--without-gstreamer \
|
||||
--disable-introspection \
|
||||
--disable-gupnp
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake -C gst \
|
||||
NICE_LIBS="$($(tc-getPKG_CONFIG) --libs-only-l nice)"
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
:
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake -C gst DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
Reference in New Issue
Block a user