2019-02-14 00:14:55 +00:00
|
|
|
{ lib, symlinkJoin, brasero-original, cdrtools, libdvdcss, makeWrapper }:
|
2016-04-23 02:14:28 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
binPath = lib.makeBinPath [ cdrtools ];
|
2016-04-26 13:27:59 +01:00
|
|
|
in symlinkJoin {
|
2016-04-23 02:14:28 +01:00
|
|
|
name = "brasero-${brasero-original.version}";
|
|
|
|
|
|
|
|
paths = [ brasero-original ];
|
2021-07-12 20:29:50 +01:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2016-04-23 02:14:28 +01: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 02:14:28 +01:00
|
|
|
'';
|
2019-02-14 00:14:55 +00:00
|
|
|
|
2018-08-05 15:06:55 +01:00
|
|
|
inherit (brasero-original) meta;
|
2016-04-23 02:14:28 +01:00
|
|
|
}
|