summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rwxr-xr-xgentoo/pica-pica-9999.ebuild9
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)
}