openmw: ffmpeg_3 -> ffmpeg
This commit is contained in:
parent
a9f4acc838
commit
5c87334112
@ -1,5 +1,18 @@
|
||||
{ lib, stdenv, fetchFromGitHub, qtbase, openscenegraph, mygui, bullet, ffmpeg_3
|
||||
, boost, cmake, SDL2, unshield, openal, libXt, pkg-config }:
|
||||
{ lib
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, openscenegraph
|
||||
, mygui
|
||||
, bullet
|
||||
, ffmpeg
|
||||
, boost
|
||||
, SDL2
|
||||
, unshield
|
||||
, openal
|
||||
, libXt
|
||||
}:
|
||||
|
||||
let
|
||||
openscenegraph_ = openscenegraph.overrideDerivation (self: {
|
||||
@ -11,9 +24,9 @@ let
|
||||
sha256 = "0d74hijzmj82nx3jkv5qmr3pkgvplra0b8fbjx1y3vmzxamb0axd";
|
||||
};
|
||||
});
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
in
|
||||
mkDerivation rec {
|
||||
version = "0.46.0";
|
||||
pname = "openmw";
|
||||
|
||||
@ -25,10 +38,23 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ boost ffmpeg_3 bullet mygui openscenegraph_ SDL2 unshield openal libXt qtbase ];
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
boost
|
||||
bullet
|
||||
ffmpeg
|
||||
libXt
|
||||
mygui
|
||||
openal
|
||||
openscenegraph_
|
||||
unshield
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DDESIRED_QT_VERSION:INT=5"
|
||||
# as of 0.46, openmw is broken with GLVND
|
||||
"-DOpenGL_GL_PREFERENCE=LEGACY"
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
@ -37,7 +63,7 @@ stdenv.mkDerivation rec {
|
||||
description = "An unofficial open source engine reimplementation of the game Morrowind";
|
||||
homepage = "http://openmw.org";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user