mupdf: Add Darwin application
This commit is contained in:
parent
e7d335fa8b
commit
5c4f57cc57
1 changed files with 4 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
, lib
|
, lib
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
|
, desktopToDarwinBundle
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, freetype
|
, freetype
|
||||||
, harfbuzz
|
, harfbuzz
|
||||||
|
@ -50,7 +51,9 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optionals (!enableX11) [ "HAVE_X11=no" ]
|
++ lib.optionals (!enableX11) [ "HAVE_X11=no" ]
|
||||||
++ lib.optionals (!enableGL) [ "HAVE_GLUT=no" ];
|
++ lib.optionals (!enableGL) [ "HAVE_GLUT=no" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs =
|
||||||
|
[ pkg-config ] ++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
|
||||||
|
|
||||||
buildInputs = [ freetype harfbuzz openjpeg jbig2dec libjpeg gumbo ]
|
buildInputs = [ freetype harfbuzz openjpeg jbig2dec libjpeg gumbo ]
|
||||||
++ lib.optionals enableX11 [ libX11 libXext libXi libXrandr ]
|
++ lib.optionals enableX11 [ libX11 libXext libXi libXrandr ]
|
||||||
++ lib.optionals enableCurl [ curl openssl ]
|
++ lib.optionals enableCurl [ curl openssl ]
|
||||||
|
|
Loading…
Reference in a new issue