kdePackages.k3b: add dynamically loaded dependencies, fix wrapper

Fixes #299248
This commit is contained in:
K900 2024-03-28 11:58:43 +03:00
parent e595323f37
commit ac648a7d26

View File

@ -13,8 +13,10 @@
libsamplerate,
cdrdao,
cdrtools,
cdparanoia,
dvdplusrwtools,
libburn,
libdvdcss,
normalize,
sox,
transcode,
@ -38,7 +40,7 @@ mkKdeDerivation {
];
qtWrapperArgs = [
"--prefix PATH ':' ${lib.makeBinPath [
"--prefix PATH : ${lib.makeBinPath [
cdrdao
cdrtools
dvdplusrwtools
@ -49,6 +51,10 @@ mkKdeDerivation {
vcdimager
flac
]}"
# FIXME: this should really be done with patchelf --add-rpath, but it breaks the binary somehow
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ cdparanoia libdvdcss ]}"
];
meta.mainProgram = "k3b";
}