From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/, net-libs/srt/files/
Date: Sat, 10 Jul 2021 17:28:52 +0000 (UTC) [thread overview]
Message-ID: <1625938123.97d2488a8f797fa63e3cc4c6b950fd83895c1e44.sam@gentoo> (raw)
commit: 97d2488a8f797fa63e3cc4c6b950fd83895c1e44
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 10 12:00:06 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 10 17:28:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97d2488a
net-libs/srt: bump to 1.4.3
Closes: https://bugs.gentoo.org/788256
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/srt/Manifest | 1 +
.../srt/files/1.4.3-always-GNUInstallDirs.patch | 27 +++++++++++
net-libs/srt/srt-1.4.3.ebuild | 52 ++++++++++++++++++++++
3 files changed, 80 insertions(+)
diff --git a/net-libs/srt/Manifest b/net-libs/srt/Manifest
index c57c0c949f1..eadddf1a977 100644
--- a/net-libs/srt/Manifest
+++ b/net-libs/srt/Manifest
@@ -1 +1,2 @@
DIST srt-1.4.2.tar.gz 1538231 BLAKE2B 1b3f625bb5a6436d6c35f957796217ed8c7f9d2412e96cbb2b83b8372f0738b5c9219b218b644e74f6f16457d1b8606fedc238310e800cce84fe127f86b33be1 SHA512 4c978e3898737e566f47222a0095df1b49591d79927850cc94c838b7eaccf401faf1c5d038fa45b6fd30c85f980e7c212a79c07ed6f9008430e8a5a594a31ffe
+DIST srt-1.4.3.tar.gz 1602671 BLAKE2B ed4ec46cab887461f6dccfc2d695fe78a3782f42f4ef6c3ac5ba6e2ea068a7943eb8079c0a448f35864c575009d556363bcfe7d815d0f47a368001a3df478837 SHA512 5cd15fd0c7b324226ab096c1b6c6f81b4ce5600617e1bd2c38985f18d7d551c9a4a09b1e34c7a705c92ae54bb57c5d736ca7eff6e4992e67666aa167e0da855f
diff --git a/net-libs/srt/files/1.4.3-always-GNUInstallDirs.patch b/net-libs/srt/files/1.4.3-always-GNUInstallDirs.patch
new file mode 100644
index 00000000000..f561d789af3
--- /dev/null
+++ b/net-libs/srt/files/1.4.3-always-GNUInstallDirs.patch
@@ -0,0 +1,27 @@
+From 4036afdcd07083159d66c6e12caa20d6ac6d4926 Mon Sep 17 00:00:00 2001
+From: Mart Raudsepp <leio@gentoo.org>
+Date: Sat, 10 Jul 2021 15:02:35 +0300
+Subject: [PATCH] [build] Always use GNUInstallDirs
+
+---
+ CMakeLists.txt | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 25f34c8..fe23f90 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -47,9 +47,7 @@ set_if(SYMLINKABLE LINUX OR DARWIN OR BSD OR CYGWIN OR GNU)
+ # inside "bin" and "lib64" directories. At least this maintains
+ # the current status. Shall this be not desired, override values
+ # of CMAKE_INSTALL_BINDIR, CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR.
+-if (NOT DEFINED CMAKE_INSTALL_LIBDIR)
+- include(GNUInstallDirs)
+-endif()
++include(GNUInstallDirs)
+
+ # The CMAKE_BUILD_TYPE seems not to be always set, weird.
+ if (NOT DEFINED ENABLE_DEBUG)
+--
+2.32.0
+
diff --git a/net-libs/srt/srt-1.4.3.ebuild b/net-libs/srt/srt-1.4.3.ebuild
new file mode 100644
index 00000000000..43aab4cc5c0
--- /dev/null
+++ b/net-libs/srt/srt-1.4.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2018-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+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 ~ppc ~ppc64 -sparc ~x86 ~ppc-macos ~x64-macos"
+fi
+
+LICENSE="MPL-2.0"
+SLOT="0/1.4.3"
+IUSE="gnutls"
+
+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"
+
+PATCHES=(
+ "${FILESDIR}/${PV}-always-GNUInstallDirs.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_STATIC=OFF
+ -DUSE_GNUTLS=$(usex gnutls)
+ )
+ cmake-multilib_src_configure
+}
+
+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:[~2021-07-10 17:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-10 17:28 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-10-05 21:07 [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/, net-libs/srt/files/ Mart Raudsepp
2021-05-04 22:49 Sam James
2018-12-26 16:37 Luca Barbato
2018-11-27 14:34 Craig Andrews
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=1625938123.97d2488a8f797fa63e3cc4c6b950fd83895c1e44.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