net-libs/pjproject: avoid libyuv requirement with libyuv disabled

Closes: https://bugs.gentoo.org/955129
Fixes: 1e0a5ae70d
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41866
Closes: https://github.com/gentoo/gentoo/pull/41866
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2025-04-30 21:24:43 +03:00
committed by Sam James
parent 59e7cbac8e
commit 88e68a010b

View File

@@ -97,6 +97,9 @@ src_configure() {
[ "${videnable}" = "--enable-video" ] && _pj_set_define PJMEDIA_HAS_VIDEO 1 || _pj_set_define PJMEDIA_HAS_VIDEO 0
# bug 955077 and bug 955129
use libyuv && myconf+=( --with-external-yuv )
LD="$(tc-getCXX)" econf \
--enable-shared \
${videnable} \
@@ -116,7 +119,6 @@ src_configure() {
$(use_with portaudio external-pa) \
$(use_with speex external-speex) \
$(usex srtp --with-external-srtp --disable-libsrtp) \
--with-external-yuv \
"${myconf[@]}"
}