summaryrefslogtreecommitdiff
path: root/net-libs/librist
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/librist')
-rw-r--r--net-libs/librist/Manifest3
-rw-r--r--net-libs/librist/librist-0.2.8.ebuild48
-rw-r--r--net-libs/librist/metadata.xml8
3 files changed, 59 insertions, 0 deletions
diff --git a/net-libs/librist/Manifest b/net-libs/librist/Manifest
new file mode 100644
index 000000000000..a202a0560713
--- /dev/null
+++ b/net-libs/librist/Manifest
@@ -0,0 +1,3 @@
+DIST librist-v0.2.8.tar.bz2 2580630 BLAKE2B 665b8111dceb12d86a51739c1e3205f4cf1059fbb14909db3988ad0529c9a11bd25b73b82d4f3e4e85fef1036d3d25d390b3eeac82ed15bab4145e52c46e8ee8 SHA512 05fe5eec411a53c9cf3f55a60b8aed1881f9ebe2960b3ac5f157a1c5c9f42865da58bb90a2f891450f1ae9178b949cdad282dfa3f216599a50b87da92b8a7449
+EBUILD librist-0.2.8.ebuild 1078 BLAKE2B be8955f565925edc02dfc325bd63f7558b8a00684732d8b1bf00287cb777e0b24fb97c2efb74c932e341b7e4f59c4180777b0b584552e65f6a76ffb1db761829 SHA512 e4eb43f0a4fbde6c8dbe7c40f995c5b0dc18e6d304e318f6489c729c5434498243413897f3fd3645ea8cd2bdf1dcc8d7ff4a3347434deb2a6e30b78b5facf9bb
+MISC metadata.xml 245 BLAKE2B ab350a90c1ad1c92a5501fc0cc1ebc4e74b4e4cd7ae62d799d0c6252aa2b7870d097491c1652d8802ff3f09d2c32168dc8352925e2e7e634c0765c8e058767ee SHA512 7c8642b6ad51f52af088bfa8d4794519ef6cf59752bf428ba1c6be407b47336a30a7a9a4c6a5a52957efb3f8b695adeaf87ebafa49e61d0b8131b65a2a527afc
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
+}
diff --git a/net-libs/librist/metadata.xml b/net-libs/librist/metadata.xml
new file mode 100644
index 000000000000..f3a2d1816285
--- /dev/null
+++ b/net-libs/librist/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="person">
+ <email>leio@gentoo.org</email>
+ <name>Mart Raudsepp</name>
+ </maintainer>
+</pkgmetadata>