* Don't need to set CAIRO_CFLAGS anymore.
svn path=/nixpkgs/branches/stdenv-updates/; revision=13061
This commit is contained in:
parent
5bc2dc536d
commit
5b45cce6c1
@ -24,8 +24,8 @@ stdenv.mkDerivation {
|
|||||||
stdenv.lib.optional postscriptSupport zlib ++
|
stdenv.lib.optional postscriptSupport zlib ++
|
||||||
stdenv.lib.optional pngSupport libpng;
|
stdenv.lib.optional pngSupport libpng;
|
||||||
|
|
||||||
configureFlags =
|
configureFlags = ["--disable-static"] ++
|
||||||
(if pdfSupport then ["--enable-pdf"] else []);
|
stdenv.lib.optional pdfSupport "--enable-pdf";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A 2D graphics library with support for multiple output devices";
|
description = "A 2D graphics library with support for multiple output devices";
|
||||||
|
@ -12,11 +12,6 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
propagatedBuildInputs = [x11 glib cairo libpng];
|
propagatedBuildInputs = [x11 glib cairo libpng];
|
||||||
|
|
||||||
# The configure script doesn't seem to pick up the Cairo cflags.
|
|
||||||
preConfigure = ''
|
|
||||||
CAIRO_CFLAGS=$(pkg-config --cflags cairo --debug)
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A library for laying out and rendering of text, with an emphasis on internationalization";
|
description = "A library for laying out and rendering of text, with an emphasis on internationalization";
|
||||||
homepage = http://www.pango.org/;
|
homepage = http://www.pango.org/;
|
||||||
|
Loading…
Reference in New Issue
Block a user