logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: f6c2b236b78309de2de05c1d551388c81e8d30c2
parent 05707cedf9d5af5d5fd19bf78bf9ded93477e2a3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 20 Mar 2022 12:13:45 +0100

net-libs/libnice: initial import

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>

Diffstat:

Anet-libs/libnice/Manifest1+
Anet-libs/libnice/libnice-0.1.18-r1.ebuild51+++++++++++++++++++++++++++++++++++++++++++++++++++
Anet-libs/libnice/metadata.xml8++++++++
3 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/net-libs/libnice/Manifest b/net-libs/libnice/Manifest @@ -0,0 +1 @@ +DIST libnice-0.1.18.tar.gz 439791 BLAKE2B 6bb68bb1484b4a622a580bc9c66b8be260d2615b211cf7991cb50a9f692df525cd0c3c9fc54ef86534426f396f8d2201966cdacfd3f69ff27193971f95886540 SHA512 08bac05874708f7e7a669d28727d8951a10c464b22dd6fada1a4644850bcf5c4cc022cce46bb24c806086a7869b274c4c7d3d6ddaa9ed0ce0bc2c47f72933227 diff --git a/net-libs/libnice/libnice-0.1.18-r1.ebuild b/net-libs/libnice/libnice-0.1.18-r1.ebuild @@ -0,0 +1,51 @@ +# 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 gstreamer +introspection +upnp" + +RDEPEND=" + >=dev-libs/glib-2.54: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}] ) + gstreamer? ( + media-libs/gstreamer:${SLOT}[${MULTILIB_USEDEP}] + media-libs/gst-plugins-base:${SLOT}[${MULTILIB_USEDEP}] + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + virtual/pkgconfig +" + +multilib_src_configure() { + local emesonargs=( + -Dcrypto-library=$(usex gnutls gnutls openssl) + $(meson_native_use_feature introspection) + $(meson_feature upnp gupnp) + $(meson_feature gstreamer) + ) + + meson_src_configure + + #if multilib_is_native_abi; then + # ln -s {"${S}"/,}docs/reference/libnice/html || die + #fi +} + +multilib_src_install_all() { + einstalldocs +} diff --git a/net-libs/libnice/metadata.xml b/net-libs/libnice/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata>