mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
cogl: Compile with gstreamer
This commit is contained in:
parent
3c871ccbc9
commit
b1a2c840a7
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user