summary refs log tree commit diff
path: root/pkgs/applications/video/qstopmotion/default.nix
blob: a689697e0a0fed0bda843d63d845c1ac5c5bccca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ stdenv, fetchurl, qt5, ffmpeg, guvcview, automoc4
, cmake, ninja, libxml2, gettext, pkgconfig, libgphoto2, gphoto2, v4l_utils
, libv4l, pcre }:

stdenv.mkDerivation rec {
  pname = "qstopmotion";
  version = "2.3.2";
  name = "${pname}-${version}";

  src = fetchurl {
    url = "mirror://sourceforge/project/${pname}/Version_2_3_2/${name}-Source.tar.gz";
    sha256 = "1vbiznwyc05jqg0dpmgxmvf7kdzmlck0i8v2c5d69kgrdnaypcrf";
  };

  buildInputs = [ qt5.qtbase ffmpeg guvcview v4l_utils libv4l pcre ];

  nativeBuildInputs = [ pkgconfig cmake ninja gettext libgphoto2 gphoto2 libxml2 libv4l ];

  meta = with stdenv.lib; {
    homepage = http://www.qstopmotion.org;
    description = "Create stopmotion animation with a (web)camera";
    longDescription = ''
      Qstopmotion is a tool to create stopmotion
      animation. Its users are able to create stop-motions from pictures
      imported from a camera or from the harddrive and export the
      animation to different video formats such as mpeg or avi.
    '';

    license = stdenv.lib.licenses.gpl2Plus;
    maintainers = [ maintainers.leenaars ];
    platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
  };
}