Skip to content

Commit d24ebb0

Browse files
StepMania: add missing dependency and add patch for newer ffmpeg
1 parent 06240d9 commit d24ebb0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

apps/StepMania/install

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
status "Installing Dependencies"
4-
install_packages rsync cmake zlib1g-dev libjpeg-dev libjsoncpp-dev build-essential libbz2-dev libasound2-dev libsdl2-dev ffmpeg libgl-dev libglew-dev libgtk-3-dev libjack-jackd2-dev libjsoncpp-dev libmad0-dev libpng-dev libpulse-dev libtomcrypt-dev libtommath-dev libudev-dev libva-dev libvorbis-dev libxinerama-dev libx11-dev libxrandr-dev libxtst-dev || exit 1
4+
install_packages rsync cmake zlib1g-dev libjpeg-dev libjsoncpp-dev build-essential libbz2-dev libasound2-dev libsdl2-dev ffmpeg libgl-dev libglew-dev libgtk-3-dev libjack-jackd2-dev libjsoncpp-dev libmad0-dev libpng-dev libpulse-dev libtomcrypt-dev libtommath-dev libudev-dev libva-dev libvorbis-dev libxinerama-dev libx11-dev libxrandr-dev libxtst-dev yasm || exit 1
55

66
status "Cloning repo"
77
git_clone https://github.com/stepmania/stepmania.git || error "Could not clone repo"
@@ -84,6 +84,11 @@ index c092b76..36a6cf1 100644
8484
EOF
8585

8686
git apply 0001-patch-upstream-for-ARM.patch || error "Applying patch failed"
87+
88+
wget https://github.com/stepmania/stepmania/commit/3fef5ef60b7674d6431f4e1e4ba8c69b0c21c023.patch || error "Download patch failed"
89+
90+
git apply 3fef5ef60b7674d6431f4e1e4ba8c69b0c21c023.patch || error "Applying patch failed"
91+
8792
mkdir build && cd build || error "Could not create or enter build directory"
8893
status "Running cmake"
8994
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_SDL=yes -DWITH_SYSTEM_GLEW=yes -DWITH_SYSTEM_TOMMATH=yes -DWITH_SYSTEM_MAD=yes -DWITH_SYSTEM_ZLIB=yes -DWITH_SYSTEM_JPEG=yes -DWITH_SYSTEM_OGG=yes -DWITH_SYSTEM_FFMPEG=yes -DWITH_SYSTEM_TOMCRYPT=yes -DWITH_FULL_RELEASE=yes -DWITH_CRASH_HANDLER=no -DWITH_NETWORKING=yes -WITH_MINIMAID=no .. || error "Cmake ended with error"

0 commit comments

Comments
 (0)