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
|
{ stdenv, fetchurl, pkgconfig, mesa_noglu, glib, gdk_pixbuf, xorg, libintlOrEmpty
|
||||||
, pangoSupport ? true, pango, cairo, gobjectIntrospection }:
|
, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland }:
|
||||||
|
|
||||||
let
|
let
|
||||||
ver_maj = "1.16";
|
ver_maj = "1.16";
|
||||||
@ -15,10 +15,19 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
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;
|
propagatedBuildInputs = with xorg; [
|
||||||
[ mesa glib gdk_pixbuf libXfixes libXcomposite libXdamage gobjectIntrospection ]
|
glib gdk_pixbuf gobjectIntrospection
|
||||||
|
mesa_noglu libXrandr libXfixes libXcomposite libXdamage wayland
|
||||||
|
]
|
||||||
++ libintlOrEmpty;
|
++ libintlOrEmpty;
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optionals pangoSupport [ pango cairo ];
|
buildInputs = stdenv.lib.optionals pangoSupport [ pango cairo ];
|
||||||
|
Loading…
Reference in New Issue
Block a user