public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/handbrake/
Date: Tue, 06 May 2025 18:42:22 +0000 (UTC)	[thread overview]
Message-ID: <1746556794.8718dce77c83e76f6cbab46ba650780a1f1f97c2.sam@gentoo> (raw)

commit:     8718dce77c83e76f6cbab46ba650780a1f1f97c2
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue May  6 02:04:29 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May  6 18:39:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8718dce7

media-video/handbrake: update live

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41950
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-video/handbrake/Manifest              |  2 ++
 media-video/handbrake/handbrake-9999.ebuild | 35 ++++++++++++-----------------
 2 files changed, 16 insertions(+), 21 deletions(-)

diff --git a/media-video/handbrake/Manifest b/media-video/handbrake/Manifest
index 8be319fc2958..f02b809317b0 100644
--- a/media-video/handbrake/Manifest
+++ b/media-video/handbrake/Manifest
@@ -1,4 +1,6 @@
 DIST handbrake-1.9.0.tar.bz2 9427823 BLAKE2B 5e7c4aa054957dc61582956b7e2b9916f6746fac164e0f4a0ed85f863fe3b2aa2fd485761b1381e17ab39d9d3ed42de28266b2f664dad2b8dd0cd7d961886d5e SHA512 6d09a8fea8505dce665fa2d1b03ca2b21c9e0dc4cbb5f8e0b736d6eae39017b13ee48cd4bea172a6a3b8be9bb5deb6467584dadf9c15ce81e7b7a96d3322a179
 DIST handbrake-1.9.2.tar.bz2 9431665 BLAKE2B 33591a9b576ba64ca0d8aabe4a14f7ef25b657a1b1553f8ffc18dc7a6a708b0b79443f018f6633c2ec437d25a7b0e4d803c2b46c672d57cb970eab75df48f239 SHA512 3c01b516aa7926c432773f37a311284e215ec6947b74b5c47306c7b3ac5e986e791c4d0adb4f6e614b4bb6bebecb57ac9a59644bdb535d485321e3be65dcc820
+DIST handbrake-ffmpeg-7.1.1.tar.bz2 13278839 BLAKE2B dbedc190d1b752f07e0dc30452fe37a02300da75c3269956f09a63ada6f510838b3e6fb12f9882dbac88a82750ef42a16ed34b2214dfbdc56455b17a2cdc63f8 SHA512 db2682bd3f7dbfe4a33a5a7f0803010258d14f92e98ff2a5fdd17197422bc5cbfd992a63b93c9c5fb2b2420371a82e34a16e155f135a2aaf03764ed71adbc16b
 DIST handbrake-ffmpeg-7.1.tar.bz2 13260188 BLAKE2B 32466fbefdeb30796a329869bf6fe547a0d3285ae8d9505758e5bff5103f5edf1bebd2dd8595822d0cd25e3754929ed47878ab42c420e248fb2d6ea51747145a SHA512 3f28af9a0c0779b4a7f4e5fbfd94616eb83265856ef060a8bb8afbb9f1b899885a218f15b7ac2c48f724d961dd2742ef6544b237118cb94563ecf49fbd740e3b
+DIST handbrake-x265-snapshot-20250224-13212.tar.gz 1738751 BLAKE2B a1ffa6a74ff44af3c322aef34233eafb25f1f235b45d6c5f387c77a8c4c09771d0eb9a41b3eb4bdfcbcf504bec66c44dd3ac37dc2bbb5c4ea969a4a8a55ac81d SHA512 65f244ce56c39da2121ef0e5c6a188b8958e8ae1349a1cc7e6c20c68cb7a07d78e8951b7930c22828da262d4c722a336eb6777ef8d92cbcd87e99439b6a55feb
 DIST handbrake-x265_4.1.tar.gz 1722231 BLAKE2B 5950cc5361da88a8db5403b2837081347980cd31848ce77802e8a29cfb70f6b321d14ffa08c20270e80435076e36428c7de8293c3db9b6b2e8837aa512300126 SHA512 72798265423b605b0ca5f5541f3cc39f62dae7560a5a4023f8d38f6977ded80b1911ef8154c485fbe62ef97a051d938412934c9a00f3df010f11d83ffc650e7e

diff --git a/media-video/handbrake/handbrake-9999.ebuild b/media-video/handbrake/handbrake-9999.ebuild
index 541054bbfa55..4c18487d9cc1 100644
--- a/media-video/handbrake/handbrake-9999.ebuild
+++ b/media-video/handbrake/handbrake-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
 
 inherit edo flag-o-matic multiprocessing python-any-r1 toolchain-funcs xdg
 
@@ -25,12 +25,12 @@ declare -A BUNDLED=(
 	# Heavily patched in an incompatible way.
 	# Issues related to using system ffmpeg historically.
 	# See bug #829595 and #922828
-	[ffmpeg]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/ffmpeg-7.1.tar.bz2;"
+	[ffmpeg]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/ffmpeg-7.1.1.tar.bz2;"
 	# Patched in an incompatible way
-	[x265]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265_4.1.tar.gz;x265"
-	[x265_8bit]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265_4.1.tar.gz;x265"
-	[x265_10bit]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265_4.1.tar.gz;x265"
-	[x265_12bit]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265_4.1.tar.gz;x265"
+	[x265]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265-snapshot-20250224-13212.tar.gz;x265"
+	[x265_8bit]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265-snapshot-20250224-13212.tar.gz;x265"
+	[x265_10bit]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265-snapshot-20250224-13212.tar.gz;x265"
+	[x265_12bit]="https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs2/x265-snapshot-20250224-13212.tar.gz;x265"
 )
 
 bundle_src_uri() {
@@ -111,6 +111,8 @@ BDEPEND="
 PATCHES=(
 	"${FILESDIR}"/handbrake-1.9.0-link-libdovi-properly.patch
 	"${FILESDIR}"/handbrake-1.9.0-include-vpl-properly.patch
+	"${FILESDIR}"/handbrake-1.9.2-set-ffmpeg-toolchain-explicitly.patch
+	"${FILESDIR}"/handbrake-1.9.2-allow-overriding-tools-via-env.patch
 )
 
 src_unpack() {
@@ -122,6 +124,8 @@ src_unpack() {
 }
 
 src_prepare() {
+	default
+
 	mkdir download || die
 	for name in "${!BUNDLED[@]}"; do
 		IFS=$';' read -r uri use <<< ${BUNDLED[${name}]}
@@ -140,26 +144,15 @@ src_prepare() {
 	# noop fetching
 	sed -i -e '/DF..*.exe/ { s/= .*/= true/ }' make/include/tool.defs || die
 
-	# noop strip
-	sed -i \
-			-e "s/\(strip\s*= ToolProbe( 'STRIP.exe',\s*'strip',\s*\)'strip'/\1'true'/" \
-			make/configure.py || die
-
 	# Use whichever python is set by portage
 	sed -i -e "s/for p in .*/for p in ${EPYTHON}/" configure || die
-
-	for tool in ar ranlib libtool; do
-		# Detect system tools - bug 738110
-		sed -i \
-			-e "s/\(${tool}\s*= ToolProbe( '${tool^^}.exe',\s*'${tool}',\s*\)'${tool}'/\1os.environ.get('${tool^^}', '${tool}')/" \
-			make/configure.py || die
-	done
-
-	default
 }
 
 src_configure() {
-	tc-export AR RANLIB
+	tc-export CC CXX AR RANLIB NM
+
+	# noop strip
+	local -x STRIP="true"
 
 	# ODR violations, lto-type-mismatches
 	# bug #878899


             reply	other threads:[~2025-05-06 18:42 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-06 18:42 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-06 18:43 [gentoo-commits] repo/gentoo:master commit in: media-video/handbrake/ Sam James
2025-05-06 18:42 Sam James
2025-05-06 18:42 Sam James
2025-05-06 18:42 Sam James
2025-04-12 20:50 Sam James
2024-12-22  6:21 Sam James
2024-12-22  6:21 Sam James
2024-12-22  6:21 Sam James
2024-10-31 22:27 Andreas K. Hüttel
2024-08-13  4:55 Michał Górny
2024-01-28 22:53 Jonas Stein
2023-09-27 13:22 Joonas Niilola
2023-07-12  7:37 Sam James
2023-07-12  7:37 Sam James
2023-07-12  7:33 Sam James
2023-06-03  5:15 Sam James
2023-06-01  3:27 Sam James
2023-05-06 11:34 Sam James
2023-05-03  4:45 Sam James
2023-04-07 11:44 Sam James
2022-06-20  2:35 Sam James
2022-06-20  2:35 Sam James
2022-06-18 16:54 Agostino Sarubbo
2022-01-16  2:23 Sam James
2022-01-16  2:23 Sam James
2021-12-30  4:42 Sam James
2021-12-29 12:11 Jakov Smolić
2021-10-25  3:52 Sam James
2021-10-24  8:44 Sam James
2021-10-24  8:27 Sam James
2021-10-24  8:27 Sam James
2021-10-24  8:27 Sam James
2021-10-24  8:27 Sam James
2021-10-24  8:27 Sam James
2021-10-24  8:27 Sam James
2021-10-24  8:27 Sam James
2021-10-24  8:27 Sam James
2021-10-24  8:27 Sam James
2021-10-24  8:27 Sam James
2021-10-16  1:24 Sam James
2021-09-25 19:08 Sam James
2021-06-01 14:05 Sam James
2021-05-31 23:19 Sam James
2021-05-31 23:19 Sam James
2021-05-31 23:19 Sam James
2020-09-14 19:31 Michał Górny
2020-05-23  9:51 Ian Whyman
2020-04-26 18:27 Mikle Kolyada
2020-04-19  2:35 Craig Andrews
2019-11-15 20:50 Ian Whyman
2019-03-12 21:55 Ian Whyman
2019-03-09 10:34 Ian Whyman
2018-10-25 18:34 Ian Whyman
2018-07-29  8:42 Ian Whyman
2018-05-05 13:30 Ian Whyman
2018-04-15 14:18 Ian Whyman
2017-11-26 23:11 David Seifert
2017-05-12 21:22 Ian Whyman
2017-03-06 17:27 Ian Whyman
2017-03-04 22:35 Ian Whyman
2017-03-04 13:37 Alexis Ballier
2017-01-07  1:22 Lars Wendler
2016-09-27 22:34 Lars Wendler
2016-07-10 14:06 Ian Whyman
2016-05-22 11:28 Ian Whyman
2016-05-22 11:19 Ian Whyman
2016-04-19 21:13 Ian Stakenvicius
2016-03-31 12:45 Lars Wendler
2015-10-11 14:42 Alexis Ballier
2015-08-27 19:24 Ian Whyman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1746556794.8718dce77c83e76f6cbab46ba650780a1f1f97c2.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox