From 607c0755d4f6476e326fb33795df7216a7bcff18 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 8 Oct 2023 00:01:40 +0100 Subject: gentoo auto-resync : 08:10:2023 - 00:01:40 --- net-libs/librist/librist-0.2.8.ebuild | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 net-libs/librist/librist-0.2.8.ebuild (limited to 'net-libs/librist/librist-0.2.8.ebuild') diff --git a/net-libs/librist/librist-0.2.8.ebuild b/net-libs/librist/librist-0.2.8.ebuild new file mode 100644 index 000000000000..d5c984d28111 --- /dev/null +++ b/net-libs/librist/librist-0.2.8.ebuild @@ -0,0 +1,48 @@ +# Copyright 2018-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Library for Reliable Internet Stream Transport (RIST) protocol" +HOMEPAGE="https://code.videolan.org/rist/librist" + +SRC_URI="https://code.videolan.org/rist/librist/-/archive/v${PV}/librist-v${PV}.tar.bz2" +KEYWORDS="~arm64" + +LICENSE="BSD-2" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/cJSON + net-libs/mbedtls:= +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/librist-v${PV}" + +src_configure() { + local emesonargs=( + -Dstatic_analyze=false + $(meson_use test) + -Dbuiltin_cjson=false + -Dbuiltin_mbedtls=false + # Tools have automagic libmicrohttpd dep for prometheus; + # needs solved before exposing; look into use_tun once enabled + -Dbuilt_tools=false + -Dfallback_builtin=false + -Duse_mbedtls=true + -Duse_nettle=false + -Duse_tun=false # Used only by tools + ) + meson_src_configure +} + +src_test() { + # multicast tests fails with FEATURES=network-sandbox + meson_src_test --no-suite multicast +} -- cgit v1.2.3