commit: 086b307bee08782b7f8f7a177f303fd65befb27a Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Tue Oct 21 13:39:39 2025 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Tue Oct 21 15:34:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=086b307b
media-sound/musescore: backport ffmpeg-8 build fix There is a pending bump for this which may or may not have the fix already (not looked), but I'd rather that this be handled by someone that knows this package better. The patch is very trivial on the other hand (enough to not need a revbump+re-stabilization too). Closes: https://bugs.gentoo.org/964402 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> media-sound/musescore/files/musescore-4.5.2-ffmpeg8.patch | 12 ++++++++++++ media-sound/musescore/musescore-4.5.2.ebuild | 1 + 2 files changed, 13 insertions(+) diff --git a/media-sound/musescore/files/musescore-4.5.2-ffmpeg8.patch b/media-sound/musescore/files/musescore-4.5.2-ffmpeg8.patch new file mode 100644 index 000000000000..bdb33d5ad6c8 --- /dev/null +++ b/media-sound/musescore/files/musescore-4.5.2-ffmpeg8.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/964402 +https://github.com/musescore/MuseScore/pull/30579 +--- a/src/importexport/videoexport/internal/videoencoder.cpp ++++ b/src/importexport/videoexport/internal/videoencoder.cpp +@@ -128,3 +128,7 @@ + #endif ++#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(60, 31, 102) + m_ffmpeg->codecCtx->profile = FF_PROFILE_H264_HIGH; ++#else ++ m_ffmpeg->codecCtx->profile = AV_PROFILE_H264_HIGH; ++#endif + diff --git a/media-sound/musescore/musescore-4.5.2.ebuild b/media-sound/musescore/musescore-4.5.2.ebuild index 09f1936127e4..8fc1716fbf67 100644 --- a/media-sound/musescore/musescore-4.5.2.ebuild +++ b/media-sound/musescore/musescore-4.5.2.ebuild @@ -65,6 +65,7 @@ PATCHES=( "${FILESDIR}/${PN}-4.4.0-include.patch" "${FILESDIR}/${PN}-4.5.0-missing-includes.patch" "${WORKDIR}/${P}-fix_qt69.patch" + "${FILESDIR}/${P}-ffmpeg8.patch" ) src_unpack() {
