* [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/, net-libs/srt/files/
@ 2018-11-27 14:34 Craig Andrews
0 siblings, 0 replies; 5+ messages in thread
From: Craig Andrews @ 2018-11-27 14:34 UTC (permalink / raw
To: gentoo-commits
commit: e85481619918ebda09deae2fedf46c5ded6665f8
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 26 17:49:51 2018 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Nov 27 14:34:38 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8548161
net-libs/srt: 1.3.1 version bump
Closes: https://bugs.gentoo.org/671986
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
net-libs/srt/Manifest | 1 +
net-libs/srt/files/srt-1.3.1-no-rpath.patch | 28 +++++++++++++
net-libs/srt/files/srt-always-GNUInstallDirs.patch | 25 +++++++++++
net-libs/srt/srt-1.3.1.ebuild | 49 ++++++++++++++++++++++
4 files changed, 103 insertions(+)
diff --git a/net-libs/srt/Manifest b/net-libs/srt/Manifest
index 38bbc15549b..7c2f685cb52 100644
--- a/net-libs/srt/Manifest
+++ b/net-libs/srt/Manifest
@@ -1 +1,2 @@
DIST srt-1.2.2.tar.gz 634049 BLAKE2B 1f650c5d8ab470829212b9c4a1082eb1de4480c8bad4b787a63a2b9c06cb7c8c0ad3a80a06ec5b13e629ec2d18a025ff36e3dcdaa9de8359805e3ff4c1b4d963 SHA512 cb897c97d5fd93b333c8de0805c78c940650a2daf8d821e09e3fb01c7e4b56bd7513cf28545f7ac422fba9fa8420b745f397359a4b9e81cff496c776820ea90a
+DIST srt-1.3.1.tar.gz 783953 BLAKE2B 647a67fbc8806f35b6ebc5c24236664262abbccaf41668f3b3db76055917cff767b6d04b1fdd97b676772fbb561f36f3d2f712e1d1165a26033f728c1bf9efdc SHA512 1f8fdfc0e1d92bc8c477651982c23afeacb65e2293a7225227927e1b6f71a01355a3311600097d77b3df638503e4856acbcb52ed270b650480f20b98c1be5ec2
diff --git a/net-libs/srt/files/srt-1.3.1-no-rpath.patch b/net-libs/srt/files/srt-1.3.1-no-rpath.patch
new file mode 100644
index 00000000000..6e3650709c6
--- /dev/null
+++ b/net-libs/srt/files/srt-1.3.1-no-rpath.patch
@@ -0,0 +1,28 @@
+From a90e6ab27bc20fa34536c19828db5be44be4ef4d Mon Sep 17 00:00:00 2001
+From: Craig Andrews <candrews@integralblue.com>
+Date: Mon, 26 Nov 2018 21:51:20 -0500
+Subject: [PATCH] Do not force rpath on Linux
+
+---
+ CMakeLists.txt | 8 --------
+ 1 file changed, 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index eb2582c..60c4507 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -663,14 +663,6 @@ macro(srt_make_application name)
+ # set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+ # set (FORCE_RPATH BUILD_WITH_INSTALL_RPATH TRUE INSTALL_RPATH_USE_LINK_PATH TRUE)
+
+- if (LINUX)
+- # This is only needed on Linux, on Windows (including Cygwin) the library file will
+- # be placed into the binrary directory anyway.
+- # XXX not sure about Mac.
+- # See this name used already in install(${TARGET_srt} LIBRARY DESTINATION...).
+- set(FORCE_RPATH LINK_FLAGS -Wl,-rpath,.,-rpath,../${CMAKE_INSTALL_LIBDIR} BUILD_WITH_INSTALL_RPATH TRUE INSTALL_RPATH_USE_LINK_PATH TRUE)
+- endif()
+-
+ # We state that Darwin always uses CLANG compiler, which honors this flag the same way.
+ set_target_properties(${name} PROPERTIES COMPILE_FLAGS "${CFLAGS_CXX_STANDARD} ${EXTRA_stransmit}" ${FORCE_RPATH})
+
diff --git a/net-libs/srt/files/srt-always-GNUInstallDirs.patch b/net-libs/srt/files/srt-always-GNUInstallDirs.patch
new file mode 100644
index 00000000000..94332ad4476
--- /dev/null
+++ b/net-libs/srt/files/srt-always-GNUInstallDirs.patch
@@ -0,0 +1,25 @@
+From 68190ee0db1bc7577f17c51616966f509f971b0a Mon Sep 17 00:00:00 2001
+From: Craig Andrews <candrews@integralblue.com>
+Date: Mon, 26 Nov 2018 12:45:38 -0500
+Subject: [PATCH] Always use GNUInstallDirs
+
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index eb2582c..59a41d4 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -32,9 +32,9 @@ set_if(SYMLINKABLE LINUX OR DARWIN OR CYGWIN)
+ # 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)
++# if (NOT DEFINED CMAKE_INSTALL_LIBDIR)
+ include(GNUInstallDirs)
+-endif()
++# endif()
+
+ set (SRT_VERSION 1.3.1)
+ set_version_variables(SRT_VERSION ${SRT_VERSION})
diff --git a/net-libs/srt/srt-1.3.1.ebuild b/net-libs/srt/srt-1.3.1.ebuild
new file mode 100644
index 00000000000..d326da6dca6
--- /dev/null
+++ b/net-libs/srt/srt-1.3.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-multilib
+
+DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
+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 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="doc libressl gnutls"
+
+RDEPEND="
+ gnutls? ( net-libs/gnutls )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
+ libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
+ )
+"
+DEPEND="${RDEPEND}"
+DOCS=( README.md )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-always-GNUInstallDirs.patch"
+ "${FILESDIR}/${P}-no-rpath.patch"
+)
+
+src_prepare() {
+ cmake-utils_src_prepare
+ sed -i -e "s:hcrypt_ut.c::" "${S}"/haicrypt/*.maf || die
+ sed -i -e 's:DESTINATION lib:DESTINATION lib${LIB_SUFFIX}:' CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_GNUTLS=$(usex gnutls)
+ )
+ cmake-multilib_src_configure
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/, net-libs/srt/files/
@ 2018-12-26 16:37 Luca Barbato
0 siblings, 0 replies; 5+ messages in thread
From: Luca Barbato @ 2018-12-26 16:37 UTC (permalink / raw
To: gentoo-commits
commit: 9feafbf86f1a5cd99f50a010b6a3940e48e10613
Author: Luca Barbato <lu_zero <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 26 16:37:04 2018 +0000
Commit: Luca Barbato <lu_zero <AT> gentoo <DOT> org>
CommitDate: Wed Dec 26 16:37:10 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9feafbf8
net-libs/srt: Fix bug 672088
Thanks to Dennis Schridde <devurandom <AT> gmx.net> for the fix.
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Luca Barbato <lu_zero <AT> gentoo.org>
...-09afc227e0880b12a98e18ee8182f89c3a80e3a6.patch | 64 ++++++++++++++++++++++
net-libs/srt/srt-1.3.1.ebuild | 1 +
2 files changed, 65 insertions(+)
diff --git a/net-libs/srt/files/srt-1.3.1-use-destdir-for-symlinks-09afc227e0880b12a98e18ee8182f89c3a80e3a6.patch b/net-libs/srt/files/srt-1.3.1-use-destdir-for-symlinks-09afc227e0880b12a98e18ee8182f89c3a80e3a6.patch
new file mode 100644
index 00000000000..2859ed1bac3
--- /dev/null
+++ b/net-libs/srt/files/srt-1.3.1-use-destdir-for-symlinks-09afc227e0880b12a98e18ee8182f89c3a80e3a6.patch
@@ -0,0 +1,64 @@
+From 09afc227e0880b12a98e18ee8182f89c3a80e3a6 Mon Sep 17 00:00:00 2001
+From: Dennis Schridde <devurandom@gmx.net>
+Date: Sat, 15 Dec 2018 23:21:17 +0100
+Subject: [PATCH] CMakeLists.txt: Respect DESTDIR when creating stransmit
+ symlink
+
+Fixes: #357
+---
+ CMakeLists.txt | 20 ++++++--------------
+ scripts/haiUtil.cmake | 5 -----
+ 2 files changed, 6 insertions(+), 19 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index eb2582c..fe45919 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -705,28 +705,20 @@ if ( ENABLE_CXX11 )
+ # For backward compatibility with the old name
+ if (SYMLINKABLE)
+ set (REPLI_COMMAND create_symlink )
++ # It appears impossible to get the filename component from the generator
++ # expression $<TARGET_FILE:srt-live-transmit>, hence we predict it as:
++ set (srt_live_transmit_name srt-live-transmit${CMAKE_EXECUTABLE_SUFFIX})
+ else()
+ set (REPLI_COMMAND copy)
++ set (srt_live_transmit_name $<TARGET_FILE:srt-live-transmit>)
+ endif()
+
+ set (stransmit_path $<TARGET_FILE_DIR:srt-live-transmit>/stransmit${CMAKE_EXECUTABLE_SUFFIX})
+ add_custom_command(
+ TARGET srt-live-transmit
+ POST_BUILD
+- COMMAND ${CMAKE_COMMAND} -E ${REPLI_COMMAND} $<TARGET_FILE:srt-live-transmit> ${stransmit_path})
+-
+- if (SYMLINKABLE)
+- message(STATUS "BACKWARD COMPATIBLE 'stransmit': will use symbolic link")
+- srt_install_symlink(srt-live-transmit ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/stransmit)
+- elseif(${CMAKE_MAJOR_VERSION} LESS 3)
+- message(FATAL_ERROR "Your system can't install symbolic link to 'stransmit', copy-on-install requires cmake at least 3.0.2")
+- else()
+- # This installation doesn't work with cmake earlier than 3.0
+- # (looxlike cmake 2.8 somehow doesn't have a problem with resolving the $<TARGET_FILE_DIR:...>
+- # inside the generated makefile, but does have problem with its own generated cmake_install.cmake :D)
+- message(STATUS "BACKWARD COMPATIBLE 'stransmit': will use copying")
+- install(PROGRAMS ${stransmit_path} DESTINATION ${CMAKE_INSTALL_BINDIR})
+- endif()
++ COMMAND ${CMAKE_COMMAND} -E ${REPLI_COMMAND} ${srt_live_transmit_name} ${stransmit_path})
++ install(FILES ${stransmit_path} DESTINATION ${CMAKE_INSTALL_BINDIR})
+
+ srt_add_application(srt-file-transmit ${VIRTUAL_srtsupport})
+
+diff --git a/scripts/haiUtil.cmake b/scripts/haiUtil.cmake
+index 417128d..f60bc11 100644
+--- a/scripts/haiUtil.cmake
++++ b/scripts/haiUtil.cmake
+@@ -48,5 +48,0 @@ FUNCTION(join_arguments outvar)
+-macro(srt_install_symlink filepath sympath)
+- install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${filepath} ${sympath})")
+- install(CODE "message(\"-- Created symlink: ${sympath} -> ${filepath}\")")
+-endmacro(srt_install_symlink)
+-
+--
+2.20.0
+
diff --git a/net-libs/srt/srt-1.3.1.ebuild b/net-libs/srt/srt-1.3.1.ebuild
index d326da6dca6..f73f9d54a82 100644
--- a/net-libs/srt/srt-1.3.1.ebuild
+++ b/net-libs/srt/srt-1.3.1.ebuild
@@ -33,6 +33,7 @@ DOCS=( README.md )
PATCHES=(
"${FILESDIR}/${PN}-always-GNUInstallDirs.patch"
"${FILESDIR}/${P}-no-rpath.patch"
+ "${FILESDIR}/${P}-use-destdir-for-symlinks-09afc227e0880b12a98e18ee8182f89c3a80e3a6.patch"
)
src_prepare() {
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/, net-libs/srt/files/
@ 2021-05-04 22:49 Sam James
0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2021-05-04 22:49 UTC (permalink / raw
To: gentoo-commits
commit: 332813b29e4350f990a51934bc7a975794ef4fda
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 4 22:49:11 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 4 22:49:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=332813b2
net-libs/srt: fix build with GCC 11
Closes: https://bugs.gentoo.org/787023
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/srt/files/srt-1.4.2-cxx-include-gcc11.patch | 19 +++++++++++++++++++
net-libs/srt/srt-1.4.2.ebuild | 1 +
2 files changed, 20 insertions(+)
diff --git a/net-libs/srt/files/srt-1.4.2-cxx-include-gcc11.patch b/net-libs/srt/files/srt-1.4.2-cxx-include-gcc11.patch
new file mode 100644
index 00000000000..16c57af8092
--- /dev/null
+++ b/net-libs/srt/files/srt-1.4.2-cxx-include-gcc11.patch
@@ -0,0 +1,19 @@
+https://bugs.gentoo.org/787023
+https://github.com/Haivision/srt/commit/f1b35cbf5b9b42b031e9b119e4c802b5f744468c
+
+From f1b35cbf5b9b42b031e9b119e4c802b5f744468c Mon Sep 17 00:00:00 2001
+From: Christophe Giboudeaux <krop@users.noreply.github.com>
+Date: Wed, 10 Feb 2021 12:42:45 +0000
+Subject: [PATCH] [core] Fix build with GCC 11. (#1806)
+
+The 'limits' header must be included explicitly.
+--- a/srtcore/sync.h
++++ b/srtcore/sync.h
+@@ -15,6 +15,7 @@
+ //#define ENABLE_CXX17
+
+ #include <cstdlib>
++#include <limits>
+ #ifdef ENABLE_STDCXX_SYNC
+ #include <chrono>
+ #include <thread>
diff --git a/net-libs/srt/srt-1.4.2.ebuild b/net-libs/srt/srt-1.4.2.ebuild
index cbade3405e2..de77f27cd91 100644
--- a/net-libs/srt/srt-1.4.2.ebuild
+++ b/net-libs/srt/srt-1.4.2.ebuild
@@ -34,6 +34,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-always-GNUInstallDirs.patch"
+ "${FILESDIR}/${P}-cxx-include-gcc11.patch"
)
src_prepare() {
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/, net-libs/srt/files/
@ 2021-07-10 17:28 Sam James
0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2021-07-10 17:28 UTC (permalink / raw
To: gentoo-commits
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
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/, net-libs/srt/files/
@ 2023-10-05 21:07 Mart Raudsepp
0 siblings, 0 replies; 5+ messages in thread
From: Mart Raudsepp @ 2023-10-05 21:07 UTC (permalink / raw
To: gentoo-commits
commit: 205f2ad608baa06f3eda1632a76b20f56e923682
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 5 21:01:42 2023 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Thu Oct 5 21:06:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=205f2ad6
net-libs/srt: drop 1.4.3
Bug: https://bugs.gentoo.org/817818
Signed-off-by: Mart Raudsepp <leio <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 | 51 ----------------------
3 files changed, 79 deletions(-)
diff --git a/net-libs/srt/Manifest b/net-libs/srt/Manifest
index 9916a246cda6..63af13697704 100644
--- a/net-libs/srt/Manifest
+++ b/net-libs/srt/Manifest
@@ -1,3 +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
DIST srt-1.5.3.tar.gz 1706632 BLAKE2B fd053782e58602ccd06690c5785b68ff20531afd890678fbd77660e376887b0886cc020d449e2669672748c3d1a515b56d9fd94670c33d085eadb961220a7431 SHA512 5b576d6fd325515e05074e4568e3b65d1ae265e3e971db6e6242e5138243fc1594df1e3a7d90962385dac38abc34c4c4b0a567439050f8c0ff818b3b3d497efc
diff --git a/net-libs/srt/files/1.4.3-always-GNUInstallDirs.patch b/net-libs/srt/files/1.4.3-always-GNUInstallDirs.patch
deleted file mode 100644
index f561d789af3f..000000000000
--- a/net-libs/srt/files/1.4.3-always-GNUInstallDirs.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-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
deleted file mode 100644
index dfa02328aca0..000000000000
--- a/net-libs/srt/srt-1.4.3.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 2018-2022 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/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
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-10-05 21:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-10 17:28 [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/, net-libs/srt/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2023-10-05 21:07 Mart Raudsepp
2021-05-04 22:49 Sam James
2018-12-26 16:37 Luca Barbato
2018-11-27 14:34 Craig Andrews
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox