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