brasero: fix libdvdcss usage
turns out, prefixing LD_PRELOAD with the path to libdvdcss works just fine.
This commit is contained in:
parent
ac29d96d25
commit
ea4431750e
|
@ -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,7 +10,8 @@ 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 a new issue