cogl: fix build
This commit is contained in:
parent
564f9be78f
commit
6493261bf2
@ -1,12 +1,13 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintl
|
{ stdenv, fetchurl, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintl
|
||||||
, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland, gnome3
|
, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland, gnome3
|
||||||
|
, mesa_noglu
|
||||||
, gstreamerSupport ? true, gst_all_1 }:
|
, gstreamerSupport ? true, gst_all_1 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "cogl";
|
pname = "cogl";
|
||||||
version = "1.22.2";
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
version = "1.22.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
@ -24,7 +25,7 @@ in stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optionals (!stdenv.isDarwin) [ "--enable-gles1" "--enable-gles2" ];
|
++ stdenv.lib.optionals (!stdenv.isDarwin) [ "--enable-gles1" "--enable-gles2" ];
|
||||||
|
|
||||||
propagatedBuildInputs = with xorg; [
|
propagatedBuildInputs = with xorg; [
|
||||||
glib gdk_pixbuf gobjectIntrospection wayland
|
glib gdk_pixbuf gobjectIntrospection wayland mesa_noglu
|
||||||
libGL libXrandr libXfixes libXcomposite libXdamage
|
libGL libXrandr libXfixes libXcomposite libXdamage
|
||||||
]
|
]
|
||||||
++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer
|
++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user