mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
pangomm: fix build on darwin
* add cairo to build inputs * fix cairo include path
This commit is contained in:
parent
ab067cf633
commit
3d6f857f99
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, pango, glibmm, cairomm, libpng }:
|
{ stdenv, fetchurl, pkgconfig, pango, glibmm, cairomm, libpng, cairo }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "pangomm-2.28.4";
|
name = "pangomm-2.28.4";
|
||||||
@ -9,10 +9,16 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
propagatedBuildInputs = [ pango glibmm cairomm libpng ];
|
propagatedBuildInputs = [ pango glibmm cairomm libpng cairo ];
|
||||||
|
|
||||||
meta = {
|
NIX_CFLAGS_COMPILE = "-I${cairo}/include/cairo";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
description = "C++ interface to the Pango text rendering library";
|
description = "C++ interface to the Pango text rendering library";
|
||||||
|
homepage = http://www.pango.org/;
|
||||||
|
license = licenses.lgplv2Plus;
|
||||||
|
maintainers = with maintainers; [ lovek323 raskin ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Pango is a library for laying out and rendering of text, with an
|
Pango is a library for laying out and rendering of text, with an
|
||||||
@ -21,11 +27,5 @@ stdenv.mkDerivation rec {
|
|||||||
far has been done in the context of the GTK+ widget toolkit.
|
far has been done in the context of the GTK+ widget toolkit.
|
||||||
Pango forms the core of text and font handling for GTK+-2.x.
|
Pango forms the core of text and font handling for GTK+-2.x.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
homepage = http://www.pango.org/;
|
|
||||||
license = "LGPLv2+";
|
|
||||||
|
|
||||||
maintainers = [stdenv.lib.maintainers.raskin];
|
|
||||||
platforms = stdenv.lib.platforms.linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user