tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
vapoursynth: fix darwin build
Daiderd Jordan
8 years ago
62f8e255
82a4b755
+7
-4
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
vapoursynth
default.nix
top-level
all-packages.nix
+4
-3
pkgs/development/libraries/vapoursynth/default.nix
···
1
1
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook,
2
2
-
zimg, libass, yasm, python3,
2
2
+
zimg, libass, yasm, python3, libiconv, ApplicationServices,
3
3
ocrSupport ? false, tesseract,
4
4
imwriSupport? true, imagemagick7
5
5
}:
···
20
20
sha256 = "0nabl6949s7awy7rnr4ck52v50xr0hwr280fyzsqixgp8w369jn0";
21
21
};
22
22
23
23
+
nativeBuildInputs = [ pkgconfig autoreconfHook ];
23
24
buildInputs = [
24
24
-
pkgconfig autoreconfHook
25
25
zimg libass tesseract yasm
26
26
(python3.withPackages (ps: with ps; [ sphinx cython ]))
27
27
-
] ++ optional ocrSupport tesseract
27
27
+
] ++ optionals stdenv.isDarwin [ libiconv ApplicationServices ]
28
28
+
++ optional ocrSupport tesseract
28
29
++ optional imwriSupport imagemagick7;
29
30
30
31
configureFlags = [
+3
-1
pkgs/top-level/all-packages.nix
···
17807
17807
17808
17808
vapor = callPackage ../games/vapor { love = love_0_8; };
17809
17809
17810
17810
-
vapoursynth = callPackage ../development/libraries/vapoursynth { };
17810
17810
+
vapoursynth = callPackage ../development/libraries/vapoursynth {
17811
17811
+
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
17812
17812
+
};
17811
17813
17812
17814
vapoursynth-mvtools = callPackage ../development/libraries/vapoursynth-mvtools { };
17813
17815