diff options
Diffstat (limited to 'net-voip/baresip')
-rw-r--r-- | net-voip/baresip/Manifest | 1 | ||||
-rw-r--r-- | net-voip/baresip/baresip-3.17.0.ebuild | 109 |
2 files changed, 110 insertions, 0 deletions
diff --git a/net-voip/baresip/Manifest b/net-voip/baresip/Manifest index 84161b268..2a9fcb264 100644 --- a/net-voip/baresip/Manifest +++ b/net-voip/baresip/Manifest @@ -1,2 +1,3 @@ DIST baresip-3.15.0.tar.gz 1171797 BLAKE2B 8f8e35de141260c53e88b63ddd8e54bb86bf3e0cf5a01a55dddd1891eeedea03de700399d110e7e095339b719bd74f56206b1bd3671ee349263b4dadd24524d3 SHA512 20d426d749c2cdbaab09ed92be5ef089c85bb1bf693eab272de673be1ad5457624487e5de2f4675be6246cfead1b6181e60ec35624aadf88909d0d625228d966 DIST baresip-3.16.0.tar.gz 1172715 BLAKE2B cb1e33ae00c27c9bd1f0ad1abc0115fba345e5b6a4f78423f499d4a319b0013073d57fe42eaf051e86714dfa05ef2644b4eee342f61cbad333b588568d82f7cb SHA512 90a85a36ca9684f32f396fdce21de3df8d203e5821ed214bda15c819aae82ec947a02c46bd2869ca5015cdd9dcab9f4167c6a7893c53e1b9df4e67f29724667a +DIST baresip-3.17.0.tar.gz 1173530 BLAKE2B 34bebfa51f29da13017309af03dcdaa3adb5c7e8a4726f1700b3d7ab116c23edd6c01e452c2a50404d480532a74fd4d6a0515d1f1ea1444cbb01de8ef03e162b SHA512 3cd35f0ea34b21a1d9b7a7b140b0390becc14947c1fdd1fa0f6aa188efcc5e9f50d680ef334712dc294699b049d3014b4bd0a91c3380aabe5a6366a7400d48c9 diff --git a/net-voip/baresip/baresip-3.17.0.ebuild b/net-voip/baresip/baresip-3.17.0.ebuild new file mode 100644 index 000000000..738676914 --- /dev/null +++ b/net-voip/baresip/baresip-3.17.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 +} |