Upstream now uses pkg-config for gpac detection. https://code.videolan.org/videolan/x264/-/commit/979044a6595c7d01d14bca0360f0e94bb815af70
should have been fixed with commit a18f61aa3eb0265173119372ae385905b8468de8 Author: Alexis Ballier <aballier@gentoo.org> Date: Thu Mar 10 13:11:26 2022 +0100 media-video/x264-encoder: bump to latest Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alexis Ballier <aballier@gentoo.org>