From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 15672138334 for ; Fri, 22 Nov 2019 09:18:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40E17E084A; Fri, 22 Nov 2019 09:18:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 12051E084A for ; Fri, 22 Nov 2019 09:18:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0590F34D1E0 for ; Fri, 22 Nov 2019 09:18:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0954D744 for ; Fri, 22 Nov 2019 09:18:28 +0000 (UTC) From: "Luca Barbato" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Luca Barbato" Message-ID: <1574414299.6b621774062202fee877bb9509c8c7fcc688013f.lu_zero@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/srt/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/srt/Manifest net-libs/srt/srt-1.4.0.ebuild X-VCS-Directories: net-libs/srt/ X-VCS-Committer: lu_zero X-VCS-Committer-Name: Luca Barbato X-VCS-Revision: 6b621774062202fee877bb9509c8c7fcc688013f X-VCS-Branch: master Date: Fri, 22 Nov 2019 09:18:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 758deba7-8afb-4098-bdaa-35bf4fe02839 X-Archives-Hash: 31403741ba45521a4d0f294044c7e4d2 commit: 6b621774062202fee877bb9509c8c7fcc688013f Author: Luca Barbato gentoo org> AuthorDate: Fri Nov 22 09:16:17 2019 +0000 Commit: Luca Barbato gentoo org> CommitDate: Fri Nov 22 09:18:19 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b621774 net-libs/srt: Version bump Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Luca Barbato gentoo.org> net-libs/srt/Manifest | 1 + net-libs/srt/srt-1.4.0.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/net-libs/srt/Manifest b/net-libs/srt/Manifest index 187ef5fee05..a2f532bcdb7 100644 --- a/net-libs/srt/Manifest +++ b/net-libs/srt/Manifest @@ -1 +1,2 @@ DIST srt-1.3.2.tar.gz 812053 BLAKE2B 97e9053fb80da967d0ce90b0276f37d23c93b8c9847910559a12f672c1f224b9069955f57b920417b205374e921f7dbdabf96a66f5cad59e14e85506e5d19d89 SHA512 7cd8b64fafe99c47f82ba3b0c34436353161cd829bbe639038e995a0a39557f9c754a3dcadf4cf7ca587779ce185325ba88e391a058818b84b9ed32212a88817 +DIST srt-1.4.0.tar.gz 1293647 BLAKE2B 93edaa8b1d2b59776bc3efc851a5216e0acef3766b47100646306bb04e3054d4cdf612da07bc5d1124380abe595733393d7e47f1885282a75e24f34b688ddb1e SHA512 b22e7c98b3a5f8ad9647f03bc697254f0f3637716a84b077307f894a193bcf0348c9c10bf09e2ae197f5c721bd6118e2b6134d6770f80eb440783c2d87dd5248 diff --git a/net-libs/srt/srt-1.4.0.ebuild b/net-libs/srt/srt-1.4.0.ebuild new file mode 100644 index 00000000000..056c2e8271b --- /dev/null +++ b/net-libs/srt/srt-1.4.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2018-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 ~ppc-macos ~x64-macos ~x86-macos" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="gnutls libressl" + +DEPEND=" + gnutls? ( + dev-libs/nettle:0=[${MULTILIB_USEDEP}] + net-libs/gnutls:0=[${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" +) + +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 +}