Removing content-pack download from rigsofrods.
The content packs from 0.37 don't seem to work. We should get one from 0.4, but there are license problems, I think.
This commit is contained in:
parent
e741a302d4
commit
2d3245042e
@ -14,39 +14,17 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0h71nrgq5r5cnh20c7wl8jzyaf50dj1b5jdrwihnklpsfyfvjlw4";
|
sha256 = "0h71nrgq5r5cnh20c7wl8jzyaf50dj1b5jdrwihnklpsfyfvjlw4";
|
||||||
};
|
};
|
||||||
|
|
||||||
contentPackSrc = fetchurl {
|
|
||||||
url = mirror://sourceforge/rigsofrods/rigsofrods/0.37/content-pack-0.37.zip;
|
|
||||||
sha256 = "0prvn8lxqazadad4mv0nilax9i4vqb9s7dp7mqzvqc0ycmcnf4ps";
|
|
||||||
};
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
#cmakeFlags = [
|
|
||||||
# "-DROR_USE_CURL=TRUE"
|
|
||||||
# "-DROR_USE_MYGUI=TRUE"
|
|
||||||
# "-DROR_USE_OPNEAL=TRUE"
|
|
||||||
# "-DROR_USE_CAELUM=TRUE"
|
|
||||||
# "-DROR_USE_PAGED=TRUE"
|
|
||||||
# "-DROR_USE_ANGELSCRIPT=TRUE"
|
|
||||||
# "-DROR_USE_SOCKETW=TRUE"
|
|
||||||
# "-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
#];
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
sed -e "s@/usr/local/lib/OGRE@${ogre}/lib/OGRE@" -i ../tools/linux/binaries/plugins.cfg
|
sed -e "s@/usr/local/lib/OGRE@${ogre}/lib/OGRE@" -i ../tools/linux/binaries/plugins.cfg
|
||||||
mkdir -p $out/share/rigsofrods
|
mkdir -p $out/share/rigsofrods
|
||||||
cp -r bin/* $out/share/rigsofrods
|
cp -r bin/* $out/share/rigsofrods
|
||||||
cp ../tools/linux/binaries/plugins.cfg $out/share/rigsofrods
|
cp ../tools/linux/binaries/plugins.cfg $out/share/rigsofrods
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
ln -s $out/share/rigsofrods/{RoR,rorconfig} $out/bin
|
ln -s $out/share/rigsofrods/{RoR,RoRConfig} $out/bin
|
||||||
cd $out/share/rigsofrods
|
|
||||||
mkdir packs
|
|
||||||
cd packs
|
|
||||||
unzip "${contentPackSrc}"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
#patches = [ ./paths.patch ];
|
|
||||||
|
|
||||||
buildInputs = [ wxGTK30 freeimage cmake zziplib mesa boost pkgconfig
|
buildInputs = [ wxGTK30 freeimage cmake zziplib mesa boost pkgconfig
|
||||||
libuuid openal ogre ois curl gtk mygui unzip angelscript
|
libuuid openal ogre ois curl gtk mygui unzip angelscript
|
||||||
ogrepaged mysocketw libxcb ];
|
ogrepaged mysocketw libxcb ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user