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
|
, libcanberra-gtk3, intltool, dvdauthor, libburn, libisofs
|
||||||
, vcdimager, wrapGAppsHook, hicolor-icon-theme }:
|
, vcdimager, wrapGAppsHook, hicolor-icon-theme }:
|
||||||
|
|
||||||
# libdvdcss is "too old" (in fast "too new"), see https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/611590
|
|
||||||
|
|
||||||
let
|
let
|
||||||
major = "3.12";
|
major = "3.12";
|
||||||
minor = "2";
|
minor = "2";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, symlinkJoin, brasero-original, cdrtools, makeWrapper }:
|
{ lib, symlinkJoin, brasero-original, cdrtools, libdvdcss, makeWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
binPath = lib.makeBinPath [ cdrtools ];
|
binPath = lib.makeBinPath [ cdrtools ];
|
||||||
|
@ -10,8 +10,9 @@ in symlinkJoin {
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
wrapProgram $out/bin/brasero \
|
wrapProgram $out/bin/brasero \
|
||||||
--prefix PATH ':' ${binPath}
|
--prefix PATH ':' ${binPath} \
|
||||||
|
--prefix LD_PRELOAD : ${lib.makeLibraryPath [ libdvdcss ]}/libdvdcss.so
|
||||||
'';
|
'';
|
||||||
|
|
||||||
inherit (brasero-original) meta;
|
inherit (brasero-original) meta;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue