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