pango: Allow to build with gobject-introspection.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2012-12-12 04:19:37 +01:00
parent 5a426c94a6
commit 46defaedf2
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -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 {
name = "pango-1.30.1";
@ -12,7 +16,8 @@ stdenv.mkDerivation rec {
buildNativeInputs = [ pkgconfig ];
propagatedBuildInputs = [ x11 glib cairo libpng ];
propagatedBuildInputs = [ x11 glib cairo libpng ]
++ stdenv.lib.optional enableIntrospection gobjectIntrospection;
enableParallelBuilding = true;