commit: 9df7e59a503c595e75c098746f129ffd0d3c393e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat May 13 00:31:41 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat May 13 00:41:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9df7e59a
net-libs/libnice: conditionally build tests Signed-off-by: Sam James <sam <AT> gentoo.org> net-libs/libnice/libnice-0.1.19-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net-libs/libnice/libnice-0.1.19-r1.ebuild b/net-libs/libnice/libnice-0.1.19-r1.ebuild index 391588680d11..9c5c64599217 100644 --- a/net-libs/libnice/libnice-0.1.19-r1.ebuild +++ b/net-libs/libnice/libnice-0.1.19-r1.ebuild @@ -11,7 +11,8 @@ 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" +IUSE="+gnutls gtk-doc +introspection test +upnp" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-libs/glib-2.54:2[${MULTILIB_USEDEP}] @@ -42,6 +43,7 @@ multilib_src_configure() { -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) )
