diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2014-02-19 23:20:33 +0100 |
---|---|---|
committer | Luca Bruno <luca.bruno@immobiliare.it> | 2014-02-21 09:52:31 +0100 |
commit | b1a2c840a7ca8dfd462ac90c5f6d74a8d0cc41a8 (patch) | |
tree | bc5e3337d71510ab03a1850862b19d8d711739bf /pkgs/development/libraries/cogl | |
parent | 3c871ccbc9f588a7b70f9aaf276b7e7183e3360e (diff) |
cogl: Compile with gstreamer
Diffstat (limited to 'pkgs/development/libraries/cogl')
-rw-r--r-- | pkgs/development/libraries/cogl/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/libraries/cogl/default.nix b/pkgs/development/libraries/cogl/default.nix index 1fc1021156d50..0f1c1dd82e2d1 100644 --- a/pkgs/development/libraries/cogl/default.nix +++ b/pkgs/development/libraries/cogl/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchurl, pkgconfig, mesa_noglu, glib, gdk_pixbuf, xorg, libintlOrEmpty -, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland }: +, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland +, gstreamerSupport ? true, gst_all_1 }: let ver_maj = "1.16"; @@ -22,13 +23,15 @@ stdenv.mkDerivation rec { "--enable-kms-egl-platform" "--enable-wayland-egl-platform" "--enable-wayland-egl-server" - ]; + ] ++ stdenv.lib.optional gstreamerSupport "--enable-cogl-gst"; propagatedBuildInputs = with xorg; [ glib gdk_pixbuf gobjectIntrospection mesa_noglu libXrandr libXfixes libXcomposite libXdamage wayland ] - ++ libintlOrEmpty; + ++ libintlOrEmpty + ++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer + gst_all_1.gst-plugins-base ]; buildInputs = stdenv.lib.optionals pangoSupport [ pango cairo ]; |