Merge pull request #55740 from flokli/brasero-libdvdcss
brasero: fix libdvdcss usage
This commit is contained in:
commit
53a73b0914
@ -2,8 +2,6 @@
|
||||
, libcanberra-gtk3, intltool, dvdauthor, libburn, libisofs
|
||||
, vcdimager, wrapGAppsHook, hicolor-icon-theme }:
|
||||
|
||||
# libdvdcss is "too old" (in fast "too new"), see https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/611590
|
||||
|
||||
let
|
||||
major = "3.12";
|
||||
minor = "2";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, symlinkJoin, brasero-original, cdrtools, makeWrapper }:
|
||||
{ lib, symlinkJoin, brasero-original, cdrtools, libdvdcss, makeWrapper }:
|
||||
|
||||
let
|
||||
binPath = lib.makeBinPath [ cdrtools ];
|
||||
@ -10,8 +10,9 @@ in symlinkJoin {
|
||||
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/brasero \
|
||||
--prefix PATH ':' ${binPath}
|
||||
--prefix PATH ':' ${binPath} \
|
||||
--prefix LD_PRELOAD : ${lib.makeLibraryPath [ libdvdcss ]}/libdvdcss.so
|
||||
'';
|
||||
|
||||
|
||||
inherit (brasero-original) meta;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user