Merge pull request #299695 from K900/k3b-deps

kdePackages.k3b: add dynamically loaded dependencies
This commit is contained in:
K900 2024-03-30 20:13:49 +03:00 committed by GitHub
commit 39546a6544
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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";
}