mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
Updating super tux kart to 0.7.3. I also add the library irrlicht, the specific
version needed for super tux kart. svn path=/nixpkgs/trunk/; revision=32399
This commit is contained in:
parent
668a505214
commit
3b02e6f70d
39
pkgs/development/libraries/irrlicht/default.nix
Normal file
39
pkgs/development/libraries/irrlicht/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ fetchsvn, stdenv, mesa, unzip, libXrandr, libX11, libXxf86vm }:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
# Version 3843 is required for supertuxkart
|
||||
name = "irrlicht-1.8-svn-3843";
|
||||
|
||||
src = fetchsvn {
|
||||
url = https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk;
|
||||
rev = 3843;
|
||||
sha256 = "0v31l3k0fzy7isdsx2sh0baaixzlml1m7vgz6cd0015d9f5n99vl";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
cd source/Irrlicht
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
make sharedlib NDEBUG=1
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
sed -i s,/usr/local/lib,$out/lib, Makefile
|
||||
mkdir -p $out/lib
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
ln -s libIrrlicht.so.1.8.0-SVN $out/lib/libIrrlicht.so.1.8
|
||||
ln -s libIrrlicht.so.1.8.0-SVN $out/lib/libIrrlicht.so
|
||||
'';
|
||||
|
||||
buildInputs = [ unzip mesa libXrandr libX11 libXxf86vm ];
|
||||
|
||||
meta = {
|
||||
homepage = http://irrlicht.sourceforge.net/;
|
||||
license = "zlib";
|
||||
description = "Open source high performance realtime 3D engine written in C++";
|
||||
};
|
||||
}
|
@ -1,18 +1,22 @@
|
||||
{ fetchurl, stdenv, plib, SDL, openal, freealut, mesa
|
||||
, libvorbis, libogg, gettext }:
|
||||
, libvorbis, libogg, gettext, irrlicht3843, libXxf86vm, curl, pkgconfig
|
||||
, fribidi }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "supertuxkart-0.6.2a";
|
||||
name = "supertuxkart-0.7.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/supertuxkart/${name}-src.tar.bz2";
|
||||
sha256 = "0bdn12kg85bgcgj9shfc40k56228hysiixfaxkycgb688nhldngr";
|
||||
sha256 = "0njrs2qyhbiqdbsqk9jx0sl8nhdwmipf1i91k23rv1biwrim9yq7";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
plib SDL openal freealut mesa libvorbis libogg gettext
|
||||
plib SDL openal freealut mesa libvorbis libogg gettext irrlicht3843
|
||||
libXxf86vm curl pkgconfig fribidi
|
||||
];
|
||||
|
||||
configureFlags = [ "--with-irrlicht=${irrlicht3843}" ];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/games $out/bin
|
||||
'';
|
||||
|
@ -3824,6 +3824,8 @@ let
|
||||
|
||||
intltool = gnome.intltool;
|
||||
|
||||
irrlicht3843 = callPackage ../development/libraries/irrlicht { };
|
||||
|
||||
isocodes = callPackage ../development/libraries/iso-codes { };
|
||||
|
||||
itk = callPackage ../development/libraries/itk { };
|
||||
|
Loading…
Reference in New Issue
Block a user