about summary refs log tree commit diff
path: root/pkgs/development/libraries/cogl
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2013-12-23 19:25:29 +0100
committerVladimír Čunát <vcunat@gmail.com>2013-12-23 19:25:29 +0100
commitb89ab32c60373ae4c8ca7b6604ea3445afabca85 (patch)
tree79e790eebf03a6edfcd0174cd7e5175bbf8b1269 /pkgs/development/libraries/cogl
parent4f8809a0910840c266dec28952f15e2dec68b0df (diff)
cogl: fix build, enable some features
Diffstat (limited to 'pkgs/development/libraries/cogl')
-rw-r--r--pkgs/development/libraries/cogl/default.nix21
1 files changed, 15 insertions, 6 deletions
diff --git a/pkgs/development/libraries/cogl/default.nix b/pkgs/development/libraries/cogl/default.nix
index 9a151e88778b8..1fc1021156d50 100644
--- a/pkgs/development/libraries/cogl/default.nix
+++ b/pkgs/development/libraries/cogl/default.nix
@@ -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 " ;
-
-  propagatedBuildInputs = with xorg;
-    [ mesa glib gdk_pixbuf libXfixes libXcomposite libXdamage gobjectIntrospection ]
+  configureFlags = [
+    "--enable-introspection"
+    "--enable-gles1"
+    "--enable-gles2"
+    "--enable-kms-egl-platform"
+    "--enable-wayland-egl-platform"
+    "--enable-wayland-egl-server"
+  ];
+
+  propagatedBuildInputs = with xorg; [
+      glib gdk_pixbuf gobjectIntrospection
+      mesa_noglu libXrandr libXfixes libXcomposite libXdamage wayland
+    ]
     ++ libintlOrEmpty;
 
   buildInputs = stdenv.lib.optionals pangoSupport [ pango cairo ];