2015-05-09 23:13:52 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
2020-06-07 13:39:09 +01:00
|
|
|
, cairo, ffmpeg_3, ffms, libjpeg, log4cpp, pango
|
2015-05-09 23:13:52 +01:00
|
|
|
, avxeditSupport ? false, qt4 ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (stdenv.lib) enableFeature optional;
|
|
|
|
in
|
2013-04-10 14:12:02 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "avxsynth";
|
2015-05-09 23:13:52 +01:00
|
|
|
version = "2015-04-07";
|
2013-04-10 14:12:02 +01:00
|
|
|
|
2015-05-09 23:13:52 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "avxsynth";
|
|
|
|
repo = "avxsynth";
|
|
|
|
rev = "80dcb7ec8d314bc158130c92803308aa8e5e9242";
|
|
|
|
sha256 = "0kckggvgv68b0qjdi7ms8vi97b46dl63n60qr96d2w67lf2nk87z";
|
2013-04-10 14:12:02 +01:00
|
|
|
};
|
|
|
|
|
2015-05-09 23:13:52 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-autocrop"
|
|
|
|
"--enable-framecapture"
|
|
|
|
"--enable-subtitle"
|
|
|
|
"--enable-ffms2"
|
|
|
|
(enableFeature avxeditSupport "avxedit")
|
2016-01-24 07:29:29 +00:00
|
|
|
"--with-jpeg=${libjpeg.out}/lib"
|
2015-05-09 23:13:52 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2013-04-10 14:12:02 +01:00
|
|
|
|
2020-06-07 13:39:09 +01:00
|
|
|
buildInputs = [ cairo ffmpeg_3 ffms libjpeg log4cpp pango ]
|
2015-05-09 23:13:52 +01:00
|
|
|
++ optional avxeditSupport qt4;
|
2013-04-10 14:12:02 +01:00
|
|
|
|
2015-05-09 23:13:52 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A script system that allows advanced non-linear editing";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/avxsynth/avxsynth";
|
2015-05-09 23:13:52 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2018-07-22 20:50:19 +01:00
|
|
|
maintainers = with maintainers; [ codyopel ];
|
2015-05-09 23:13:52 +01:00
|
|
|
platforms = platforms.linux;
|
2018-04-10 21:31:44 +01:00
|
|
|
broken = true; # 2018-04-10
|
2013-04-10 14:12:02 +01:00
|
|
|
};
|
|
|
|
}
|