From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/
Date: Fri, 7 Apr 2023 02:33:58 +0000 (UTC) [thread overview]
Message-ID: <1680834625.a02d2e6647d0ba499056d5d21f2f99b6c522245b.sam@gentoo> (raw)
commit: a02d2e6647d0ba499056d5d21f2f99b6c522245b
Author: Matoro Mahri <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Wed Mar 22 21:48:00 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 7 02:30:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a02d2e66
net-libs/srt: add 1.5.1, wire up tests
These currently DO NOT PASS on big-endian, see https://github.com/Haivision/srt/issues/2697
Bug: https://bugs.gentoo.org/900240
Signed-off-by: Matoro Mahri <matoro <AT> users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/30307
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/srt/Manifest | 1 +
net-libs/srt/srt-1.5.1.ebuild | 55 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/net-libs/srt/Manifest b/net-libs/srt/Manifest
index 5bbb8b68dc67..1a37b93fb5a5 100644
--- a/net-libs/srt/Manifest
+++ b/net-libs/srt/Manifest
@@ -1 +1,2 @@
DIST srt-1.4.3.tar.gz 1602671 BLAKE2B ed4ec46cab887461f6dccfc2d695fe78a3782f42f4ef6c3ac5ba6e2ea068a7943eb8079c0a448f35864c575009d556363bcfe7d815d0f47a368001a3df478837 SHA512 5cd15fd0c7b324226ab096c1b6c6f81b4ce5600617e1bd2c38985f18d7d551c9a4a09b1e34c7a705c92ae54bb57c5d736ca7eff6e4992e67666aa167e0da855f
+DIST srt-1.5.1.tar.gz 1694199 BLAKE2B 4c215ef936100b02b3a5a9aab6e9a715ecdb728517b0648e91f2144bb34a34cb1573c4e6905441a366ea281c9410c2d00d5ebc64144f327f7a115d81038942af SHA512 f3aa1f7773540e2dd31cd19b124eec3c3d830f59c08d953cae01e129a58db7e639bdf94c8a5a678435ae9a1d2402e2c77196fc9c4e75b42aa37d8eafcc16f436
diff --git a/net-libs/srt/srt-1.5.1.ebuild b/net-libs/srt/srt-1.5.1.ebuild
new file mode 100644
index 000000000000..8449fb1cbaa4
--- /dev/null
+++ b/net-libs/srt/srt-1.5.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2018-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-multilib
+
+DESCRIPTION="Secure Reliable Transport (SRT) library and tools"
+HOMEPAGE="https://github.com/Haivision/srt"
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/Haivision/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/Haivision/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv -sparc ~x86 ~ppc-macos ~x64-macos"
+fi
+
+LICENSE="MPL-2.0"
+SLOT="0/$(ver_cut 1-2)"
+IUSE="gnutls test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ gnutls? (
+ dev-libs/nettle:0=[${MULTILIB_USEDEP}]
+ net-libs/gnutls:0=[${MULTILIB_USEDEP}]
+ )
+ !gnutls? (
+ dev-libs/openssl:0=[${MULTILIB_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+ test? ( >=dev-cpp/gtest-1.8[${MULTILIB_USEDEP}] )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_STATIC=OFF
+ -DENABLE_UNITTESTS=$(usex test)
+ -DENABLE_TESTING=$(usex test)
+ -DUSE_GNUTLS=$(usex gnutls)
+ )
+ cmake-multilib_src_configure
+}
+
+multilib_src_test() {
+ cmake_src_test -j1
+}
+
+multilib_src_install() {
+ cmake_src_install
+ # remove old upstream temporary compatibility pc
+ rm "${ED}/usr/$(get_libdir)/pkgconfig/haisrt.pc" || die
+}
next reply other threads:[~2023-04-07 2:34 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-07 2:33 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-30 19:17 [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/ Sam James
2025-05-20 18:54 Arthur Zamarin
2025-05-20 18:39 Arthur Zamarin
2025-05-18 12:28 Arthur Zamarin
2025-05-18 10:18 Arthur Zamarin
2025-05-18 10:18 Arthur Zamarin
2025-01-23 23:55 Jakov Smolić
2025-01-23 23:55 Jakov Smolić
2025-01-23 21:59 Sam James
2025-01-23 21:59 Sam James
2025-01-23 20:58 Sam James
2025-01-07 23:19 Mart Raudsepp
2024-03-27 6:00 Sam James
2023-11-17 7:47 Sam James
2023-10-05 21:07 Mart Raudsepp
2023-10-05 20:05 Sam James
2023-05-10 0:33 Sam James
2023-05-05 9:27 Arthur Zamarin
2023-05-04 15:17 Arthur Zamarin
2023-05-04 15:04 Arthur Zamarin
2023-05-04 14:40 Jakov Smolić
2023-04-07 2:34 Sam James
2023-03-22 18:53 Andreas Sturmlechner
2022-08-29 14:49 Jakov Smolić
2022-08-29 14:49 Jakov Smolić
2022-08-28 18:18 Arthur Zamarin
2022-08-28 18:03 Arthur Zamarin
2022-08-28 16:32 Arthur Zamarin
2022-08-28 16:32 Arthur Zamarin
2021-08-21 8:44 Marek Szuba
2021-05-30 19:35 Andreas Sturmlechner
2021-05-03 9:01 Mikle Kolyada
2021-04-12 12:54 John Helmert III
2021-02-25 15:38 Andreas Sturmlechner
2021-01-24 3:52 Sam James
2021-01-23 22:51 Sam James
2021-01-23 4:20 Sam James
2021-01-20 7:55 Agostino Sarubbo
2020-11-25 20:51 Mart Raudsepp
2020-11-25 20:51 Mart Raudsepp
2020-05-14 21:26 Mart Raudsepp
2020-05-14 13:25 Agostino Sarubbo
2020-05-14 13:24 Agostino Sarubbo
2020-05-14 13:23 Agostino Sarubbo
2020-05-14 13:23 Agostino Sarubbo
2020-05-14 13:22 Agostino Sarubbo
2020-05-13 21:28 Mart Raudsepp
2020-04-22 8:33 David Seifert
2020-02-18 12:15 Mart Raudsepp
2020-02-18 12:15 Mart Raudsepp
2019-11-23 13:17 Luca Barbato
2019-11-22 9:18 Luca Barbato
2019-09-29 2:56 Mike Gilbert
2019-07-28 13:53 Mikle Kolyada
2019-06-07 10:05 Agostino Sarubbo
2019-06-06 21:24 Sergei Trofimovich
2019-05-21 21:50 Aaron Bauman
2019-05-20 11:33 Mikle Kolyada
2019-05-19 13:14 Thomas Deutschmann
2019-05-12 22:03 Sergei Trofimovich
2019-05-12 21:57 Sergei Trofimovich
2019-03-03 13:08 Luca Barbato
2019-02-21 11:15 Andreas Sturmlechner
2019-02-19 11:37 Alexis Ballier
2019-02-16 18:04 Andreas Sturmlechner
2019-02-16 18:04 Andreas Sturmlechner
2018-11-27 14:34 Craig Andrews
2018-03-26 17:04 Luca Barbato
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1680834625.a02d2e6647d0ba499056d5d21f2f99b6c522245b.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox