spring{,Lobby}: make it build, still tells me unsynced though
This commit is contained in:
parent
cbceee8e97
commit
a64f6187d4
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, lzma, boost, libdevil, zlib, p7zip
|
||||
{ stdenv, fetchFromGitHub, cmake, lzma, boost, libdevil, zlib, p7zip
|
||||
, openal, libvorbis, glew, freetype, xorg, SDL2, libGLU, libGL
|
||||
, asciidoc, libxslt, docbook_xsl, docbook_xsl_ns, curl, makeWrapper
|
||||
, jdk ? null, python ? null, systemd, libunwind, which, minizip
|
||||
@ -6,13 +6,15 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "spring";
|
||||
version = "104.0";
|
||||
version = "104.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/springrts/spring_${version}_src.tar.lzma";
|
||||
sha256 = "05pclcbw7v481pqz7bgirlk37494hy4hx4jghhnlzhdaz1cvzc6f";
|
||||
src = fetchFromGitHub {
|
||||
owner = "spring";
|
||||
repo = "spring";
|
||||
rev = version;
|
||||
sha256 = "1z7c5yxsv0j4nlkmc0limxxkl5mp65jckjfh7nyv3a3zvzhv00zc";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
# The cmake included module correcly finds nix's glew, however
|
||||
@ -21,8 +23,12 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace ./rts/build/cmake/FindAsciiDoc.cmake \
|
||||
--replace "PATHS /usr /usr/share /usr/local /usr/local/share" "PATHS ${docbook_xsl}"\
|
||||
--replace "xsl/docbook/manpages" "share/xml/docbook-xsl/manpages"
|
||||
substituteInPlace ./rts/Rendering/GL/myGL.cpp \
|
||||
--replace "static constexpr const GLubyte* qcriProcName" "static const GLubyte* qcriProcName"
|
||||
patchShebangs .
|
||||
rm rts/build/cmake/FindGLEW.cmake
|
||||
|
||||
echo "104.0.1-1466-g9ee29da maintenance" > VERSION
|
||||
'';
|
||||
|
||||
cmakeFlags = ["-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON"
|
||||
@ -50,6 +56,5 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.phreedom maintainers.qknight maintainers.domenkozar ];
|
||||
platforms = platforms.linux;
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
@ -4,11 +4,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "springlobby";
|
||||
version = "0.267";
|
||||
version = "0.269";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.springlobby.info/tarballs/springlobby-${version}.tar.bz2";
|
||||
sha256 = "0yv7j9l763iqx7hdi2pcz5jkj0068yrffb8nrav7pwg0g3s0znak";
|
||||
url = "https://springlobby.springrts.com/dl/stable/springlobby-${version}.tar.bz2";
|
||||
sha256 = "1shgrfs4ssjj8m0c7805jisjzpc60796l0vja3yjfdksrz7yxvhg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
Loading…
Reference in New Issue
Block a user