mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
committed by
Sam James
parent
59e7cbac8e
commit
88e68a010b
@@ -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[@]}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user