diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-13 11:43:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-13 11:43:14 +0100 |
commit | 128025db16ea525715d1f5170c635c4f42ce4881 (patch) | |
tree | 07a1048840d97aefa9778386f8a8abc27940c708 /net-libs/libnice/libnice-0.1.19-r1.ebuild | |
parent | 37cf2a8dbadd546a550aac7c8079c3f77427cb63 (diff) |
gentoo auto-resync : 13:04:2023 - 11:43:14
Diffstat (limited to 'net-libs/libnice/libnice-0.1.19-r1.ebuild')
-rw-r--r-- | net-libs/libnice/libnice-0.1.19-r1.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/net-libs/libnice/libnice-0.1.19-r1.ebuild b/net-libs/libnice/libnice-0.1.19-r1.ebuild new file mode 100644 index 000000000000..391588680d11 --- /dev/null +++ b/net-libs/libnice/libnice-0.1.19-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 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://libnice.freedesktop.org/" +SRC_URI="https://libnice.freedesktop.org/releases/${P}.tar.gz" + +LICENSE="|| ( MPL-1.1 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+gnutls gtk-doc +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:0=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc + app-text/docbook-xml-dtd:4.1.2 ) +" + +src_prepare() { + default + + # Broken w/ network-sandbox on (bug #847844) + sed -i -e '/test-set-port-range/d' tests/meson.build || die +} + +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_native_use_feature gtk-doc gtk_doc) + ) + + meson_src_configure +} + +multilib_src_install_all() { + einstalldocs +} |