Package Details: stepmania 5.1.0.b2.r627.d55acb1ba2-4

Git Clone URL: https://aur.archlinux.org/stepmania.git (read-only, click to copy)
Package Base: stepmania
Description: Advanced rhythm game. Designed for both home and arcade use.
Upstream URL: http://www.stepmania.com/
Keywords: arcade game
Licenses: MIT AND CC-BY-NC-4.0
Submitter: Nascher
Maintainer: snailman153624
Last Packager: neeshy
Votes: 29
Popularity: 0.000685
First Submitted: 2015-08-12 13:57 (UTC)
Last Updated: 2025-06-05 03:08 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

2lafru commented on 2025-10-07 20:55 (UTC)

Building is broken since FFMPEG went from version 7 to 8. My (now obsolete) already compiled binary won't work either.

Felixoid commented on 2025-07-27 12:11 (UTC)

I've posted the issue on github https://github.com/stepmania/stepmania/issues/2291

And to fix the build here, a simple patch is required. I'll post it in the package out-of-date

diff --git a/PKGBUILD b/PKGBUILD
index 9d00ced..c5f8ff6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,7 @@ license=('MIT AND CC-BY-NC-4.0')
 depends=('mesa' 'glew' 'glu' 'udev' 'libx11' 'libxext' 'libxtst' 'libxinerama' 'libxrandr'
          'alsa-lib' 'libpulse' 'ffmpeg' 'libmad' 'libogg' 'libvorbis' 'libjpeg' 'libpng'
          'gtk3' 'libtommath' 'libtomcrypt' 'jsoncpp' 'pcre' 'zlib')
-makedepends=('cmake')
+makedepends=('cmake3')
 source=("$pkgname-$_pkgver.tar.gz::https://github.com/stepmania/stepmania/archive/$_pkgver.tar.gz"
         "$pkgname-3fef5ef60b7674d6431f4e1e4ba8c69b0c21c023.patch::https://github.com/stepmania/stepmania/commit/3fef5ef60b7674d6431f4e1e4ba8c69b0c21c023.patch"
         "$pkgname-e0d2a5182dcd855e181fffa086273460c553c7ff.patch::https://github.com/stepmania/stepmania/commit/e0d2a5182dcd855e181fffa086273460c553c7ff.patch"

Aftershock9009 commented on 2025-05-01 07:54 (UTC) (edited on 2025-05-01 08:04 (UTC) by Aftershock9009)

Adding to what @ApertureUA is mentioning: as a workaround to building this now you'll need to rollback cmake to the last version pre-4.0 (3.31.6-1 in the archive )

ApertureUA commented on 2025-04-30 10:20 (UTC)

nvm doesn't run: Couldn't load driver gtk: dlopen(): /opt/stepmania-5.1/GtkModule.so: undefined symbol: _Z13CreateSurfaceiiijjjj Error: Couldn't open any loading windows.

ApertureUA commented on 2025-04-30 10:17 (UTC) (edited on 2025-04-30 10:17 (UTC) by ApertureUA)

Needs this patch now:

diff --git a/PKGBUILD b/PKGBUILD
index 837b28a..f04ed74 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -46,6 +46,7 @@ prepare() {
 build() {
   cd "$srcdir/$pkgname-$_pkgver/Build"
   cmake \
+       -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
     -DCMAKE_INSTALL_PREFIX=/opt \
     -DWITH_FULL_RELEASE=YES \
     -DWITH_PORTABLE_TOMCRYPT=NO \

kqr commented on 2024-12-15 01:59 (UTC)

make: CMakeFiles/ffmpeg.dir/build.make: No such file or directory
make: *** No rule to make target 'CMakeFiles/ffmpeg.dir/build.make'.  Stop.
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: stepmania-exit status 4

snailman153624 commented on 2024-12-05 12:25 (UTC)

OK, I incorporated all of my comments below regarding building with FFMpeg 2.1.3 into the PKGBUILD; I'll leave the comments for reference, but the latest snapshot should be all fixed up.

snailman153624 commented on 2024-12-04 05:14 (UTC)

So, to build/link against FFMpeg 2.1.3, create the two patch files from the comments below, e.g.:


$srcdir/ffmpeg-misc.patch
$srcdir/ffmpeg-mathops.patch

Edit the indicated portions of PKGBUILD to something like this (the asm requirement patch is not wrong...it won't do anything impactful in this config anyway):


prepare() {
   cd "$srcdir/$pkgname-$_pkgver"
#  patch -Np1 -i "$srcdir/3fef5ef60b7674d6431f4e1e4ba8c69b0c21c023.patch"
#  patch -Np1 -i "$srcdir/ffmpeg-7.patch"
   patch -Np1 -i "$srcdir/ffmpeg-remove-asm-requirement.patch"
   patch -Np1 -i "$srcdir/ffmpeg-mathops.patch"
   patch -Np1 -i "$srcdir/ffmpeg-misc.patch"
 }

...likewise, enable building with the bundled FFMpeg:


build() {
...
    -DWITH_SYSTEM_FFMPEG=NO \
...
 }

If you are doing this on your own, you of course have to download/extract the package (don't build it yet), then make the modifications, then perform a build without clean/re-extraction (or it will overwrite your changes).

Also, I'm guessing the above will require you to run the build 2x (I didn't try this from a clean download after I got it working...I ran the build numerous times as I hand-patched files), because the ffmpeg-2.1.3 is not handled as a normal dependency for the package, but rather in a nested CMake file during the actual build process, not during extraction (thus, the ffmpeg patches will have nothing to apply to on the first attempt...as prepare()/patches are run before build()).. This is an area where the Stepmania and AUR build processes overlap/conflict slightly in terms of who's responsible for what. You could either patch the FFMpeg CMake to apply the patches, or perhaps move the download/extraction of ffmpeg-2.1.3 up to the PKGBUILD.