summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-09-16 16:17:59 +0200
committerUlrich Müller <ulm@gentoo.org>2024-09-17 12:20:09 +0200
commit114a3100cd4369f6d81c85aa69905bcbad2eb292 (patch)
treeb80966e79d9184125871ea9dd7d60a8f8151727e
parentdev-python/pydantic-core: Keyword 2.23.3 mips, #909772 (diff)
downloadgentoo-114a3100cd4369f6d81c85aa69905bcbad2eb292.tar.gz
gentoo-114a3100cd4369f6d81c85aa69905bcbad2eb292.tar.bz2
gentoo-114a3100cd4369f6d81c85aa69905bcbad2eb292.zip
media-plugins/gst-plugins-libnice: add 0.1.22
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--media-plugins/gst-plugins-libnice/Manifest1
-rw-r--r--media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.22.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-libnice/Manifest b/media-plugins/gst-plugins-libnice/Manifest
index c97d1852cce6..a6825b45305e 100644
--- a/media-plugins/gst-plugins-libnice/Manifest
+++ b/media-plugins/gst-plugins-libnice/Manifest
@@ -1,2 +1,3 @@
DIST libnice-0.1.19.tar.gz 453407 BLAKE2B 7bffde82a3e55d9aeeaadd159d944346a5192871e7f574e278dc43e8171e5fde472cd28186777a0b6cddd8bde34e035794b1c6b8f152c7fb4fae5202025bfdac SHA512 1c63cc0b7655186fd6f83da4dd607183d6ccfab9b7ad7189c1bea2ba7413183f24076aba5d6c7231d2ab3fbd471827256729a8a0c0d1bda48803586e68b3778b
DIST libnice-0.1.21.tar.gz 460086 BLAKE2B 61f0807ad0d959ffbaf8dce7b0321a19ae42e4c57cc6ac9b8f39bd27645ef60bb342f4105b6ce4c4c82573592a52388888d72031033e9e7368f8b5d53afa37d6 SHA512 acbd1e0e8aacb0a65cad5b70b470a74a7c4a4f1306bc4e17cd4fd899f2fae2bb538bd099e6c0f9cba6bb9a38e95bc14087aa4f77f6aa5b70d6398179783c6e26
+DIST libnice-0.1.22.tar.gz 460696 BLAKE2B ebc4877664568e9a93bd3eeb93c1e6fd067df81596cff2d4ca74fc8e30c7b3af0eb0dd98e605f58161d6f002a5b91b13237ae63fd719d37ad3126a2bc3f0a7e7 SHA512 c3aae2d36d2cec8654b87ecc464296711a4a64335052dfc1477f43f59e90341f7a6a01ebd4edf91a72d9ec425440e6dd0bd8f817c77e03578854e70193b3306b
diff --git a/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.22.ebuild b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.22.ebuild
new file mode 100644
index 000000000000..e38e84cea764
--- /dev/null
+++ b/media-plugins/gst-plugins-libnice/gst-plugins-libnice-0.1.22.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit meson-multilib
+
+DESCRIPTION="GStreamer plugin for ICE (RFC 5245) support"
+HOMEPAGE="https://libnice.freedesktop.org/"
+MY_P=libnice-${PV}
+SRC_URI="https://libnice.freedesktop.org/releases/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="|| ( MPL-1.1 LGPL-2.1 )"
+SLOT="1.0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+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}"/${PN}-0.1.21-use-installed-libnice.patch
+)
+
+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
+}