commit:     80565dd361ddb4287a8346238b98e2ec3100e821
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 28 21:18:46 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 28 21:20:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80565dd3

net-libs/srt: Drop 1.2.2 and 1.3.1-r1

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/srt/Manifest                              |  2 -
 net-libs/srt/files/srt-1.3.1-no-rpath.patch        | 28 ----------
 ...-09afc227e0880b12a98e18ee8182f89c3a80e3a6.patch | 64 ----------------------
 net-libs/srt/srt-1.2.2.ebuild                      | 41 --------------
 net-libs/srt/srt-1.3.1-r1.ebuild                   | 51 -----------------
 5 files changed, 186 deletions(-)

diff --git a/net-libs/srt/Manifest b/net-libs/srt/Manifest
index 76a817b23a7..187ef5fee05 100644
--- a/net-libs/srt/Manifest
+++ b/net-libs/srt/Manifest
@@ -1,3 +1 @@
-DIST srt-1.2.2.tar.gz 634049 BLAKE2B 
1f650c5d8ab470829212b9c4a1082eb1de4480c8bad4b787a63a2b9c06cb7c8c0ad3a80a06ec5b13e629ec2d18a025ff36e3dcdaa9de8359805e3ff4c1b4d963
 SHA512 
cb897c97d5fd93b333c8de0805c78c940650a2daf8d821e09e3fb01c7e4b56bd7513cf28545f7ac422fba9fa8420b745f397359a4b9e81cff496c776820ea90a
-DIST srt-1.3.1.tar.gz 783953 BLAKE2B 
647a67fbc8806f35b6ebc5c24236664262abbccaf41668f3b3db76055917cff767b6d04b1fdd97b676772fbb561f36f3d2f712e1d1165a26033f728c1bf9efdc
 SHA512 
1f8fdfc0e1d92bc8c477651982c23afeacb65e2293a7225227927e1b6f71a01355a3311600097d77b3df638503e4856acbcb52ed270b650480f20b98c1be5ec2
 DIST srt-1.3.2.tar.gz 812053 BLAKE2B 
97e9053fb80da967d0ce90b0276f37d23c93b8c9847910559a12f672c1f224b9069955f57b920417b205374e921f7dbdabf96a66f5cad59e14e85506e5d19d89
 SHA512 
7cd8b64fafe99c47f82ba3b0c34436353161cd829bbe639038e995a0a39557f9c754a3dcadf4cf7ca587779ce185325ba88e391a058818b84b9ed32212a88817

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
deleted file mode 100644
index 6e3650709c6..00000000000
--- a/net-libs/srt/files/srt-1.3.1-no-rpath.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From a90e6ab27bc20fa34536c19828db5be44be4ef4d Mon Sep 17 00:00:00 2001
-From: Craig Andrews <candr...@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-1.3.1-use-destdir-for-symlinks-09afc227e0880b12a98e18ee8182f89c3a80e3a6.patch
 
b/net-libs/srt/files/srt-1.3.1-use-destdir-for-symlinks-09afc227e0880b12a98e18ee8182f89c3a80e3a6.patch
deleted file mode 100644
index 2859ed1bac3..00000000000
--- 
a/net-libs/srt/files/srt-1.3.1-use-destdir-for-symlinks-09afc227e0880b12a98e18ee8182f89c3a80e3a6.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From 09afc227e0880b12a98e18ee8182f89c3a80e3a6 Mon Sep 17 00:00:00 2001
-From: Dennis Schridde <devuran...@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.2.2.ebuild b/net-libs/srt/srt-1.2.2.ebuild
deleted file mode 100644
index 66d1b1dadb4..00000000000
--- a/net-libs/srt/srt-1.2.2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# 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";
-SRC_URI="https://github.com/Haivision/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd 
~ppc-macos ~x64-macos ~x86-macos"
-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}/${P} )
-
-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
-}

diff --git a/net-libs/srt/srt-1.3.1-r1.ebuild b/net-libs/srt/srt-1.3.1-r1.ebuild
deleted file mode 100644
index 4233da5f8f4..00000000000
--- a/net-libs/srt/srt-1.3.1-r1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 
~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
-fi
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-IUSE="gnutls libressl"
-
-DEPEND="
-       gnutls? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
-       !gnutls? (
-               !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
-               libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
-       )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=( README.md )
-
-PATCHES=(
-       "${FILESDIR}/${PN}-always-GNUInstallDirs.patch"
-       "${FILESDIR}/${P}-no-rpath.patch"
-       
"${FILESDIR}/${P}-use-destdir-for-symlinks-09afc227e0880b12a98e18ee8182f89c3a80e3a6.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
-}

Reply via email to