summaryrefslogtreecommitdiff
path: root/media-plugins/gst-plugins-libnice
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 /media-plugins/gst-plugins-libnice
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/gst-plugins-libnice')
-rw-r--r--media-plugins/gst-plugins-libnice/Manifest7
-rw-r--r--media-plugins/gst-plugins-libnice/files/gst-plugins-libnice-0.1.13-gstreamer.patch40
-rw-r--r--media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13-r100.ebuild60
-rw-r--r--media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13.ebuild64
-rw-r--r--media-plugins/gst-plugins-libnice/metadata.xml12
5 files changed, 183 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-libnice/Manifest b/media-plugins/gst-plugins-libnice/Manifest
new file mode 100644
index 000000000000..b1a422420d03
--- /dev/null
+++ b/media-plugins/gst-plugins-libnice/Manifest
@@ -0,0 +1,7 @@
+AUX gst-plugins-libnice-0.1.13-gstreamer.patch 1195 SHA256 a100912a30b80257f218e97e5e58af8cb4172fe2563e6512d620ad14b63eedcf SHA512 fdbeded042b13c33c703a6b5032b7110eb1ce84ec3614e62f6482688a00eece723b4668a1925fcfab645bf61e7fcaf0d4d444525953dae397d8edb9a842c498b WHIRLPOOL 856eab907571730aea8977d49c8d0237403952253d7c3d570cdbdbc84d59dc746271db6772b53232a4e4785953e41154893e219f4fa6e1034f753ddef4d33c80
+DIST libnice-0.1.13.tar.gz 912374 SHA256 61112d9f3be933a827c8365f20551563953af6718057928f51f487bfe88419e1 SHA512 c9bb81e8cd0b4e3673dba07ce08a16dd8821831339b44f1006510cdc09f9ae4c6eb7d43230711a2509867acb8d7df71821c411830dbf71c5a5d7e802f14a32c1 WHIRLPOOL 93bd35742cc3ef3cf768613d7757552d7fae98e906cad334b499e3a69577480a840e4e9bdb16c047099a62d47a60e8eee006107b1717937312ada087098f9dad
+EBUILD gst-plugins-libnice-0.1.13-r100.ebuild 1388 SHA256 5e6dcb92a4f64ab345ccbcb6a2cf2b522dac183a55d775227328ad9dddd0899d SHA512 6cb0a9fd5a92ff632a37d197d45f918dedee815c45b34bea78a714a471c89044601024ed4d93974f5722f02baf8bc7004156eb77d58b369ebabf42bf9b19313d WHIRLPOOL 2a70388afa7e955c006b582360dea29a11ff391284e607724f9d3b0b71f63c3edd8c000635db78f1550431087580ff6c1ecebf301b0f416ccbb9775c89dee885
+EBUILD gst-plugins-libnice-0.1.13.ebuild 1509 SHA256 f774a59a9841c25c42151fdabca0e341e8886bc3cb289c6693562216eeb9fd72 SHA512 9a81a4155b6b4f09106250ad899ac99042ccb3cc8388677932d70fd75ad74023792d0bf5d19372359b1f9d7563aa438373474bc8fb98d4d9a45a951281091c8b WHIRLPOOL 2317e1a85c5ac8b4773c9f21704866758561e939911edc592b4c43945cf1395c5a34d1ed653091c2b4c96c5300aada9fe7c0c6d9351091ba7389f70b654cb0a6
+MISC ChangeLog 4449 SHA256 532473953e00d89a38747802292684c3f062e5d78a2c866539e2817ea6c8ae08 SHA512 8339db7314b8d18e1deec6447b5c4689f4dc4006cff9d61c8dcd582549be68801940f755c27261311e1bb61ce95712a53590b8bac05ed06fe47c40ba55a5673c WHIRLPOOL cd58ca78ba9cd6f217cfc3ea87450ef61719eee6ba0da23bf774da61c0f8e4e80f73559ecb65de4a2b2e2140505dab1bfd569e866f0d61f1f019ea3bf2bf6a39
+MISC ChangeLog-2015 12459 SHA256 2e3cc1f25946d04657a7fcfb3c7643a793d1be8d80e6c786d92b0b28ba5af912 SHA512 0cb234067c7e5a7998889d541ac63100228e3fb608f026f8811277b12434b5a03b23cdf5b465db4fe59e59ea964ef750c772ec74a125609f4e161fe73e7ecc17 WHIRLPOOL 5ab91efd9bbd7a559f9b3aaac4dfa5fab0b6c0d9d89fadd347377389c46c0ca1b8ef2e354e01f4987621857a644c24cb8469588e92d69bdc9b985b78e8bc1707
+MISC metadata.xml 372 SHA256 f30776fd82c09e5b7c74bcf5c319246f83216924e809617d5256f3f3a32d7fb6 SHA512 39d91850c0c10c71afcc7771a7b813080b0a46be31879ab6c33b1b9265d1f85fae78f447b1560e3f3f63b5db78ed30b9d2d7d040d0cc11f31fb5a4398ab3711f WHIRLPOOL 6d81e92e7cd640a71c6f95ce0db51a5d75db4d627c44177ab3abf4248e103e8aaf0fbbb72d0cdaa11a5326b5bd452477d6cec3db91cb0d611b6baafe94227c1b
diff --git a/media-plugins/gst-plugins-libnice/files/gst-plugins-libnice-0.1.13-gstreamer.patch b/media-plugins/gst-plugins-libnice/files/gst-plugins-libnice-0.1.13-gstreamer.patch
new file mode 100644
index 000000000000..136d85456c40
--- /dev/null
+++ b/media-plugins/gst-plugins-libnice/files/gst-plugins-libnice-0.1.13-gstreamer.patch
@@ -0,0 +1,40 @@
+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
+
diff --git a/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13-r100.ebuild b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13-r100.ebuild
new file mode 100644
index 000000000000..ed980ba8eaeb
--- /dev/null
+++ b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13-r100.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit 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="1.0"
+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"
+}
+
+multilib_src_configure() {
+ # gupnp is not used in the gst plugin
+ ECONF_SOURCE=${S} \
+ econf \
+ --disable-static \
+ --disable-static-plugins \
+ --without-gstreamer-0.10 \
+ --with-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
+}
diff --git a/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13.ebuild b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13.ebuild
new file mode 100644
index 000000000000..3d7a8a40163d
--- /dev/null
+++ b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.13.ebuild
@@ -0,0 +1,64 @@
+# 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
+}
diff --git a/media-plugins/gst-plugins-libnice/metadata.xml b/media-plugins/gst-plugins-libnice/metadata.xml
new file mode 100644
index 000000000000..8905a7043a8e
--- /dev/null
+++ b/media-plugins/gst-plugins-libnice/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+<maintainer type="project">
+ <email>gstreamer@gentoo.org</email>
+ <name>GStreamer package maintainers</name>
+</maintainer>
+</pkgmetadata>