mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
cogl: fix build, enable some features
This commit is contained in:
parent
4f8809a091
commit
b89ab32c60
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, pkgconfig, mesa, glib, gdk_pixbuf, xorg, libintlOrEmpty
|
||||
, pangoSupport ? true, pango, cairo, gobjectIntrospection }:
|
||||
{ stdenv, fetchurl, pkgconfig, mesa_noglu, glib, gdk_pixbuf, xorg, libintlOrEmpty
|
||||
, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland }:
|
||||
|
||||
let
|
||||
ver_maj = "1.16";
|
||||
|
@ -15,10 +15,19 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
configureFlags = " --enable-introspection " ;
|
||||
configureFlags = [
|
||||
"--enable-introspection"
|
||||
"--enable-gles1"
|
||||
"--enable-gles2"
|
||||
"--enable-kms-egl-platform"
|
||||
"--enable-wayland-egl-platform"
|
||||
"--enable-wayland-egl-server"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with xorg;
|
||||
[ mesa glib gdk_pixbuf libXfixes libXcomposite libXdamage gobjectIntrospection ]
|
||||
propagatedBuildInputs = with xorg; [
|
||||
glib gdk_pixbuf gobjectIntrospection
|
||||
mesa_noglu libXrandr libXfixes libXcomposite libXdamage wayland
|
||||
]
|
||||
++ libintlOrEmpty;
|
||||
|
||||
buildInputs = stdenv.lib.optionals pangoSupport [ pango cairo ];
|
||||
|
|
Loading…
Reference in a new issue