tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
cogl: fix build
Nikolay Amiantov
8 years ago
6493261b
564f9be7
+3
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
cogl
default.nix
+3
-2
pkgs/development/libraries/cogl/default.nix
reviewed
···
1
1
{ stdenv, fetchurl, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintl
2
2
, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland, gnome3
3
3
+
, mesa_noglu
3
4
, gstreamerSupport ? true, gst_all_1 }:
4
5
5
6
let
6
7
pname = "cogl";
7
7
-
version = "1.22.2";
8
8
in stdenv.mkDerivation rec {
9
9
name = "${pname}-${version}";
10
10
+
version = "1.22.2";
10
11
11
12
src = fetchurl {
12
13
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
···
24
25
++ stdenv.lib.optionals (!stdenv.isDarwin) [ "--enable-gles1" "--enable-gles2" ];
25
26
26
27
propagatedBuildInputs = with xorg; [
27
27
-
glib gdk_pixbuf gobjectIntrospection wayland
28
28
+
glib gdk_pixbuf gobjectIntrospection wayland mesa_noglu
28
29
libGL libXrandr libXfixes libXcomposite libXdamage
29
30
]
30
31
++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer