1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

avxsynth: refactor & 2013-05-10 -> 2015-04-07

This commit is contained in:
codyopel 2015-05-09 18:13:52 -04:00 committed by Domen Kožar
parent d57a93f04b
commit 6c0b0a0248

View file

@ -1,26 +1,42 @@
{ stdenv, fetchurl, ffmpeg, autoconf, automake, libtool, pkgconfig, log4cpp { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, pango, cairo, python, libjpeg, ffms , cairo, ffmpeg, ffms, libjpeg, log4cpp, pango
, enableQt ? true, qt4}: , avxeditSupport ? false, qt4 ? null
}:
let
inherit (stdenv.lib) enableFeature optional;
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "avxsynth-4.0-e153e672bf"; name = "avxsynth-${version}";
version = "2015-04-07";
src = fetchurl { src = fetchFromGitHub {
url = https://github.com/avxsynth/avxsynth/tarball/e153e672bf; owner = "avxsynth";
name = "${name}.tar.gz"; repo = "avxsynth";
sha256 = "16l2ld8k1nfsms6jd9d9r4l247xxbncsak66w87icr20yzyhs14s"; rev = "80dcb7ec8d314bc158130c92803308aa8e5e9242";
sha256 = "0kckggvgv68b0qjdi7ms8vi97b46dl63n60qr96d2w67lf2nk87z";
}; };
buildInputs = [ ffmpeg autoconf automake libtool pkgconfig log4cpp pango cairo python configureFlags = [
libjpeg ffms ] "--enable-autocrop"
++ stdenv.lib.optional enableQt qt4; "--enable-framecapture"
"--enable-subtitle"
"--enable-ffms2"
(enableFeature avxeditSupport "avxedit")
"--with-jpeg=${libjpeg}/lib"
];
preConfigure = "autoreconf -vfi"; nativeBuildInputs = [ autoreconfHook pkgconfig ];
meta = { buildInputs = [ cairo ffmpeg ffms libjpeg log4cpp pango ]
homepage = https://github.com/avxsynth/avxsynth/wiki; ++ optional avxeditSupport qt4;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric]; meta = with stdenv.lib; {
platforms = with stdenv.lib.platforms; linux; description = "A script system that allows advanced non-linear editing";
homepage = https://github.com/avxsynth/avxsynth;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ codyopel viric ];
platforms = platforms.linux;
}; };
} }