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