mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
media-plugins/gst-plugins-libnice: bump to 0.1.18
Bug: https://bugs.gentoo.org/835681 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24688 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
d50180c617
commit
ea5d653fc5
@@ -1 +1,2 @@
|
||||
DIST libnice-0.1.15.tar.gz 1064100 BLAKE2B 81f06ba599b01084586a8d904b9ae513d6bc3531ec42674648fda320eea6cd9348acf423571922bab4e338bf135f85b292046352ed6f5e4fefba736d787b1ff1 SHA512 60a8bcca06c0ab300dfabbf13e45aeac2085d553c420c5cc4d2fdeb46b449b2b9c9aee8015b0662c16bd1cecf5a49824b7e24951a8a0b66a87074cb00a619c0c
|
||||
DIST libnice-0.1.18.tar.gz 439791 BLAKE2B 6bb68bb1484b4a622a580bc9c66b8be260d2615b211cf7991cb50a9f692df525cd0c3c9fc54ef86534426f396f8d2201966cdacfd3f69ff27193971f95886540 SHA512 08bac05874708f7e7a669d28727d8951a10c464b22dd6fada1a4644850bcf5c4cc022cce46bb24c806086a7869b274c4c7d3d6ddaa9ed0ce0bc2c47f72933227
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
Carve out everything but gstreamer plugin part, libnice-0.1.18
|
||||
|
||||
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
|
||||
|
||||
diff -udBbr libnice-0.1.18-original/gst/meson.build libnice-0.1.18/gst/meson.build
|
||||
--- libnice-0.1.18-original/gst/meson.build 2020-10-21 04:03:07.271845300 +0300
|
||||
+++ libnice-0.1.18/gst/meson.build 2022-03-20 23:38:28.826178730 +0300
|
||||
@@ -12,8 +12,7 @@
|
||||
gst_nice_sources,
|
||||
c_args : gst_nice_args,
|
||||
include_directories: nice_incs,
|
||||
- dependencies: [nice_deps, gst_dep],
|
||||
- link_with: libnice,
|
||||
+ dependencies: [libnice_dep, gst_dep],
|
||||
install_dir: gst_plugins_install_dir,
|
||||
install: true)
|
||||
|
||||
diff -udBbr libnice-0.1.18-original/meson.build libnice-0.1.18/meson.build
|
||||
--- libnice-0.1.18-original/meson.build 2020-10-21 04:03:07.272845300 +0300
|
||||
+++ libnice-0.1.18/meson.build 2022-03-20 23:38:05.116302874 +0300
|
||||
@@ -263,9 +263,7 @@
|
||||
|
||||
libm = cc.find_library('m', required: false)
|
||||
|
||||
-nice_incs = include_directories('.', 'agent', 'random', 'socket', 'stun')
|
||||
-
|
||||
-nice_deps = gio_deps + [gthread_dep, crypto_dep, gupnp_igd_dep] + syslibs
|
||||
+nice_incs = include_directories('.')
|
||||
|
||||
ignored_iface_prefix = get_option('ignored-network-interface-prefix')
|
||||
if ignored_iface_prefix != []
|
||||
@@ -278,11 +276,7 @@
|
||||
|
||||
gir = find_program('g-ir-scanner', required : get_option('introspection'))
|
||||
|
||||
-subdir('agent')
|
||||
-subdir('stun')
|
||||
-subdir('socket')
|
||||
-subdir('random')
|
||||
-subdir('nice')
|
||||
+libnice_dep = dependency('nice', version: nice_version, required: true)
|
||||
|
||||
if gst_dep.found()
|
||||
subdir('gst')
|
||||
@@ -298,14 +292,6 @@
|
||||
endif
|
||||
endif
|
||||
|
||||
-if not get_option('tests').disabled()
|
||||
- subdir('tests')
|
||||
-endif
|
||||
-
|
||||
-if not get_option('examples').disabled()
|
||||
- subdir('examples')
|
||||
-endif
|
||||
-
|
||||
add_test_setup('valgrind',
|
||||
exe_wrapper: ['valgrind',
|
||||
'--leak-check=full',
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user