2019-02-14 01:14:55 +01:00
|
|
|
{ lib, symlinkJoin, brasero-original, cdrtools, libdvdcss, makeWrapper }:
|
2016-04-23 03:14:28 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
binPath = lib.makeBinPath [ cdrtools ];
|
2016-04-26 14:27:59 +02:00
|
|
|
in symlinkJoin {
|
2016-04-23 03:14:28 +02:00
|
|
|
name = "brasero-${brasero-original.version}";
|
|
|
|
|
|
|
|
paths = [ brasero-original ];
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
wrapProgram $out/bin/brasero \
|
2019-02-14 01:14:55 +01:00
|
|
|
--prefix PATH ':' ${binPath} \
|
|
|
|
--prefix LD_PRELOAD : ${lib.makeLibraryPath [ libdvdcss ]}/libdvdcss.so
|
2016-04-23 03:14:28 +02:00
|
|
|
'';
|
2019-02-14 01:14:55 +01:00
|
|
|
|
2018-08-05 16:06:55 +02:00
|
|
|
inherit (brasero-original) meta;
|
2016-04-23 03:14:28 +02:00
|
|
|
}
|