summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhishek Kumar <abhishek4.kumar@intel.com>2020-08-03 12:47:13 +0530
committerThomas Deutschmann <whissi@gentoo.org>2020-08-13 00:17:02 +0200
commitbb91cfbdd67d5d5336de6d9d382f9ac9417b4cdc (patch)
tree092020a2b471b59d7514d9ba5c55e8b8af627fd5
parentdev-util/cargo-ebuild: Bump version to 0.3.1 (diff)
downloadgentoo-bb91cfbdd67d5d5336de6d9d382f9ac9417b4cdc.tar.gz
gentoo-bb91cfbdd67d5d5336de6d9d382f9ac9417b4cdc.tar.bz2
gentoo-bb91cfbdd67d5d5336de6d9d382f9ac9417b4cdc.zip
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@intel.com> Closes: https://github.com/gentoo/gentoo/pull/16969 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--media-video/ffmpeg/ffmpeg-4.3.1.ebuild1
-rw-r--r--media-video/ffmpeg/ffmpeg-4.3.ebuild1
-rw-r--r--media-video/ffmpeg/ffmpeg-9999.ebuild1
3 files changed, 3 insertions, 0 deletions
diff --git a/media-video/ffmpeg/ffmpeg-4.3.1.ebuild b/media-video/ffmpeg/ffmpeg-4.3.1.ebuild
index 9582ffc912a2..a4cbbf7a5b34 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 38db0ce605e4..b519b9bd21cb 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 be2f483ec3ed..cc62b228342d 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[@]}" \