diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2019-03-03 12:53:23 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2019-03-03 13:07:52 +0000 |
commit | fcfd2cef53139e2c212405bbde5b01bb7e82be1a (patch) | |
tree | 0a67f9eb505f55af23fc95ef0bb4595c682f3d3a /net-libs | |
parent | virtual/python-futures: m68k stable wrt bug #676562 (diff) | |
download | gentoo-fcfd2cef53139e2c212405bbde5b01bb7e82be1a.tar.gz gentoo-fcfd2cef53139e2c212405bbde5b01bb7e82be1a.tar.bz2 gentoo-fcfd2cef53139e2c212405bbde5b01bb7e82be1a.zip |
net-libs/srt: Version Bump
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/srt/Manifest | 1 | ||||
-rw-r--r-- | net-libs/srt/srt-1.3.2.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/net-libs/srt/Manifest b/net-libs/srt/Manifest index 7c2f685cb523..76a817b23a7a 100644 --- a/net-libs/srt/Manifest +++ b/net-libs/srt/Manifest @@ -1,2 +1,3 @@ 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/srt-1.3.2.ebuild b/net-libs/srt/srt-1.3.2.ebuild new file mode 100644 index 000000000000..416d89756e91 --- /dev/null +++ b/net-libs/srt/srt-1.3.2.ebuild @@ -0,0 +1,49 @@ +# 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" +) + +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 +} |