kdenlive: avoid double wrapping

wip/yesman
Frederik Rietdijk 4 years ago committed by Frederik Rietdijk
parent 7698197323
commit 016bfce7d2
  1. 8
      pkgs/applications/kde/kdenlive.nix

@ -84,12 +84,20 @@ mkDerivation {
sed -i CMakeLists.txt -e '/find_package(Qt5 REQUIRED/ s|)| Concurrent)|'
substituteAllInPlace src/kdenlivesettings.kcfg
'';
dontWrapGApps = true;
# Frei0r path needs to be set too or Kdenlive will complain. See:
# https://github.com/NixOS/nixpkgs/issues/83885
# https://github.com/NixOS/nixpkgs/issues/29614#issuecomment-488849325
qtWrapperArgs = [
"--set FREI0R_PATH ${frei0r}/lib/frei0r-1"
];
preFixup = ''
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = {
license = with lib.licenses; [ gpl2Plus ];
};

Loading…
Cancel
Save