3
0
Fork 0
forked from mirrors/nixpkgs

stepmania: 5.0.10 -> 5.0.12

This commit is contained in:
Tuomas Tynkkynen 2017-05-14 02:36:04 +03:00
parent 7b208ab3c5
commit cb245f228f

View file

@ -1,24 +1,24 @@
{ stdenv, lib, fetchpatch, fetchFromGitHub, cmake, nasm
, gtk2, glib, ffmpeg, alsaLib, libmad, libogg, libvorbis
, glew, libpulseaudio
, glew, libpulseaudio, udev
}:
stdenv.mkDerivation rec {
name = "stepmania-${version}";
version = "5.0.10";
version = "5.0.12";
src = fetchFromGitHub {
owner = "stepmania";
repo = "stepmania";
rev = "v${version}";
sha256 = "174gzvk42gwm56hpkz51csad9xi4dg466xv0mf1z39xd7mqd5j5w";
sha256 = "0ig5pnw78j45b35kfr76phaqbac9b2f6wg3c63l6mf0nrq17wslz";
};
nativeBuildInputs = [ cmake nasm ];
buildInputs = [
gtk2 glib ffmpeg alsaLib libmad libogg libvorbis
glew libpulseaudio
glew libpulseaudio udev
];
cmakeFlags = [
@ -27,14 +27,6 @@ stdenv.mkDerivation rec {
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
];
patches = [
# Fix compilation on i686
(fetchpatch {
url = "https://github.com/stepmania/stepmania/commit/f1e114aa03c90884946427bb43a75badec21f163.patch";
sha256 = "1cm14w92dilqvlyqfffiihf09ra97hxzgfal5gx08brc3j1yyzdw";
})
];
postInstall = ''
mkdir -p $out/bin
ln -s $out/stepmania-5.0/stepmania $out/bin/stepmania