at v192 36 lines 980 B view raw
1{ stdenv, fetchgit, pkgconfig, qt4, SDL, SDL_image, libvorbis, libtar, libxml2 2, gamin 3}: 4 5stdenv.mkDerivation rec { 6 version = "0.8"; 7 name = "linuxstopmotion-${version}"; 8 9 src = fetchgit { 10 url = "git://git.code.sf.net/p/linuxstopmotion/code"; 11 rev = "refs/tags/${version}"; 12 sha256 = "1xkkrhllgy2d7k0vrdj794ya7y3g3n7xh8c2qgnb26yrarz79dqj"; 13 }; 14 15 buildInputs = [ pkgconfig qt4 SDL SDL_image libvorbis libtar libxml2 gamin ]; 16 17 patches = [ ./linuxstopmotion-fix-wrong-isProcess-logic.patch ]; 18 19 configurePhase = '' 20 qmake PREFIX="$out" 21 ''; 22 23 # Installation breaks without this 24 preInstall = '' 25 mkdir -p "$out/share/stopmotion/translations/" 26 cp -v build/*.qm "$out/share/stopmotion/translations/" 27 ''; 28 29 meta = with stdenv.lib; { 30 description = "Create stop-motion animation movies"; 31 homepage = http://linuxstopmotion.org/; 32 license = licenses.gpl2; 33 platforms = platforms.linux; 34 maintainers = [ maintainers.bjornfor ]; 35 }; 36}