tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
avxsynth: refactor & 2013-05-10 -> 2015-04-07
codyopel
10 years ago
b807d8da
e50afd12
+33
-17
1 changed file
expand all
collapse all
unified
split
pkgs
applications
video
avxsynth
default.nix
+33
-17
pkgs/applications/video/avxsynth/default.nix
···
1
1
-
{ stdenv, fetchurl, ffmpeg, autoconf, automake, libtool, pkgconfig, log4cpp
2
2
-
, pango, cairo, python, libjpeg, ffms
3
3
-
, enableQt ? true, qt4}:
1
1
+
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
2
2
+
, cairo, ffmpeg, ffms, libjpeg, log4cpp, pango
3
3
+
, avxeditSupport ? false, qt4 ? null
4
4
+
}:
5
5
+
6
6
+
let
7
7
+
inherit (stdenv.lib) enableFeature optional;
8
8
+
in
4
9
5
10
stdenv.mkDerivation rec {
6
6
-
name = "avxsynth-4.0-e153e672bf";
11
11
+
name = "avxsynth-${version}";
12
12
+
version = "2015-04-07";
7
13
8
8
-
src = fetchurl {
9
9
-
url = https://github.com/avxsynth/avxsynth/tarball/e153e672bf;
10
10
-
name = "${name}.tar.gz";
11
11
-
sha256 = "16l2ld8k1nfsms6jd9d9r4l247xxbncsak66w87icr20yzyhs14s";
14
14
+
src = fetchFromGitHub {
15
15
+
owner = "avxsynth";
16
16
+
repo = "avxsynth";
17
17
+
rev = "80dcb7ec8d314bc158130c92803308aa8e5e9242";
18
18
+
sha256 = "0kckggvgv68b0qjdi7ms8vi97b46dl63n60qr96d2w67lf2nk87z";
12
19
};
13
20
14
14
-
buildInputs = [ ffmpeg autoconf automake libtool pkgconfig log4cpp pango cairo python
15
15
-
libjpeg ffms ]
16
16
-
++ stdenv.lib.optional enableQt qt4;
21
21
+
configureFlags = [
22
22
+
"--enable-autocrop"
23
23
+
"--enable-framecapture"
24
24
+
"--enable-subtitle"
25
25
+
"--enable-ffms2"
26
26
+
(enableFeature avxeditSupport "avxedit")
27
27
+
"--with-jpeg=${libjpeg}/lib"
28
28
+
];
17
29
18
18
-
preConfigure = "autoreconf -vfi";
30
30
+
nativeBuildInputs = [ autoreconfHook pkgconfig ];
31
31
+
32
32
+
buildInputs = [ cairo ffmpeg ffms libjpeg log4cpp pango ]
33
33
+
++ optional avxeditSupport qt4;
19
34
20
20
-
meta = {
21
21
-
homepage = https://github.com/avxsynth/avxsynth/wiki;
22
22
-
license = stdenv.lib.licenses.gpl2Plus;
23
23
-
maintainers = with stdenv.lib.maintainers; [viric];
24
24
-
platforms = with stdenv.lib.platforms; linux;
35
35
+
meta = with stdenv.lib; {
36
36
+
description = "A script system that allows advanced non-linear editing";
37
37
+
homepage = https://github.com/avxsynth/avxsynth;
38
38
+
license = licenses.gpl2Plus;
39
39
+
maintainers = with maintainers; [ codyopel viric ];
40
40
+
platforms = platforms.linux;
25
41
};
26
42
}