summaryrefslogtreecommitdiff
path: root/net-libs/libsrtp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-25 04:04:27 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-25 04:04:27 +0100
commitb11a5614cb96e70e116581c98abf286c2cf694ca (patch)
treeb602f03c26a8da259d67174441f0630d3fbbfa5d /net-libs/libsrtp
parente7daa1f959ba2c720f36a6984f588098e68b15cd (diff)
gentoo auto-resync : 25:10:2024 - 04:04:26
Diffstat (limited to 'net-libs/libsrtp')
-rw-r--r--net-libs/libsrtp/Manifest2
-rw-r--r--net-libs/libsrtp/libsrtp-2.6.0.ebuild72
2 files changed, 74 insertions, 0 deletions
diff --git a/net-libs/libsrtp/Manifest b/net-libs/libsrtp/Manifest
index 334f77a84002..6e535830196e 100644
--- a/net-libs/libsrtp/Manifest
+++ b/net-libs/libsrtp/Manifest
@@ -6,6 +6,8 @@ AUX libsrtp-2.4.2-doc.patch 1819 BLAKE2B bc4c53bc623f839e8069b24d8bee6a5e6e52f37
AUX libsrtp-pcap-automagic-r0.patch 615 BLAKE2B 5e4edeafd8f9e921c211b67064c72aecd10a708d16c8e89ea6be01ff69126ca546528532b05bc23aae80f07bac6dd2dacfc0ce6b977f6f0efae44ab017ab03d9 SHA512 ee55bdf6f9c77ebacd7469db92f42ed09728fe91a81496ff425c07ad8610e9998fec2a8992b4fafd7c684bb06989837b0244172ed96483984d1c2e6ff6c0dc0c
DIST libsrtp-1.6.0.tar.gz 1648862 BLAKE2B 5526d7659db160df3b6d9f14922bd731d083f04c6dd084ef473c439d720733d0fd8b38bdfe92e30e05a8a94c41df965d04bca52601b2644352428b49b1ed9093 SHA512 5ac712d0d343c3b63ed248503cc7d33c637895a274c4434c91f513be117836f27cd5daba83088b4647bbd9c82d841e216e6346af8d485cb9ddcd35dee21d4887
DIST libsrtp-2.4.2.tar.gz 631393 BLAKE2B a062fb7a92294c66f1876c66bf05d9b11412a170c5f7221089680770ab85a62eabb68f781e487981b28602b1f4f7dbba07ebd44ed0248deaf6b9b56061227534 SHA512 6e4805e6d34b2050a6f68f629b0b42356b1d27f2cbaa6cc6166e56957609c3d9aa6b723dcc674e5c74180d122d27badd2f9496639ccb1e0c210b9e1f7949d0e2
+DIST libsrtp-2.6.0.tar.gz 640699 BLAKE2B dd0962bdaf425db3a244c14bd1c98727417b0626b37949e20c7ce1182e3539313396e8d0901b2a08b12731687bbca4b04d044cc4b07c9b0be4d44261ae21d4ac SHA512 96f6e2b7300a416a10e5cc45cf67dadf2f4f81119267689cac4296e2dc6d73398457d1a56b651ab4be6da9e701564d3f256bf6d5f42add5eb2b9b9fe8e438a74
EBUILD libsrtp-1.6.0-r1.ebuild 2331 BLAKE2B 132acaf4536a39d89a504648b1266a209ddba5933e4acbdbb6d5c37c19d8579436b3e3bc86e0ca05782d11913a2c3cf36dac015938509b87581db6281925865b SHA512 c00e65bead44dcd5d65d32b37f0d429d47fa51d88618c6d35cf7f1c1cea1f16da3dfbf398a4fe9bf66ea420a3991d2c1ec6b78a2117d3360ff601ac63052581d
EBUILD libsrtp-2.4.2.ebuild 1665 BLAKE2B d040aa44390ff35c632111f57a1d5ff3c2e359b3625a7e210a13696dd843291d607a78bcea65f2c94115386f316eba6f68d9d94b6a311e7c6f3f1602321f4925 SHA512 110701fb1b496174d6ba690f31adffb9940b8e95aa9352f04a48a3a8d3dc63f4538fe6123a96639002d619e9ff835fcbb7982e68729e0ba4853715019ec2e3cf
+EBUILD libsrtp-2.6.0.ebuild 1671 BLAKE2B ac0d43a64751ed72874ab445d9d1db4fd475c2796ac410fbb93b680fc7108a31cb2087359104c59848a20b11570c6ccadc876179edeb1ba52ea6b28aa9256739 SHA512 89ff62e08078b87ff286921f56eaf1b42553265f8f5d8791cf1f5bae699ac124bd1ce8b872f6a737ea8845ae7fffbd39b02dacda56b09d58da7d68df10ca886c
MISC metadata.xml 732 BLAKE2B 77564b70a4af50dea6dad18ad1763a5d61fbd8753fef74039b50d9131eb080758e3de2e06736a1665a66bbc716941549ac82efe44f0d58e321778144faf29166 SHA512 f021171abc6eae3bc732e3beac09a5ef126d4c8f31912192db9281cf523d2e2632f740757420b3fb477b88957ace138e03ee752ab44df63b0b16787f1a29e883
diff --git a/net-libs/libsrtp/libsrtp-2.6.0.ebuild b/net-libs/libsrtp/libsrtp-2.6.0.ebuild
new file mode 100644
index 000000000000..08b7a0800f70
--- /dev/null
+++ b/net-libs/libsrtp/libsrtp-2.6.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+DESCRIPTION="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
+HOMEPAGE="https://github.com/cisco/libsrtp"
+SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="2/1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv -sparc ~x86 ~ppc-macos ~x64-macos"
+IUSE="debug doc nss openssl static-libs test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="?? ( nss openssl )"
+
+RDEPEND="
+ openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
+ nss? ( >=dev-libs/nss-3.52[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ doc? ( app-text/doxygen )
+ virtual/pkgconfig
+"
+
+PATCHES=( "${FILESDIR}"/libsrtp-2.4.2-doc.patch )
+
+multilib_src_configure() {
+ local crypto_lib="none"
+ use openssl && crypto_lib="openssl"
+ use nss && crypto_lib="nss"
+
+ # stdout: default error output for messages in debug
+ # openssl-kdf: OpenSSL 1.1.0+
+ local emesonargs=(
+ -Dcrypto-library=${crypto_lib}
+ -Dcrypto-library-kdf=disabled
+ -Dfuzzer=disabled
+ -Dlog-stdout=true
+ -Dpcap-tests=disabled
+ -Ddefault_library=$(usex static-libs both shared)
+
+ $(meson_feature test tests)
+ $(meson_native_use_feature doc)
+ $(meson_use debug debug-logging)
+ )
+ meson_src_configure
+}
+
+multilib_src_compile() {
+ meson_src_compile
+ if multilib_is_native_abi && use doc; then
+ meson_src_compile doc/html
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use doc; then
+ dodoc -r html
+ fi
+ meson_src_install
+}
+
+multilib_src_install_all() {
+ local DOCS=( CHANGES )
+ einstalldocs
+}