summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2022-02-13 21:56:35 +0300
committerSam James <sam@gentoo.org>2022-03-08 13:32:11 +0000
commit57cfef22994f07040988797a637abe6014415c62 (patch)
tree33cf5a4edced7bdfef9bfd3b73da81d834875c4a /net-libs
parentmedia-sound/pulseaudio: Clean up split build IUSE and deps on meta. (diff)
downloadgentoo-57cfef22994f07040988797a637abe6014415c62.tar.gz
gentoo-57cfef22994f07040988797a637abe6014415c62.tar.bz2
gentoo-57cfef22994f07040988797a637abe6014415c62.zip
net-libs/libnice: bump to 0.1.18
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libnice/Manifest1
-rw-r--r--net-libs/libnice/libnice-0.1.18.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/net-libs/libnice/Manifest b/net-libs/libnice/Manifest
index dc6cbc3cb4de..9de362f71b3d 100644
--- a/net-libs/libnice/Manifest
+++ b/net-libs/libnice/Manifest
@@ -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
diff --git a/net-libs/libnice/libnice-0.1.18.ebuild b/net-libs/libnice/libnice-0.1.18.ebuild
new file mode 100644
index 000000000000..919438e7f7b6
--- /dev/null
+++ b/net-libs/libnice/libnice-0.1.18.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson-multilib xdg
+
+DESCRIPTION="An implementation of the Interactice Connectivity Establishment standard (ICE)"
+HOMEPAGE="https://nice.freedesktop.org/wiki/"
+SRC_URI="https://nice.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="|| ( MPL-1.1 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+gnutls +introspection +upnp"
+
+RDEPEND="
+ >=dev-libs/glib-2.48:2[${MULTILIB_USEDEP}]
+ introspection? ( >=dev-libs/gobject-introspection-1.30.0:= )
+ gnutls? ( >=net-libs/gnutls-2.12.0:0=[${MULTILIB_USEDEP}] )
+ !gnutls? (
+ dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
+ upnp? ( >=net-libs/gupnp-igd-0.2.4:=[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ dev-util/glib-utils
+ >=dev-util/gtk-doc-am-1.10
+ virtual/pkgconfig
+"
+
+multilib_src_configure() {
+ # gstreamer plugin split off into media-plugins/gst-plugins-libnice
+ local emesonargs=(
+ -Dgstreamer=disabled
+ -Dcrypto-library=$(usex gnutls gnutls openssl)
+ $(meson_native_use_feature introspection)
+ $(meson_feature upnp gupnp)
+ )
+
+ meson_src_configure
+
+ #if multilib_is_native_abi; then
+ # ln -s {"${S}"/,}docs/reference/libnice/html || die
+ #fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+}
+
+multilib_src_test() {
+ emake -j1 check
+}