From e31951cb88c574e5fd043e74f5530329b428a600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 18 Aug 2016 09:40:51 +0200 Subject: [PATCH] More dependencies to shotcut --- pkgs/applications/video/shotcut/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/video/shotcut/default.nix b/pkgs/applications/video/shotcut/default.nix index 99eb27a4d38d..3bf17435fc07 100644 --- a/pkgs/applications/video/shotcut/default.nix +++ b/pkgs/applications/video/shotcut/default.nix @@ -1,5 +1,7 @@ -{ stdenv, fetchurl, SDL, frei0r, gettext, makeWrapper, mlt, pkgconfig, qtbase, -qtmultimedia, qtwebkit, qtx11extras, qtwebsockets, qmakeHook }: +{ stdenv, fetchurl, SDL, frei0r, gettext, mlt, jack1, pkgconfig, qtbase, +qtmultimedia, qtwebkit, qtx11extras, qtwebsockets, qtquick1, qtquickcontrols, +qtgraphicaleffects, +qmakeHook, makeQtWrapper }: stdenv.mkDerivation rec { name = "shotcut-${version}"; @@ -10,13 +12,15 @@ stdenv.mkDerivation rec { sha256 = "10f32mfj3f8mjp0yi0jb7wc5d3inycn5c1pvqdagjhyyv3rvx9zy"; }; - buildInputs = [ SDL frei0r gettext makeWrapper mlt pkgconfig qtbase - qtmultimedia qtwebkit qtx11extras qtwebsockets qmakeHook ]; + buildInputs = [ SDL frei0r gettext mlt pkgconfig qtbase qtmultimedia qtwebkit + qtx11extras qtwebsockets qtquick1 qtquickcontrols qtgraphicaleffects qmakeHook makeQtWrapper ]; + + enableParallelBuilding = true; postInstall = '' mkdir -p $out/share/shotcut cp -r src/qml $out/share/shotcut/ - wrapProgram $out/bin/shotcut --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 + wrapQtProgram $out/bin/shotcut --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 --prefix LD_LIBRARY_PATH : ${jack1}/lib:${SDL.out}/lib ''; meta = with stdenv.lib; {