summary refs log tree commit diff
path: root/pkgs/applications/video/qstopmotion/default.nix
blob: 310ac974fca77239c17f097d95b4ebc2d1b3d264 (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
34
35
36
{ stdenv, fetchurl, qt5, gstreamer, gstreamermm, gst_plugins_bad
, gst_plugins_base, gst_plugins_good, ffmpeg, guvcview, automoc4
, cmake, 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 gstreamer gstreamermm gst_plugins_bad gst_plugins_good
                  gst_plugins_base ffmpeg guvcview v4l_utils libv4l pcre
		];

  nativeBuildInputs = [ pkgconfig cmake 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;
  };
}