lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

mlt: fix binary not being wrapped if enableQt is disabled

Signed-off-by: lucasew <lucas59356@gmail.com>

authored by

lucasew and committed by
Anderson Torres
815a2d26 5b86eecf

+9 -5
+9 -5
pkgs/development/libraries/mlt/default.nix
··· 13 13 , libsamplerate 14 14 , libvorbis 15 15 , libxml2 16 + , makeWrapper 16 17 , movit 17 18 , opencv4 18 19 , rtaudio ··· 52 53 cmake 53 54 pkg-config 54 55 which 56 + makeWrapper 55 57 ] ++ lib.optionals cudaSupport [ 56 58 cudaPackages.cuda_nvcc 57 59 ] ++ lib.optionals enablePython [ ··· 102 104 "-DSWIG_PYTHON=ON" 103 105 ]; 104 106 105 - qtWrapperArgs = [ 106 - "--prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1" 107 - ] ++ lib.optionals enableJackrack [ 108 - "--prefix LADSPA_PATH : ${ladspaPlugins}/lib/ladspa" 109 - ]; 107 + preFixup = '' 108 + wrapProgram $out/bin/melt \ 109 + --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 \ 110 + ${lib.optionalString enableJackrack "--prefix LADSPA_PATH : ${ladspaPlugins}/lib/ladspa"} \ 111 + ${lib.optionalString enableQt "\${qtWrapperArgs[@]}"} 112 + 113 + ''; 110 114 111 115 postFixup = '' 112 116 substituteInPlace "$dev"/lib/pkgconfig/mlt-framework-7.pc \