gtk3: update 3.8.4 -> 3.10.0
This commit is contained in:
parent
e902ca15ab
commit
e1e0a11f86
@ -1,5 +1,6 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gettext
|
{ stdenv, fetchurl, pkgconfig, gettext, perl
|
||||||
, expat, glib, cairo, pango, gdk_pixbuf, atk, at_spi2_atk, xlibs, x11, gobjectIntrospection
|
, expat, glib, cairo, pango, gdk_pixbuf, atk, at_spi2_atk, gobjectIntrospection
|
||||||
|
, xlibs, x11, wayland, libxkbcommon
|
||||||
, xineramaSupport ? stdenv.isLinux
|
, xineramaSupport ? stdenv.isLinux
|
||||||
, cupsSupport ? stdenv.isLinux, cups ? null
|
, cupsSupport ? stdenv.isLinux, cups ? null
|
||||||
}:
|
}:
|
||||||
@ -7,17 +8,23 @@
|
|||||||
assert xineramaSupport -> xlibs.libXinerama != null;
|
assert xineramaSupport -> xlibs.libXinerama != null;
|
||||||
assert cupsSupport -> cups != null;
|
assert cupsSupport -> cups != null;
|
||||||
|
|
||||||
|
let
|
||||||
|
ver_maj = "3.10";
|
||||||
|
ver_min = "0";
|
||||||
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gtk+-3.8.4";
|
name = "gtk+-${ver_maj}.${ver_min}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gtk+/3.8/${name}.tar.xz";
|
url = "mirror://gnome/sources/gtk+/${ver_maj}/${name}.tar.xz";
|
||||||
sha256 = "1qlj0qdhkp8j5xiris4l4xnx47g4pbk4qnj3nf8rwa82fwb610xh";
|
sha256 = "1zjkbjvp6ay08107r6zfsrp39x7qfadbd86p3hs5v4ydc2rzwnb5";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gettext gobjectIntrospection ];
|
nativeBuildInputs = [ pkgconfig gettext gobjectIntrospection perl ];
|
||||||
|
|
||||||
|
buildInputs = [ wayland libxkbcommon ];
|
||||||
propagatedBuildInputs = with xlibs; with stdenv.lib;
|
propagatedBuildInputs = with xlibs; with stdenv.lib;
|
||||||
[ expat glib cairo pango gdk_pixbuf atk at_spi2_atk ]
|
[ expat glib cairo pango gdk_pixbuf atk at_spi2_atk ]
|
||||||
++ optionals stdenv.isLinux [ libXrandr libXrender libXcomposite libXi libXcursor ]
|
++ optionals stdenv.isLinux [ libXrandr libXrender libXcomposite libXi libXcursor ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user