mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-libs/srt: Initial package
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
1
net-libs/srt/Manifest
Normal file
1
net-libs/srt/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST srt-1.2.2.tar.gz 634049 BLAKE2B 1f650c5d8ab470829212b9c4a1082eb1de4480c8bad4b787a63a2b9c06cb7c8c0ad3a80a06ec5b13e629ec2d18a025ff36e3dcdaa9de8359805e3ff4c1b4d963 SHA512 cb897c97d5fd93b333c8de0805c78c940650a2daf8d821e09e3fb01c7e4b56bd7513cf28545f7ac422fba9fa8420b745f397359a4b9e81cff496c776820ea90a
|
||||
11
net-libs/srt/metadata.xml
Normal file
11
net-libs/srt/metadata.xml
Normal file
@@ -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>
|
||||
41
net-libs/srt/srt-1.2.2.ebuild
Normal file
41
net-libs/srt/srt-1.2.2.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user