stepmania: 5.0.7 -> 5.0.10
This commit is contained in:
parent
e774cd6fc2
commit
eff24b9cdf
|
@ -1,40 +1,44 @@
|
||||||
{ fetchFromGitHub, stdenv, pkgconfig, autoconf, automake, yasm, zlib, bzip2, alsaLib
|
{ stdenv, lib, fetchFromGitHub, cmake, nasm
|
||||||
, libpulseaudio, libmad, libtheora, libvorbis, libpng, libjpeg, gtk
|
, gtk2, glib, ffmpeg, alsaLib, libmad, libogg, libvorbis
|
||||||
, mesa, glew }:
|
, glew, libpulseaudio
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "stepmania-${version}";
|
name = "stepmania-${version}";
|
||||||
version = "5.0.7";
|
version = "5.0.10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "stepmania";
|
owner = "stepmania";
|
||||||
repo = "stepmania";
|
repo = "stepmania";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1lagnk8x72v5jazcbb39237fi33kp5zgg22fxw7zmvr4qwqiqbz9";
|
sha256 = "174gzvk42gwm56hpkz51csad9xi4dg466xv0mf1z39xd7mqd5j5w";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake nasm ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig autoconf automake yasm zlib bzip2 alsaLib libpulseaudio libmad libtheora
|
gtk2 glib ffmpeg alsaLib libmad libogg libvorbis
|
||||||
libvorbis libpng libjpeg gtk mesa glew
|
glew libpulseaudio
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
cmakeFlags = [
|
||||||
substituteInPlace autoconf/m4/video.m4 \
|
"-DWITH_SYSTEM_FFMPEG=1"
|
||||||
--replace './configure $FFMPEG_CONFFLAGS' './configure --prefix='$out' $FFMPEG_CONFFLAGS'
|
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2}/lib/gtk-2.0/include"
|
||||||
|
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib}/lib/glib-2.0/include"
|
||||||
./autogen.sh
|
];
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
echo "#!/bin/sh" > $out/bin/stepmania
|
ln -s $out/stepmania-5.0/stepmania $out/bin/stepmania
|
||||||
echo "export LD_LIBRARY_PATH=$out/stepmania-5.0:${alsaLib}/lib:\$LD_LIBRARY_PATH" >> $out/bin/stepmania
|
|
||||||
echo "exec $out/stepmania-5.0/stepmania" >> $out/bin/stepmania
|
|
||||||
chmod +x $out/bin/stepmania
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
enableParallelBuilding = true;
|
||||||
platforms = platforms.linux;
|
|
||||||
maintainers = [ maintainers.mornfall ];
|
meta = with lib; {
|
||||||
|
homepage = "http://www.stepmania.com/";
|
||||||
|
description = "Free dance and rhythm game for Windows, Mac, and Linux";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.mit; # expat version
|
||||||
|
maintainers = [ maintainers.mornfall ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -14153,7 +14153,7 @@ let
|
||||||
withPrimus = config.steam.primus or false;
|
withPrimus = config.steam.primus or false;
|
||||||
};
|
};
|
||||||
|
|
||||||
stepmania = callPackage ../games/stepmania {};
|
stepmania = callPackage ../games/stepmania { };
|
||||||
|
|
||||||
stuntrally = callPackage ../games/stuntrally { };
|
stuntrally = callPackage ../games/stuntrally { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue