parent
b713e97c30
commit
5b3eac040b
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, cmake, openmw, fetchFromGitHub, luajit, makeWrapper }:
|
{ stdenv, cmake, openmw, fetchFromGitHub, luajit, makeWrapper, mygui }:
|
||||||
|
|
||||||
# revisions are taken from https://github.com/GrimKriegor/TES3MP-deploy
|
# revisions are taken from https://github.com/GrimKriegor/TES3MP-deploy
|
||||||
|
|
||||||
@ -28,6 +28,17 @@ let
|
|||||||
rev = "24aae91d9ddad38cdb3b0e0a13af59f142803e94";
|
rev = "24aae91d9ddad38cdb3b0e0a13af59f142803e94";
|
||||||
sha256 = "1rfmxxr9ircfagdpbdrzl26msdhx1i3g974cblbv69078cradfh3";
|
sha256 = "1rfmxxr9ircfagdpbdrzl26msdhx1i3g974cblbv69078cradfh3";
|
||||||
};
|
};
|
||||||
|
# https://github.com/TES3MP/openmw-tes3mp/issues/555
|
||||||
|
mygui_ = mygui.overrideAttrs (oldAttrs: rec {
|
||||||
|
version = "3.2.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "MyGUI";
|
||||||
|
repo = "mygui";
|
||||||
|
rev = "MyGUI${version}";
|
||||||
|
sha256 = "1wk7jmwm55rhlqqcyvqsxdmwvl70bysl9azh4kd9n57qlmgk3zmw";
|
||||||
|
};
|
||||||
|
});
|
||||||
in openmw.overrideAttrs (oldAttrs: rec {
|
in openmw.overrideAttrs (oldAttrs: rec {
|
||||||
version = "2019-11-19";
|
version = "2019-11-19";
|
||||||
name = "openmw-tes3mp-${version}";
|
name = "openmw-tes3mp-${version}";
|
||||||
@ -41,7 +52,7 @@ in openmw.overrideAttrs (oldAttrs: rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ makeWrapper ];
|
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ makeWrapper ];
|
||||||
buildInputs = oldAttrs.buildInputs ++ [ luajit ];
|
buildInputs = [ luajit mygui_ ] ++ oldAttrs.buildInputs;
|
||||||
|
|
||||||
cmakeFlags = oldAttrs.cmakeFlags ++ [
|
cmakeFlags = oldAttrs.cmakeFlags ++ [
|
||||||
"-DBUILD_OPENCS=OFF"
|
"-DBUILD_OPENCS=OFF"
|
||||||
@ -50,7 +61,7 @@ in openmw.overrideAttrs (oldAttrs: rec {
|
|||||||
"-DRakNet_LIBRARY_DEBUG=${rakNetLibrary}/lib/libRakNetLibStatic.a"
|
"-DRakNet_LIBRARY_DEBUG=${rakNetLibrary}/lib/libRakNetLibStatic.a"
|
||||||
];
|
];
|
||||||
|
|
||||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95175
|
# https://github.com/TES3MP/openmw-tes3mp/issues/552
|
||||||
patches = [
|
patches = [
|
||||||
./tes3mp.patch
|
./tes3mp.patch
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user