mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
photivo: Add photivo photo processor / RAW development laboratory.
This commit is contained in:
parent
6ffa9261f9
commit
8f583cced9
@ -1,6 +1,6 @@
|
||||
{stdenv, fetchurl, bzip2, freetype, graphviz, ghostscript
|
||||
, libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz
|
||||
, libX11}:
|
||||
, libX11, quantumdepth ? 8}:
|
||||
|
||||
let version = "1.3.18"; in
|
||||
|
||||
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "1axh4j2jr3l92dan15b2nmx9da4l7i0rcz9b5bvfd4q742zfwj7x";
|
||||
};
|
||||
|
||||
configureFlags = "--enable-shared";
|
||||
configureFlags = "--enable-shared --with-quantum-depth=" + toString quantumdepth;
|
||||
|
||||
buildInputs =
|
||||
[ bzip2 freetype ghostscript graphviz libjpeg libpng libtiff libX11 libxml2
|
||||
|
16
pkgs/applications/graphics/photivo/default.nix
Normal file
16
pkgs/applications/graphics/photivo/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{ stdenv, fetchhg, cmake, qt4, fftw, graphicsmagick_q16,
|
||||
lcms2, lensfun, pkgconfig, libjpeg, exiv2, liblqr1 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "photivo-2013-05-20";
|
||||
|
||||
src = fetchhg {
|
||||
url = "http://code.google.com/p/photivo/";
|
||||
tag = "6256ff175312";
|
||||
sha256 = "0pyvkijr7wwik21hdp1zwbbyqnhc07kf0m48ih1rws78fq3h86cc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
buildInputs = [ qt4 fftw graphicsmagick_q16 lcms2 lensfun libjpeg exiv2 liblqr1 ];
|
||||
}
|
@ -7933,6 +7933,8 @@ let
|
||||
fftw = fftwSinglePrec;
|
||||
};
|
||||
|
||||
photivo = callPackage ../applications/graphics/photivo { };
|
||||
|
||||
wavesurfer = callPackage ../applications/misc/audio/wavesurfer { };
|
||||
|
||||
wireshark = callPackage ../applications/networking/sniffers/wireshark { };
|
||||
@ -8095,6 +8097,7 @@ let
|
||||
};
|
||||
|
||||
graphicsmagick = callPackage ../applications/graphics/graphicsmagick { };
|
||||
graphicsmagick_q16 = callPackage ../applications/graphics/graphicsmagick { quantumdepth = 16; };
|
||||
|
||||
graphicsmagick137 = callPackage ../applications/graphics/graphicsmagick/1.3.7.nix {
|
||||
libpng = libpng12;
|
||||
|
Loading…
Reference in New Issue
Block a user