mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
677be83122
* Fixes to make par2cmdline and exult build on gcc 4.x, since gcc 3.4.x doesn't seem to work on x86_64-linux (NIXPKGS-91). * Disabled pidgin on x86_64-linux because it needs a dynamic libperl which we don't have right now. * Disabled wine on x86_64-linux because we still lack -m32 support. svn path=/nixpkgs/trunk/; revision=12187
42 lines
1.1 KiB
Nix
42 lines
1.1 KiB
Nix
{stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, unzip}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "exult-1.2";
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
url = mirror://sourceforge/exult/exult-1.2.tar.gz;
|
|
md5 = "0fc88dee74a91724d25373ba0a8670ba";
|
|
};
|
|
|
|
# Patches for building on x86_64 and gcc 4.x.
|
|
patches = [
|
|
(fetchurl {
|
|
url = "http://www.rocklinux.net/sources/package/stf/exult/exult-gcc4.patch";
|
|
sha256 = "1jlikxcpsi3yfchan3jbyi66fcyr18m7kfmsa946lwh3kzckszm7";
|
|
})
|
|
];
|
|
|
|
buildInputs = [SDL SDL_mixer zlib libpng unzip];
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${SDL_mixer}/include/SDL";
|
|
|
|
# Digital recordings of the music on an original Roland MT-32. So
|
|
# we don't need actual MIDI playback capability.
|
|
musicFiles = [
|
|
(fetchurl {
|
|
url = mirror://sourceforge/exult/U7MusicOGG_1of2.zip;
|
|
md5 = "7746d1a9164fd67509107797496553bf";
|
|
})
|
|
(fetchurl {
|
|
url = mirror://sourceforge/exult/U7MusicOGG_2of2.zip;
|
|
md5 = "cdae5956d7c52f35e90317913a660123";
|
|
})
|
|
];
|
|
|
|
meta = {
|
|
homepage = http://exult.sourceforge.net/;
|
|
description = "A reimplementation of the Ultima VII game engine";
|
|
};
|
|
}
|