commit:     bb91cfbdd67d5d5336de6d9d382f9ac9417b4cdc
Author:     Abhishek Kumar <abhishek4.kumar <AT> intel <DOT> com>
AuthorDate: Mon Aug  3 07:17:13 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 22:17:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb91cfbd

media-video/ffmpeg: pass pkg-config to configure

Use toolchain eclass to get pkg-config rather than
calling directly.

Signed-off-by: Abhishek Kumar <abhishek4kumar <AT> intel.com>
Closes: https://github.com/gentoo/gentoo/pull/16969
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 media-video/ffmpeg/ffmpeg-4.3.1.ebuild | 1 +
 media-video/ffmpeg/ffmpeg-4.3.ebuild   | 1 +
 media-video/ffmpeg/ffmpeg-9999.ebuild  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/media-video/ffmpeg/ffmpeg-4.3.1.ebuild 
b/media-video/ffmpeg/ffmpeg-4.3.1.ebuild
index 9582ffc912a..a4cbbf7a5b3 100644
--- a/media-video/ffmpeg/ffmpeg-4.3.1.ebuild
+++ b/media-video/ffmpeg/ffmpeg-4.3.1.ebuild
@@ -474,6 +474,7 @@ multilib_src_configure() {
                --ar="$(tc-getAR)" \
                --nm="$(tc-getNM)" \
                --ranlib="$(tc-getRANLIB)" \
+               --pkg-config="$(tc-getPKG_CONFIG)" \
                --optflags="${CFLAGS}" \
                $(use_enable static-libs static) \
                "${myconf[@]}" \

diff --git a/media-video/ffmpeg/ffmpeg-4.3.ebuild 
b/media-video/ffmpeg/ffmpeg-4.3.ebuild
index 38db0ce605e..b519b9bd21c 100644
--- a/media-video/ffmpeg/ffmpeg-4.3.ebuild
+++ b/media-video/ffmpeg/ffmpeg-4.3.ebuild
@@ -473,6 +473,7 @@ multilib_src_configure() {
                --ar="$(tc-getAR)" \
                --nm="$(tc-getNM)" \
                --ranlib="$(tc-getRANLIB)" \
+               --pkg-config="$(tc-getPKG_CONFIG)" \
                --optflags="${CFLAGS}" \
                $(use_enable static-libs static) \
                "${myconf[@]}" \

diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild 
b/media-video/ffmpeg/ffmpeg-9999.ebuild
index be2f483ec3e..cc62b228342 100644
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
@@ -473,6 +473,7 @@ multilib_src_configure() {
                --ar="$(tc-getAR)" \
                --nm="$(tc-getNM)" \
                --ranlib="$(tc-getRANLIB)" \
+               --pkg-config="$(tc-getPKG_CONFIG)" \
                --optflags="${CFLAGS}" \
                $(use_enable static-libs static) \
                "${myconf[@]}" \

Reply via email to