Skip to content

Commit

Permalink
peek: add gifski support
Browse files Browse the repository at this point in the history
This is an optional feature for gif post-processing.
It produces much better quality gif.

Also added which to PATH with the wrapper, as it's
needed to check for these types of programs [0].

[0]: https://github.com/phw/peek/blob/8b48e8847ad6e1c09fde12972b917bc975153c9c/src/utils.vala#L57
  • Loading branch information
worldofpeace committed Sep 25, 2019
1 parent f9edafb commit c5df3a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/applications/video/peek/default.nix
Expand Up @@ -19,6 +19,8 @@
, python3
, libxml2
, gst_all_1
, which
, gifski
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -63,7 +65,7 @@ stdenv.mkDerivation rec {
'';

preFixup = ''
gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ ffmpeg ]})
gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ which ffmpeg gifski ]})
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit c5df3a6

Please sign in to comment.