commit:     71d201a0694a5367ddb502d4d3a99abfa2a6e0ca
Author:     James Beddek <telans <AT> posteo <DOT> de>
AuthorDate: Sun Oct 24 08:31:39 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 24 08:44:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d201a0

media-video/handbrake: export AR, RANLIB, STRIP to match patch

Signed-off-by: James Beddek <telans <AT> posteo.de>
Closes: https://github.com/gentoo/gentoo/pull/22694
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-video/handbrake/handbrake-1.4.2.ebuild | 4 +++-
 media-video/handbrake/handbrake-9999.ebuild  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-video/handbrake/handbrake-1.4.2.ebuild 
b/media-video/handbrake/handbrake-1.4.2.ebuild
index cc2edcd67ff..74fc7df0d86 100644
--- a/media-video/handbrake/handbrake-1.4.2.ebuild
+++ b/media-video/handbrake/handbrake-1.4.2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit autotools python-any-r1 xdg
+inherit autotools python-any-r1 toolchain-funcs xdg
 
 if [[ ${PV} = *9999* ]]; then
        EGIT_REPO_URI="https://github.com/HandBrake/HandBrake.git";
@@ -110,6 +110,8 @@ src_prepare() {
 }
 
 src_configure() {
+       tc-export AR RANLIB STRIP
+
        # Libav was replaced in 1.2 with ffmpeg by default
        # but I've elected to not make people change their use flags for AAC
        # as its the same code anyway

diff --git a/media-video/handbrake/handbrake-9999.ebuild 
b/media-video/handbrake/handbrake-9999.ebuild
index cc2edcd67ff..74fc7df0d86 100644
--- a/media-video/handbrake/handbrake-9999.ebuild
+++ b/media-video/handbrake/handbrake-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit autotools python-any-r1 xdg
+inherit autotools python-any-r1 toolchain-funcs xdg
 
 if [[ ${PV} = *9999* ]]; then
        EGIT_REPO_URI="https://github.com/HandBrake/HandBrake.git";
@@ -110,6 +110,8 @@ src_prepare() {
 }
 
 src_configure() {
+       tc-export AR RANLIB STRIP
+
        # Libav was replaced in 1.2 with ffmpeg by default
        # but I've elected to not make people change their use flags for AAC
        # as its the same code anyway

Reply via email to