brasero: fix libdvdcss usage

turns out, prefixing LD_PRELOAD with the path to libdvdcss works just
fine.
This commit is contained in:
Florian Klink 2019-02-14 01:14:55 +01:00
parent ac29d96d25
commit ea4431750e
2 changed files with 4 additions and 5 deletions

View file

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

View file

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