2014-08-17 21:58:02 +01:00
|
|
|
{ stdenv, fetchgit, pkgconfig, qt4, SDL, SDL_image, libvorbis, libtar, libxml2
|
2016-04-17 00:43:08 +01:00
|
|
|
, gamin, qmake4Hook
|
2014-08-17 21:58:02 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.8";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "linuxstopmotion";
|
2014-08-17 21:58:02 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.code.sf.net/p/linuxstopmotion/code";
|
|
|
|
rev = "refs/tags/${version}";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "19v9d0v3laiwi0f1n92lvj2s5s1mxsrfygna0xyw9pkcnk3b26q6";
|
2014-08-17 21:58:02 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ qt4 SDL SDL_image libvorbis libtar libxml2 gamin qmake4Hook ];
|
2014-08-17 21:58:02 +01:00
|
|
|
|
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://linuxstopmotion.org/";
|
2014-08-17 21:58:02 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|