commit:     00de3bc42bdd2cc510ad1952774f94d3ec8535ab
Author:     Dale Showers <gentoo <AT> fictx <DOT> com>
AuthorDate: Thu Oct  3 15:42:38 2024 +0000
Commit:     Dale Showers <gentoo <AT> fictx <DOT> com>
CommitDate: Thu Oct  3 15:42:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=00de3bc4

net-voip/baresip: add 3.16.0

Signed-off-by: Dale Showers <gentoo <AT> fictx.com>

 net-voip/baresip/Manifest              |   1 +
 net-voip/baresip/baresip-3.16.0.ebuild | 109 +++++++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

diff --git a/net-voip/baresip/Manifest b/net-voip/baresip/Manifest
index 866a3db47..658273e6c 100644
--- a/net-voip/baresip/Manifest
+++ b/net-voip/baresip/Manifest
@@ -1,2 +1,3 @@
 DIST baresip-3.14.0.tar.gz 1165155 BLAKE2B 
78ba9cbf35086a6f3d8339f2bfe14a62c26b2fa824b3c8de5233ff63d5b18eacad1e7083926e02eb03f61505ef699cb0652b02b58b17042e789a6c816b2b591a
 SHA512 
280172a1b48d2445f7ed4b05dc1b054fb355e6ed58ae62d6aa03ed70e6c9173a648afec76064f08331a0e11fb249456405566de3890cccf1534281aed238991c
 DIST baresip-3.15.0.tar.gz 1171797 BLAKE2B 
8f8e35de141260c53e88b63ddd8e54bb86bf3e0cf5a01a55dddd1891eeedea03de700399d110e7e095339b719bd74f56206b1bd3671ee349263b4dadd24524d3
 SHA512 
20d426d749c2cdbaab09ed92be5ef089c85bb1bf693eab272de673be1ad5457624487e5de2f4675be6246cfead1b6181e60ec35624aadf88909d0d625228d966
+DIST baresip-3.16.0.tar.gz 1172715 BLAKE2B 
cb1e33ae00c27c9bd1f0ad1abc0115fba345e5b6a4f78423f499d4a319b0013073d57fe42eaf051e86714dfa05ef2644b4eee342f61cbad333b588568d82f7cb
 SHA512 
90a85a36ca9684f32f396fdce21de3df8d203e5821ed214bda15c819aae82ec947a02c46bd2869ca5015cdd9dcab9f4167c6a7893c53e1b9df4e67f29724667a

diff --git a/net-voip/baresip/baresip-3.16.0.ebuild 
b/net-voip/baresip/baresip-3.16.0.ebuild
new file mode 100644
index 000000000..738676914
--- /dev/null
+++ b/net-voip/baresip/baresip-3.16.0.ebuild
@@ -0,0 +1,109 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Baresip is a portable and modular SIP User-Agent"
+HOMEPAGE="https://github.com/baresip/baresip";
+SRC_URI="https://github.com/baresip/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="aac acip alsa amr aptx aom codec2 console dbus echo evdev ffmpeg 
gstreamer
+         gtk3 jack httpd httpreq mpa mqtt opus pipewire portaudio pulseaudio 
sdl
+         serreg snapshot sndfile spandsp static-libs syslog tcpcontrol v4l 
video vpx webrtc X"
+
+RE_PVF="$(ver_cut 1-2)*"
+
+DEPEND="
+       dev-libs/openssl:0=
+       =net-voip/re-${RE_PVF}
+       sys-libs/zlib
+       aac? ( media-libs/fdk-aac )
+       alsa? ( media-libs/alsa-lib )
+       amr? ( media-libs/opencore-amr )
+       aom? ( media-libs/libaom )
+       aptx? ( media-libs/libopenaptx )
+       codec2? ( media-libs/codec2 )
+       dbus? (
+               dev-util/gdbus-codegen
+               sys-apps/dbus
+       )
+       ffmpeg? ( media-video/ffmpeg )
+       gstreamer? (
+               media-libs/gstreamer:1.0
+               media-libs/gst-plugins-base:1.0
+               media-libs/gst-plugins-good:1.0
+       )
+       gtk3? ( x11-libs/gtk+:3 )
+       jack? ( virtual/jack )
+       mpa? (
+               media-sound/twolame
+               media-sound/mpg123
+               media-libs/speexdsp
+       )
+       mqtt? ( app-misc/mosquitto )
+       opus? ( media-libs/opus )
+       pipewire? ( media-video/pipewire )
+       snapshot? ( media-libs/libpng )
+       portaudio? ( media-libs/portaudio )
+       pulseaudio? ( media-libs/libpulse )
+       sdl? ( media-libs/libsdl2 )
+       sndfile? ( media-libs/libsndfile )
+       spandsp? ( media-libs/spandsp )
+       v4l? ( media-libs/libv4l )
+       vpx? ( media-libs/libvpx )
+       webrtc? ( media-plugins/gst-plugins-webrtc )
+       X? ( x11-libs/libX11 )
+       "
+
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       use aac && MODULES+="aac;"
+       use acip && MODULES+="ebuacip;"
+       use alsa && MODULES+="alsa;"
+       use amr && MODULES+="amr;"
+       use aom && MODULES+="av1;"
+       use aptx && MODULES+="aptx;"
+       use codec2 && MODULES+="codec2;"
+       use console && MODULES+="cons;"
+       use dbus && MODULES+="ctrl_dbus;"
+       use evdev && MODULES+="evdev;"
+       use echo && MODULES+="echo;"
+       use gtk3 && MODULES+="gtk;"
+       use gstreamer && MODULES+="gst;"
+       use httpd && MODULES+="httpd;"
+       use httpreq && MODULES+="httpreq;"
+       use ffmpeg && MODULES+="avcodec;avfilter;avformat;selfview;swscale;"
+       use jack && MODULES+="jack;"
+       use mpa && MODULES+="mpa;"
+       use mqtt && MODULES+="mqtt;"
+       use opus && MODULES+="opus;opus_multistream;"
+       use pipewire && MODULES+="pipewire;"
+       use pulseaudio && MODULES+="pulse;"
+       use portaudio && MODULES+="portaudio;"
+       use serreg && MODULES+="serreg;"
+       use snapshot && MODULES+="snapshot;"
+       use sdl && MODULES+="sdl;"
+       use sndfile && MODULES+="sndfile;"
+       use spandsp && MODULES+="g722;g726;plc;"
+       use syslog && MODULES+="syslog;"
+       use tcpcontrol && MODULES+="ctrl_tcp;"
+       use v4l && MODULES+="v4l2;"
+       use video && MODULES+="vidbridge;vidinfo;"
+       use vpx && MODULES+="vp8;vp9;"
+       use webrtc && MODULES+="webrtc_aec;"
+       use X && MODULES+="x11;"
+       
MODULES+="account;aubridge;auconv;aufile;auresamp;ausine;contact;debug_cmd;dtls_srtp;g711;ice;menu;mixausrc;mixminus;mwi;natpmp;netroam;pcp;presence;turn;rtcpsummary;srtp;stdio;stun;uuid;vumeter"
+
+       local mycmakeargs=(
+               -DMODULES="$MODULES"
+               -DSTATIC=$(usex static-libs ON OFF)
+       )
+       cmake_src_configure
+}

Reply via email to