mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
006ebdfe78
Linux Stopmotion is a program for creating stop-motion animation movies. http://linuxstopmotion.org/ I had to apply a small patch to make grabbing images from webcam work (using uvccapture). I find it odd that it didn't work without the patch, seeing that Arch Linux also have the v0.8.0 version, but with no patch. Latest Ubuntu (14.04) has v0.7.2, which is unaffected.
37 lines
980 B
Nix
37 lines
980 B
Nix
{ stdenv, fetchgit, pkgconfig, qt4, SDL, SDL_image, libvorbis, libtar, libxml2
|
|
, gamin
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.8";
|
|
name = "linuxstopmotion-${version}";
|
|
|
|
src = fetchgit {
|
|
url = "git://git.code.sf.net/p/linuxstopmotion/code";
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "1xkkrhllgy2d7k0vrdj794ya7y3g3n7xh8c2qgnb26yrarz79dqj";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig qt4 SDL SDL_image libvorbis libtar libxml2 gamin ];
|
|
|
|
patches = [ ./linuxstopmotion-fix-wrong-isProcess-logic.patch ];
|
|
|
|
configurePhase = ''
|
|
qmake PREFIX="$out"
|
|
'';
|
|
|
|
# Installation breaks without this
|
|
preInstall = ''
|
|
mkdir -p "$out/share/stopmotion/translations/"
|
|
cp -v build/*.qm "$out/share/stopmotion/translations/"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Create stop-motion animation movies";
|
|
homepage = http://linuxstopmotion.org/;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
}
|