From 71d201a0694a5367ddb502d4d3a99abfa2a6e0ca Mon Sep 17 00:00:00 2001 From: James Beddek Date: Sun, 24 Oct 2021 21:31:39 +1300 Subject: [PATCH] media-video/handbrake: export AR, RANLIB, STRIP to match patch Signed-off-by: James Beddek Closes: https://github.com/gentoo/gentoo/pull/22694 Signed-off-by: Sam James --- 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 cc2edcd67ff8f..74fc7df0d86c8 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 cc2edcd67ff8f..74fc7df0d86c8 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