diff options
| author | Anton <anton@picapica.im> | 2026-12-05 19:22:57 +0400 |
|---|---|---|
| committer | Anton <anton@picapica.im> | 2026-12-05 19:22:57 +0400 |
| commit | e16b5b1d09bbbdd4d7fc99f4f3526ff47cc04bf8 (patch) | |
| tree | a680f43a171f2d2cf540c6910bd0208c40140f52 | |
| parent | 75b86453ad99b826ab7595d45930144965fa8bac (diff) | |
| download | pica-pica-e16b5b1d09bbbdd4d7fc99f4f3526ff47cc04bf8.tar.gz pica-pica-e16b5b1d09bbbdd4d7fc99f4f3526ff47cc04bf8.zip | |
Update Gentoo ebuild, use libwebrtc-audio-processing-2
| -rw-r--r-- | configure.ac | 2 | ||||
| -rwxr-xr-x | gentoo/pica-pica-9999.ebuild | 9 |
2 files changed, 5 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 61b5df0..87ad1d1 100644 --- a/configure.ac +++ b/configure.ac @@ -252,7 +252,7 @@ for webrtc_audio_processing_major in $webrtc_audio_processing_try; do done AS_IF([test "x$WEBRTC_AUDIO_PROCESSING_MAJOR" = x], - [AC_MSG_ERROR(["webrtc-audio-processing 1.x or 2.x was not found. It provides the acoustic echo cancellation used in calls. On Debian 13 and Ubuntu 25.10 or newer it is libwebrtc-audio-processing-dev; the same name on Ubuntu 24.04 is version 0.3, which predates AEC3 and will not do. On Gentoo it is media-libs/webrtc-audio-processing:1"])]) + [AC_MSG_ERROR(["webrtc-audio-processing 1.x or 2.x was not found. It provides the acoustic echo cancellation used in calls. On Debian 13 and Ubuntu 25.10 or newer it is libwebrtc-audio-processing-dev; the same name on Ubuntu 24.04 is version 0.3, which predates AEC3 and will not do. On Gentoo it is media-libs/webrtc-audio-processing:2, or :1 for the older ABI"])]) AC_MSG_NOTICE([using webrtc-audio-processing-$WEBRTC_AUDIO_PROCESSING_MAJOR]) diff --git a/gentoo/pica-pica-9999.ebuild b/gentoo/pica-pica-9999.ebuild index 187f74a..ad0c574 100755 --- a/gentoo/pica-pica-9999.ebuild +++ b/gentoo/pica-pica-9999.ebuild @@ -20,7 +20,7 @@ HOMEPAGE="http://picapica.im/" LICENSE="GPL-3" SLOT="0" -IUSE="+client node upnp +vaapi pulseaudio +qrcode X" +IUSE="+client node +upnp +vaapi pulseaudio +qrcode X" DEPEND=">=dev-libs/openssl-1.0.2r upnp? ( >=net-libs/miniupnpc-2.0 ) @@ -39,10 +39,8 @@ DEPEND=">=dev-libs/openssl-1.0.2r media-sound/alsa-utils media-libs/alsa-lib - || ( - media-libs/webrtc-audio-processing:1 - media-libs/webrtc-audio-processing:2 - ) + + media-libs/webrtc-audio-processing:2= >=media-video/ffmpeg-4.2:=[alsa,opus,v4l,x264,pulseaudio?,vaapi?] @@ -84,6 +82,7 @@ src_configure() { fi econf $(use_with upnp miniupnpc) $(use_enable client) $(use_enable node) --with-qt=qt6 \ + --with-webrtc-audio-processing=2 \ ${vaapiflags} $(use_enable pulseaudio pulse) $(use_enable qrcode) } |
