26 pname = "qstopmotion";
30 url = "mirror://sourceforge/project/${pname}/Version_${builtins.replaceStrings ["."] ["_"] version}/${pname}-${version}-Source.tar.gz";
31 sha256 = "sha256-jyBUyadkSuQKXOrr5XZ1jy6of1Qw8S2HPxuOrPc7RnE=";
60 substituteInPlace CMakeLists.txt \
61 --replace "find_package(Qt5 REQUIRED COMPONENTS Core Widgets Xml" \
62 "find_package(Qt5 REQUIRED COMPONENTS Core Widgets Xml Multimedia"
63 grep -rl 'qwt' . | xargs sed -i 's@<qwt/qwt_slider.h>@<qwt_slider.h>@g'
67 "--prefix" "PATH" ":" (lib.makeBinPath [ ffmpeg ])
71 homepage = "http://www.qstopmotion.org";
72 description = "Create stopmotion animation with a (web)camera";
74 Qstopmotion is a tool to create stopmotion
75 animation. Its users are able to create stop-motions from pictures
76 imported from a camera or from the harddrive and export the
77 animation to different video formats such as mpeg or avi.
80 license = lib.licenses.gpl2Plus;
81 maintainers = [ maintainers.leenaars ];
82 broken = stdenv.isAarch64;
83 platforms = lib.platforms.gnu ++ lib.platforms.linux;
84 mainProgram = "qstopmotion";