Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openmw: 0.43 -> 0.44 #57493

Merged
merged 2 commits into from
Mar 14, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions pkgs/games/openmw/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv, fetchFromGitHub, qt4, openscenegraph, mygui, bullet, ffmpeg, boost, cmake, SDL2, unshield, openal
, libXt, pkgconfig }:
{ stdenv, fetchFromGitHub, qt5, qt4, openscenegraph, mygui, bullet, ffmpeg
, boost, cmake, SDL2, unshield, openal, libXt, pkgconfig
, useQt5 ? true }:

let
openscenegraph_ = openscenegraph.overrideDerivation (self: {
Expand All @@ -11,20 +12,24 @@ let
};
});
in stdenv.mkDerivation rec {
version = "0.43.0";
version = "0.44.0";
name = "openmw-${version}";

src = fetchFromGitHub {
owner = "OpenMW";
repo = "openmw";
rev = name;
sha256 = "1nybxwp77qswjayf0g9xayp4x1xxq799681rhjlggch127r07ifi";
sha256 = "0rxkw0bzag7qffifg28dyyga47aaaf5ziiccpv7p8yax1wglvymh";
};

enableParallelBuilding = true;

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) ];
veprbl marked this conversation as resolved.
Show resolved Hide resolved
cmakeFlags = [
"-DDESIRED_QT_VERSION:INT=${if useQt5 then "5" else "4"}"
];

meta = with stdenv.lib; {
description = "An unofficial open source engine reimplementation of the game Morrowind";
Expand Down