lms: 3.74.0 -> 3.78.0 (#538749)

This commit is contained in:
Peder Bergebakken Sundt
2026-07-10 16:09:39 +00:00
committed by GitHub
2 changed files with 9 additions and 2 deletions
+3 -2
View File
@@ -17,6 +17,7 @@
openssl,
xxhash,
pugixml,
onnxruntime,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -50,6 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
openssl
xxhash
pugixml
onnxruntime
];
postPatch = ''
@@ -59,8 +61,7 @@ stdenv.mkDerivation (finalAttrs: {
postInstall = ''
substituteInPlace $out/share/lms/lms.conf --replace-fail "/usr/bin/ffmpeg" "${lib.getExe ffmpeg}"
substituteInPlace $out/share/lms/lms.conf --replace-fail "/usr/share/Wt/resources" "${wt}/share/Wt/resources"
substituteInPlace $out/share/lms/lms.conf --replace-fail "/usr/share/lms/docroot" "$out/share/lms/docroot"
substituteInPlace $out/share/lms/lms.conf --replace-fail "/usr/share/lms/approot" "$out/share/lms/approot"
substituteInPlace $out/share/lms/lms.conf --replace-fail "/usr/share/lms" "$out/share/lms"
substituteInPlace $out/share/lms/default.service --replace-fail "/usr/bin/lms" "$out/bin/lms"
install -Dm444 $out/share/lms/default.service -T $out/lib/systemd/system/lmsd.service
'';
@@ -61,6 +61,12 @@ let
dontWrapQtApps = true;
cmakeFlags = [
"-DCMAKE_INSTALL_RPATH=${
lib.makeLibraryPath [
libice
libsm
]
}"
"-DWT_CPP_11_MODE=-std=c++11"
"--no-warn-unused-cli"
]