depot/third_party/nixpkgs/pkgs/applications/video/linuxstopmotion/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

33 lines
969 B
Nix

{ stdenv, fetchgit, pkgconfig, qt4, SDL, SDL_image, libvorbis, libtar, libxml2
, gamin, qmake4Hook
}:
stdenv.mkDerivation rec {
version = "0.8";
pname = "linuxstopmotion";
src = fetchgit {
url = "git://git.code.sf.net/p/linuxstopmotion/code";
rev = "refs/tags/${version}";
sha256 = "19v9d0v3laiwi0f1n92lvj2s5s1mxsrfygna0xyw9pkcnk3b26q6";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ qt4 SDL SDL_image libvorbis libtar libxml2 gamin qmake4Hook ];
patches = [ ./linuxstopmotion-fix-wrong-isProcess-logic.patch ];
# 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 ];
};
}