diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /net-libs/srt | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'net-libs/srt')
-rw-r--r-- | net-libs/srt/Manifest | 4 | ||||
-rw-r--r-- | net-libs/srt/srt-1.4.0.ebuild | 52 | ||||
-rw-r--r-- | net-libs/srt/srt-9999.ebuild | 2 |
3 files changed, 56 insertions, 2 deletions
diff --git a/net-libs/srt/Manifest b/net-libs/srt/Manifest index b71e7ed2cead..d80ad8f45123 100644 --- a/net-libs/srt/Manifest +++ b/net-libs/srt/Manifest @@ -1,5 +1,7 @@ AUX srt-always-GNUInstallDirs.patch 875 BLAKE2B 22aac6b20131ff48c4f9809de288d3be1d96dbc7929dc211e04aef129dc8d700d298a0e51ebaecdeb67f689f08ec07c76b6f5da0fc0e04a3328db10ca4eb107d SHA512 a85bab8e2c0b10e0aa91cae302005f37851c2387a5e841a391b68ed8b93f088c4b914776c9a2172f914dba5853b78190209d9b3afc5a7c8b320e71707b1a2ea7 DIST srt-1.3.2.tar.gz 812053 BLAKE2B 97e9053fb80da967d0ce90b0276f37d23c93b8c9847910559a12f672c1f224b9069955f57b920417b205374e921f7dbdabf96a66f5cad59e14e85506e5d19d89 SHA512 7cd8b64fafe99c47f82ba3b0c34436353161cd829bbe639038e995a0a39557f9c754a3dcadf4cf7ca587779ce185325ba88e391a058818b84b9ed32212a88817 +DIST srt-1.4.0.tar.gz 1293647 BLAKE2B 93edaa8b1d2b59776bc3efc851a5216e0acef3766b47100646306bb04e3054d4cdf612da07bc5d1124380abe595733393d7e47f1885282a75e24f34b688ddb1e SHA512 b22e7c98b3a5f8ad9647f03bc697254f0f3637716a84b077307f894a193bcf0348c9c10bf09e2ae197f5c721bd6118e2b6134d6770f80eb440783c2d87dd5248 EBUILD srt-1.3.2.ebuild 1247 BLAKE2B 675103c16054fbabfb3481a5dc9b205f9db7ac28080a52fdcfeda7d2a21ec6a5752ad0d6131b4b2736d29f8d9f2c989f506814a206f99fc7896641b1fb31a915 SHA512 35279b41b08407c2c55f15e5ac4d44d6a4b0065a63d8cb93ae1123f9f7ded7c4ef9f09a88495d996fb3fe0c721c672ca00023a7f5bba6ad996be5e6a144de78e -EBUILD srt-9999.ebuild 1349 BLAKE2B 73c3530ff5de95c6eae098377bd1ae88b791f157c441363966e5a98b45b14aee2db1334feb94e7fc3029a1a935e564b8ad33fefe80b0c0aac537b61a78119f06 SHA512 81859b511dadbd45ed92c8fad001e70b39f80533eadbed1024627154da885d4abd1ee9ee031ed85f30786d8e322dbb864ddf90eaed642b74a9ed82407cc5f695 +EBUILD srt-1.4.0.ebuild 1254 BLAKE2B 377d38e6480cd261ea5106b8a735f343850ca52b525ce685bff11a0a1d15462b534f0c12c7aeff804cad91ac3d8ddb4c26c8a08847c9d443638cf06cc145f3b9 SHA512 8cf2d9f7162b27435b6474b57196624c4dc948abfbc4fb06bdc9ad644f8c87b1180783bf464db93018134ab08f86402caaa6ef407c0961ca64c22ec015eb1801 +EBUILD srt-9999.ebuild 1348 BLAKE2B 211466b0989c4a1ba51cd329746bb80410bcc922a30c800333e7dcb34762bf0752ae16847949d6d6b7acc49364b333070becb4e8bdcf205d7d5761f1d2d80f5c SHA512 99b05466a3a7e6809c1a79c07486ba2dafad524cec4e01617f026f2c9f463f079ed2557822477dbb33cb9541e075e892045a1aff7b0ec24148b8f0eef41c8448 MISC metadata.xml 324 BLAKE2B e4ec422ef551112cbabbcf38a7e2cb7afbcdfe7b731aa3c1bf38536dc588102fb891e0ad619fb7027d55bc51c87b66f665c6500d488582dca753e48d03d632c1 SHA512 a01b2427991b2a6fb99a6bee4cfe0f1653a5ab640febe2ecbb0b0d0c0453f58aeea033865babb58d7aea338900a1a6924caf691c272c6750ca031bdb0894ddf1 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 000000000000..7188ae1c913e --- /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="MPL-2.0" +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 +} diff --git a/net-libs/srt/srt-9999.ebuild b/net-libs/srt/srt-9999.ebuild index f5e557bab10e..05f29c86c32e 100644 --- a/net-libs/srt/srt-9999.ebuild +++ b/net-libs/srt/srt-9999.ebuild @@ -16,7 +16,7 @@ else KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos" fi -LICENSE="LGPL-2.1" +LICENSE="MPL-2.0" SLOT="0" IUSE="gnutls libressl test" |