pango: Allow to build with gobject-introspection.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
5a426c94a6
commit
46defaedf2
|
@ -1,4 +1,8 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng }:
|
{ stdenv, fetchurl, pkgconfig, gettext, x11, glib, cairo, libpng
|
||||||
|
, enableIntrospection ? false, gobjectIntrospection ? null
|
||||||
|
}:
|
||||||
|
|
||||||
|
assert enableIntrospection -> gobjectIntrospection != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pango-1.30.1";
|
name = "pango-1.30.1";
|
||||||
|
@ -12,7 +16,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildNativeInputs = [ pkgconfig ];
|
buildNativeInputs = [ pkgconfig ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ x11 glib cairo libpng ];
|
propagatedBuildInputs = [ x11 glib cairo libpng ]
|
||||||
|
++ stdenv.lib.optional enableIntrospection gobjectIntrospection;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user