gdk-pixbuf: reduce unnecessary outputs
Also some other minor changes.
This commit is contained in:
parent
a0ce1b48ed
commit
91329b5c0a
@ -13,16 +13,17 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0rqvj5gcs2zfyyg9llm289b0xkj4mrhzxfjpjja0wx1m6vn5axjk";
|
sha256 = "0rqvj5gcs2zfyyg9llm289b0xkj4mrhzxfjpjja0wx1m6vn5axjk";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "dev" "out" "bin" "doc" ];
|
outputs = [ "dev" "out" "docdev" ];
|
||||||
|
outputBin = "dev";
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
|
# !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
|
||||||
buildInputs = [ libX11 libintlOrEmpty ];
|
buildInputs = [ libX11 gobjectIntrospection ] ++ libintlOrEmpty;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
|
propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
|
||||||
|
|
||||||
@ -33,16 +34,11 @@ stdenv.mkDerivation rec {
|
|||||||
# The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).
|
# The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).
|
||||||
inherit (doCheck);
|
inherit (doCheck);
|
||||||
|
|
||||||
# propagate the bin output TODO: use propagatedOutputs instead
|
meta = with stdenv.lib; {
|
||||||
postPhases = "postPostFixup";
|
|
||||||
postPostFixup = ''
|
|
||||||
echo -n " $bin" >> "$dev"/nix-support/propagated-*build-inputs
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A library for image loading and manipulation";
|
description = "A library for image loading and manipulation";
|
||||||
homepage = http://library.gnome.org/devel/gdk-pixbuf/;
|
homepage = http://library.gnome.org/devel/gdk-pixbuf/;
|
||||||
maintainers = [ stdenv.lib.maintainers.eelco ];
|
maintainers = [ maintainers.eelco ];
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user