diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-27 22:40:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-27 22:40:05 +0100 |
commit | 8c364c784966be1700ea39ae45028f3e9be9cae0 (patch) | |
tree | c1971211069b79e3831b71accd52a67a9fdc77a3 /net-libs/srt | |
parent | 6bd95d1f6320b8666a31ec949183aaa3088aa16f (diff) |
gentoo resync : 27.03.2018
Diffstat (limited to 'net-libs/srt')
-rw-r--r-- | net-libs/srt/Manifest | 3 | ||||
-rw-r--r-- | net-libs/srt/metadata.xml | 11 | ||||
-rw-r--r-- | net-libs/srt/srt-1.2.2.ebuild | 41 |
3 files changed, 55 insertions, 0 deletions
diff --git a/net-libs/srt/Manifest b/net-libs/srt/Manifest new file mode 100644 index 000000000000..9e555977c928 --- /dev/null +++ b/net-libs/srt/Manifest @@ -0,0 +1,3 @@ +DIST srt-1.2.2.tar.gz 634049 BLAKE2B 1f650c5d8ab470829212b9c4a1082eb1de4480c8bad4b787a63a2b9c06cb7c8c0ad3a80a06ec5b13e629ec2d18a025ff36e3dcdaa9de8359805e3ff4c1b4d963 SHA512 cb897c97d5fd93b333c8de0805c78c940650a2daf8d821e09e3fb01c7e4b56bd7513cf28545f7ac422fba9fa8420b745f397359a4b9e81cff496c776820ea90a +EBUILD srt-1.2.2.ebuild 1055 BLAKE2B 3548583311b1ea6d21c20ff9752cd29968d8357b99821d56b7f894495efa11eb31e2624f8cc45d6ef50915c188ebf0f9ee7579fe4502c48eb3ab919ffcbe004e SHA512 a85446242b4830255ea70b9b2632dfb404178056b29009e6facffc6ac35dc708c018baf8c48dd9f97d5bed1bf7109fe6df0946173c072264f95635180e395c5f +MISC metadata.xml 324 BLAKE2B e4ec422ef551112cbabbcf38a7e2cb7afbcdfe7b731aa3c1bf38536dc588102fb891e0ad619fb7027d55bc51c87b66f665c6500d488582dca753e48d03d632c1 SHA512 a01b2427991b2a6fb99a6bee4cfe0f1653a5ab640febe2ecbb0b0d0c0453f58aeea033865babb58d7aea338900a1a6924caf691c272c6750ca031bdb0894ddf1 diff --git a/net-libs/srt/metadata.xml b/net-libs/srt/metadata.xml new file mode 100644 index 000000000000..b865368cdf49 --- /dev/null +++ b/net-libs/srt/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>lu_zero@gentoo.org</email> + <name>Luca Barbato</name> + </maintainer> + <upstream> + <remote-id type="github">Haivision/srt</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-libs/srt/srt-1.2.2.ebuild b/net-libs/srt/srt-1.2.2.ebuild new file mode 100644 index 000000000000..66d1b1dadb46 --- /dev/null +++ b/net-libs/srt/srt-1.2.2.ebuild @@ -0,0 +1,41 @@ +# 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 +} |