diff options
Diffstat (limited to 'net-libs/libnice')
-rw-r--r-- | net-libs/libnice/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libnice/libnice-0.1.21.ebuild | 56 |
2 files changed, 58 insertions, 0 deletions
diff --git a/net-libs/libnice/Manifest b/net-libs/libnice/Manifest index 8e6930e519fd..f2e669969c53 100644 --- a/net-libs/libnice/Manifest +++ b/net-libs/libnice/Manifest @@ -1,3 +1,5 @@ DIST libnice-0.1.19.tar.gz 453407 BLAKE2B 7bffde82a3e55d9aeeaadd159d944346a5192871e7f574e278dc43e8171e5fde472cd28186777a0b6cddd8bde34e035794b1c6b8f152c7fb4fae5202025bfdac SHA512 1c63cc0b7655186fd6f83da4dd607183d6ccfab9b7ad7189c1bea2ba7413183f24076aba5d6c7231d2ab3fbd471827256729a8a0c0d1bda48803586e68b3778b +DIST libnice-0.1.21.tar.gz 460086 BLAKE2B 61f0807ad0d959ffbaf8dce7b0321a19ae42e4c57cc6ac9b8f39bd27645ef60bb342f4105b6ce4c4c82573592a52388888d72031033e9e7368f8b5d53afa37d6 SHA512 acbd1e0e8aacb0a65cad5b70b470a74a7c4a4f1306bc4e17cd4fd899f2fae2bb538bd099e6c0f9cba6bb9a38e95bc14087aa4f77f6aa5b70d6398179783c6e26 EBUILD libnice-0.1.19-r1.ebuild 1556 BLAKE2B 3b168b9d5491b2de9bc1ab930785bdca1dcf3328421272c09b9960a3ca37ef70a25beba725bde350be542865ff242251961940c9de108c12fcccce4cceede963 SHA512 4628d9b7a51280b1f66356475922f04e76dcbf193f7a1472883f5e1a0f785cfa065850c8f7f7b7b0e35427b8244b1b6d14aa7aa290668d4e8ab36d1a3cfec0cf +EBUILD libnice-0.1.21.ebuild 1563 BLAKE2B 5c2fce93ddb249c54f2543f91120301415e4155d5c9124de4f03c617130090bdb772f8bac414219d2a1e1ebe723e97895a7c0869ef0557780de41f821ef8b88b SHA512 2396acabc27fded3d29b6609928eabc78206baaa0dccbbd04078baddf3f8c77e8b45dd2aa0948bcfda38694ea1fd4c9a752aa39e661a5c02fcc67ca423b5f14c MISC metadata.xml 265 BLAKE2B 62185df549a5149fbedc3226512a38a2ab3a45bb6bed1c57c52f7e1d03832d47bffeaed10fb1bbe2d4dcdaaafb988f00c48c60247c069b527a8fb772855c3636 SHA512 1511e91cb7da5a9f719039f4d8da162d3fc746831b20685fa5945d0a8d549cc7f0d22ca6b3f0f741d276913dcd2037a685cca1ed3fcb3fa65580190b442f64f6 diff --git a/net-libs/libnice/libnice-0.1.21.ebuild b/net-libs/libnice/libnice-0.1.21.ebuild new file mode 100644 index 000000000000..0417eadc8e07 --- /dev/null +++ b/net-libs/libnice/libnice-0.1.21.ebuild @@ -0,0 +1,56 @@ +# 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 test +upnp" +RESTRICT="!test? ( test )" + +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 test tests) + $(meson_feature upnp gupnp) + $(meson_native_use_feature gtk-doc gtk_doc) + ) + + meson_src_configure +} + +multilib_src_install_all() { + einstalldocs +} |