mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
stepmania: A dance (rhythm) game in the spirit of DDR.
This commit is contained in:
parent
492c4838b2
commit
c592783741
26
pkgs/games/stepmania/default.nix
Normal file
26
pkgs/games/stepmania/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, fetchhg, zlib, bzip2, pkgconfig, alsaLib, pulseaudio, libmad, libtheora,
|
||||||
|
libvorbis, libpng, libjpeg, mesa, gtk, ffmpeg, automake, autoconf, glew }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "stepmania-5";
|
||||||
|
|
||||||
|
src = fetchhg {
|
||||||
|
url = "https://code.google.com/p/sm-ssc/";
|
||||||
|
# revision = "5fdf515a180e";
|
||||||
|
sha256 = "05v19giq7d956islr2r8350zfwc4h8sq89xlj93ccii8rp94cvvf";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ zlib bzip2 pkgconfig alsaLib pulseaudio libmad libtheora
|
||||||
|
libvorbis libpng libjpeg mesa gtk ffmpeg automake autoconf glew ];
|
||||||
|
|
||||||
|
preConfigure = "./autogen.sh";
|
||||||
|
postInstall = ''
|
||||||
|
mv "$out/stepmania 5/"* $out/
|
||||||
|
rmdir "$out/stepmania 5"
|
||||||
|
mkdir -p $out/bin
|
||||||
|
echo "#\!/bin/sh" > $out/bin/stepmania
|
||||||
|
echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${alsaLib}/lib' >> $out/bin/stepmania
|
||||||
|
echo "exec $out/stepmania" >> $out/bin/stepmania
|
||||||
|
chmod +x $out/bin/stepmania
|
||||||
|
'';
|
||||||
|
}
|
@ -5743,6 +5743,8 @@ let
|
|||||||
|
|
||||||
stlink = callPackage ../development/tools/misc/stlink { };
|
stlink = callPackage ../development/tools/misc/stlink { };
|
||||||
|
|
||||||
|
stepmania = callPackage ../games/stepmania {};
|
||||||
|
|
||||||
stlport = callPackage ../development/libraries/stlport { };
|
stlport = callPackage ../development/libraries/stlport { };
|
||||||
|
|
||||||
strigi = callPackage ../development/libraries/strigi { clucene_core = clucene_core_2; };
|
strigi = callPackage ../development/libraries/strigi { clucene_core = clucene_core_2; };
|
||||||
|
Loading…
Reference in New Issue
Block a user