1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 13:40:36 +02:00
Commit Graph

2 Commits

Author SHA1 Message Date
Liliana Marie Prikler
65f57fc74f gnu: stepmania: Fix compatibility with ffmpeg 8.
This is a follow-up to 3191948625, which fixed
compile-time compatibility with newer ffmpeg, but introduced runtime crashes.

* gnu/packages/games.scm (stepmania): Replace ffmpeg-6 with ffmpeg.
* gnu/packages/patches/stepmania-ffmpeg-compat.patch: Add hunks for FFMPEG 8
compatibility.
Initialize m_pStreamCodec to nullptr and reinitialize it in
MovieDecoder_FFMpeg::OpenCodec.
2026-01-03 15:18:56 +01:00
Liliana Marie Prikler
3191948625 gnu: stepmania: Update to 5.1.0-b2-1.d55acb1.
* gnu/packages/patches/stepmania-ffmpeg-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/games.scm (stepmania): Update to 5.1.0-b2-1.d55acb1.
[source]<patches>: Add “stepmania-ffmpeg-compat.patch”.
<snippet>: Adjust unbundling.
[arguments]<#:configure-flags>: Add “-DWITH_SYSTEM_GLEW=1”,
“-DWITH_SYSTEM_JSONCPP=1”, “-DWITH_SYSTEM_JPEG=1”, “-DWITH_SYSTEM_MAD=1”,
“-DWITH_SYSTEM_OGG=1”, “-DWITH_SYSTEM_PCRE=1”, “-DWITH_SYSTEM_PNG=1”,
“-DWITH_SYSTEM_TOMMATH=1”, “-DWITH_SYSTEM_TOMCRYPT=1” and
“-DWITH_SYSTEM_ZLIB=1”.
<#:phases>: Remove ‘unbundle-libpng’.
[inputs]: Drop labels.  Sort alphabetically.
Replace ffmpeg-for-stepmania with ffmpeg-6.
Add libtommath and libtomcrypt.

Change-Id: I577fe1c15f906c3c67d1ae71a1e085e3fd05aef2
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2025-10-06 18:41:20 +08:00