summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2022-05-08 13:22:38 +0300
committerMatt Turner <mattst88@gentoo.org>2022-05-08 15:02:03 -0400
commita91e0e709de8d4921cdf0b8758fb6730b061e6e4 (patch)
treee367f6f987051c4ccb93930fc63f733b3a2eb371 /media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.19.ebuild
parentnet-libs/libnice: Add gtk-doc USE and generate API docs, 0.1.19 (diff)
downloadgentoo-a91e0e709de8d4921cdf0b8758fb6730b061e6e4.tar.gz
gentoo-a91e0e709de8d4921cdf0b8758fb6730b061e6e4.tar.bz2
gentoo-a91e0e709de8d4921cdf0b8758fb6730b061e6e4.zip
media-plugins/gst-plugins-libnice: bump to 0.1.19
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.19.ebuild')
-rw-r--r--media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.19.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.19.ebuild b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.19.ebuild
new file mode 100644
index 000000000000..99b81c3f7797
--- /dev/null
+++ b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.19.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson-multilib
+
+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 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-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}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/gst-plugins-libnice-${PV}-use-installed-libnice.patch
+)
+
+S=${WORKDIR}/${MY_P}
+
+multilib_src_configure() {
+ # gnutls vs openssl left intentionally automagic here - the chosen USE flag configuration of libnice will ensure
+ # one of them is present, configure will be happy, but gstreamer bits don't use it, so it doesn't matter.
+ # gupnp is not used in the gst plugin.
+ local emesonargs=(
+ -Dgstreamer=enabled
+ -Dcrypto-library=auto
+ -Dintrospection=disabled
+ -Dgupnp=disabled
+ )
+
+ meson_src_configure
+}