openmw: 0.43 -> 0.44; update to qt5
This commit is contained in:
parent
dd25140305
commit
610757e024
|
@ -1,5 +1,6 @@
|
||||||
{ stdenv, fetchFromGitHub, qt4, openscenegraph, mygui, bullet, ffmpeg, boost, cmake, SDL2, unshield, openal
|
{ stdenv, fetchFromGitHub, qt5, qt4, openscenegraph, mygui, bullet, ffmpeg
|
||||||
, libXt, pkgconfig }:
|
, boost, cmake, SDL2, unshield, openal, libXt, pkgconfig
|
||||||
|
, useQt5 ? true }:
|
||||||
|
|
||||||
let
|
let
|
||||||
openscenegraph_ = openscenegraph.overrideDerivation (self: {
|
openscenegraph_ = openscenegraph.overrideDerivation (self: {
|
||||||
|
@ -11,20 +12,24 @@ let
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
version = "0.43.0";
|
version = "0.44.0";
|
||||||
name = "openmw-${version}";
|
name = "openmw-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OpenMW";
|
owner = "OpenMW";
|
||||||
repo = "openmw";
|
repo = "openmw";
|
||||||
rev = name;
|
rev = name;
|
||||||
sha256 = "1nybxwp77qswjayf0g9xayp4x1xxq799681rhjlggch127r07ifi";
|
sha256 = "0rxkw0bzag7qffifg28dyyga47aaaf5ziiccpv7p8yax1wglvymh";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ cmake boost ffmpeg qt4 bullet mygui openscenegraph_ SDL2 unshield openal libXt ];
|
buildInputs = [ cmake boost ffmpeg bullet mygui openscenegraph_ SDL2 unshield openal libXt ]
|
||||||
|
++ [ (if useQt5 then qt5.qtbase else qt4) ];
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DDESIRED_QT_VERSION:INT=${if useQt5 then "5" else "4"}"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An unofficial open source engine reimplementation of the game Morrowind";
|
description = "An unofficial open source engine reimplementation of the game Morrowind";
|
||||||
|
|
Loading…
Reference in New Issue