Skip to content

Commit

Permalink
kdenlive: avoid double wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Nov 1, 2020
1 parent 7698197 commit 016bfce
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/applications/kde/kdenlive.nix
Expand Up @@ -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 ];
};
Expand Down

0 comments on commit 016bfce

Please sign in to comment.