Build breaks for me:
In file included from /usr/include/libavformat/avformat.h:313,
from /home/rixx/.cache/yay/stepmania-git/src/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.h:13,
from /home/rixx/.cache/yay/stepmania-git/src/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp:2:
/usr/include/libavcodec/codec.h:195:8: note: forward declaration of ‘struct avcodec::AVCodecContext’
195 | struct AVCodecContext;
| ^~~~~~~~~~~~~~
/home/rixx/.cache/yay/stepmania-git/src/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp:524:26: error: ‘avcodec_close’ is not a member of ‘avcodec’; did you mean ‘avio_close’?
524 | avcodec::avcodec_close( m_pStreamCodec );
| ^~~~~~~~~~~~~
| avio_close
[192/455] Building CXX object src/CMakeFiles/StepMania.dir/arch/LowLevelWindow/LowLevelWindow_X11.cpp.o
Any ideas or hints? This does not happen when I just download the package and run cmake and make.
Pinned Comments
MarsSeed commented on 2024-08-12 19:29 (UTC)
Dear users,
Please kindly install AUR/stepmania instead of the '-git' build.
It is pointless to keep the latter, as upstream has not received any new commit during the last 2 years.
The stable stepmania package has an active maintainer, and it already builds from upstream's last available commit, and gets patched on AUR whenever some fixes are needed.