giblib: Split into multiple outputs
Or it propagates imlib2.dev.
This commit is contained in:
parent
288740ad69
commit
43e020ac2f
@ -8,9 +8,25 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1b4bmbmj52glq0s898lppkpzxlprq9aav49r06j2wx4dv3212rhp";
|
sha256 = "1b4bmbmj52glq0s898lppkpzxlprq9aav49r06j2wx4dv3212rhp";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
setOutputFlags = false;
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
configureFlagsArray+=(
|
||||||
|
--includedir=$dev/include
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ xlibsWrapper ];
|
buildInputs = [ xlibsWrapper ];
|
||||||
propagatedBuildInputs = [ imlib2 ];
|
propagatedBuildInputs = [ imlib2 ];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
moveToOutput bin/giblib-config "$dev"
|
||||||
|
|
||||||
|
# Doesn't contain useful stuff
|
||||||
|
rm -rf $out/share/doc
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://linuxbrit.co.uk/giblib/;
|
homepage = http://linuxbrit.co.uk/giblib/;
|
||||||
description = "wrapper library for imlib2, and other stuff";
|
description = "wrapper library for imlib2, and other stuff";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user