Merge pull request #22013 from peterhoeg/u/stk
supertuxkart: 0.9 -> 0.9.2
This commit is contained in:
commit
c39fc44adf
|
@ -1,45 +1,51 @@
|
||||||
{ fetchgit, fetchsvn, cmake, stdenv, plib, SDL, openal, freealut, mesa
|
{ stdenv, fetchFromGitHub, fetchsvn, cmake, pkgconfig
|
||||||
, libvorbis, libogg, gettext, libXxf86vm, curl, pkgconfig
|
, openal, freealut, mesa, libvorbis, libogg, gettext, curl, freetype
|
||||||
, fribidi, autoconf, automake, libtool, bluez, libjpeg, libpng }:
|
, fribidi, libtool, bluez, libjpeg, libpng, zlib, libX11, libXrandr }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
|
dir = "stk-code";
|
||||||
|
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
name = "supertuxkart-${version}";
|
name = "supertuxkart-${version}";
|
||||||
|
|
||||||
version = "0.9";
|
version = "0.9.2";
|
||||||
srcs = [
|
srcs = [
|
||||||
(fetchgit {
|
(fetchFromGitHub {
|
||||||
url = "https://github.com/supertuxkart/stk-code";
|
owner = "supertuxkart";
|
||||||
rev = "28a525f6d4aba2667c41a549b027149fcceda97e";
|
repo = "stk-code";
|
||||||
sha256 = "0b5izr7j3clm6pcxanwwaas06f17wi454s6hwmgv1mg48aay2v97";
|
rev = version;
|
||||||
name = "stk-code";
|
sha256 = "1zsc5nw8il8xwppk624jampfk6qhqzjnni8zicrhqix0xg07nxca";
|
||||||
|
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 = "16293";
|
rev = "16503"; # 0.9.2 crashes with 16937. Refer to stk-code/doc/assets_version
|
||||||
sha256 = "07jdkli28xr3rcxvixyy5bwi26n5i7dkhd9q0j4wifgs4pymm8r5";
|
sha256 = "0j1dy27gxm4hx26xddr2ak6vw0lim0nqmjnszfb4c61y92j12cqp";
|
||||||
name = "stk-assets";
|
name = "stk-assets";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
plib SDL openal freealut mesa libvorbis libogg gettext
|
cmake libtool pkgconfig
|
||||||
libXxf86vm curl pkgconfig fribidi autoconf automake libtool cmake bluez libjpeg libpng
|
libX11 libXrandr
|
||||||
|
openal freealut mesa libvorbis libogg gettext zlib freetype
|
||||||
|
curl fribidi bluez libjpeg libpng
|
||||||
];
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
sourceRoot = "stk-code";
|
sourceRoot = dir;
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A Free 3D kart racing game";
|
description = "A Free 3D kart racing game";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
SuperTuxKart is a Free 3D kart racing game, with many tracks,
|
SuperTuxKart is a Free 3D kart racing game, with many tracks,
|
||||||
characters and items for you to try, similar in spirit to Mario
|
characters and items for you to try, similar in spirit to Mario
|
||||||
Kart.
|
Kart.
|
||||||
'';
|
'';
|
||||||
homepage = http://supertuxkart.sourceforge.net/;
|
homepage = https://supertuxkart.net/;
|
||||||
license = stdenv.lib.licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with stdenv.lib.maintainers; [ c0dehero fuuzetsu ];
|
maintainers = with maintainers; [ c0dehero fuuzetsu peterhoeg ];
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = with platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue