forked from mirrors/nixpkgs
superTuxKart: 0.9.3 -> 1.0
This commit is contained in:
parent
4a11ce7f26
commit
61067916d0
|
@ -1,27 +1,26 @@
|
||||||
{ stdenv, fetchFromGitHub, fetchsvn, fetchpatch, cmake, pkgconfig
|
{ stdenv, fetchFromGitHub, fetchsvn, fetchpatch, cmake, pkgconfig
|
||||||
, openal, freealut, libGLU_combined, libvorbis, libogg, gettext, curl, freetype
|
, openal, freealut, libGLU_combined, libvorbis, libogg, gettext, curl, freetype
|
||||||
, fribidi, libtool, bluez, libjpeg, libpng, zlib, libX11, libXrandr }:
|
, fribidi, libtool, bluez, libjpeg, libpng, zlib, libX11, libXrandr, enet }:
|
||||||
|
|
||||||
let
|
let
|
||||||
dir = "stk-code";
|
dir = "stk-code";
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "supertuxkart-${version}";
|
pname = "supertuxkart";
|
||||||
|
version = "1.0";
|
||||||
version = "0.9.3";
|
|
||||||
|
|
||||||
srcs = [
|
srcs = [
|
||||||
(fetchFromGitHub {
|
(fetchFromGitHub {
|
||||||
owner = "supertuxkart";
|
owner = "supertuxkart";
|
||||||
repo = "stk-code";
|
repo = "stk-code";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1smnanjjaj4yq2ywikv0l6xysh6n2h1cm549plbg5xdk9mx2sfia";
|
sha256 = "03mrnzrvfdgjc687n718f5zsray6vbdlv4irzy2mfi78bz3bkjll";
|
||||||
name = dir;
|
name = dir;
|
||||||
})
|
})
|
||||||
(fetchsvn {
|
(fetchsvn {
|
||||||
url = "https://svn.code.sf.net/p/supertuxkart/code/stk-assets";
|
url = "https://svn.code.sf.net/p/supertuxkart/code/stk-assets";
|
||||||
rev = "17448";
|
rev = "18212";
|
||||||
sha256 = "0lxbb4k57gv4gj12l5hnvhwdycpzcxjwg7qdfwglj2bdvaxf9f21";
|
sha256 = "1dyj8r5rfifhnhayga8w8irkpa99vw57xjmy74cp8xz8g7zvdzqf";
|
||||||
name = "stk-assets";
|
name = "stk-assets";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
@ -31,15 +30,7 @@ in stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libX11 libXrandr
|
libX11 libXrandr
|
||||||
openal freealut libGLU_combined libvorbis libogg zlib freetype
|
openal freealut libGLU_combined libvorbis libogg zlib freetype
|
||||||
curl fribidi bluez libjpeg libpng
|
curl fribidi bluez libjpeg libpng enet
|
||||||
];
|
|
||||||
|
|
||||||
# https://github.com/supertuxkart/stk-code/issues/3557#issuecomment-440794379
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/supertuxkart/stk-code/commit/3a3953f38c3555e87f3608d0291dbfccf34e9775.patch";
|
|
||||||
sha256 = "13mr5pwf45g7frpxzlxiyiq39qi3z9spd7l6gi8i3dr3li9wrb1k";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue