mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
soxr, libraw, fftw, imagemagick: fix build by a hack
This commit is contained in:
parent
a56da607b1
commit
082843bdeb
4 changed files with 8 additions and 4 deletions
|
@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
|
|||
pkgconfig libtool libcl perl jemalloc bzip2 zlib libX11 libXext libXt fftw
|
||||
libfpx djvulibre fontconfig freetype ghostscript graphviz jbigkit libjpeg
|
||||
lcms2 openjpeg liblqr1 xz openexr pango libpng librsvg libtiff libwebp
|
||||
libxml2
|
||||
libxml2 (stdenv.cc.cc.lib or null)
|
||||
];
|
||||
|
||||
propagatedBuildInputs = []
|
||||
|
|
|
@ -14,7 +14,9 @@ stdenv.mkDerivation rec {
|
|||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:"`pwd`/build/src
|
||||
'';
|
||||
|
||||
buildInputs = [ cmake ];
|
||||
buildInputs = [ cmake (stdenv.cc.cc.lib or null) ];
|
||||
# outputs TODO: gcc.lib might become a problem;
|
||||
# here -out/lib/*.a got found and -lib/lib/*.so didn't
|
||||
|
||||
meta = {
|
||||
description = "An audio resampling library";
|
||||
|
|
|
@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "10h9mzjxnwlsjziah4lri85scc05rlajz39nqf3mbh4vja8dw34g";
|
||||
};
|
||||
|
||||
buildInputs = [ (stdenv.cc.cc.lib or null) ];
|
||||
|
||||
configureFlags =
|
||||
[ "--enable-shared" "--disable-static"
|
||||
"--enable-threads"
|
||||
|
|
|
@ -8,11 +8,11 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "15ng4s24grib39r0nlgrf18r2j9yh43qyx4vbif38d95xiqkix3i";
|
||||
};
|
||||
|
||||
buildInputs = [ lcms2 jasper ] ;
|
||||
buildInputs = [ lcms2 jasper (stdenv.cc.cc.lib or null) ] ;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
meta = {
|
||||
meta = {
|
||||
description = "Library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)";
|
||||
homepage = http://www.libraw.org/;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
|
|
Loading…
Reference in a new issue