2019-03-03 18:23:52 +00:00
|
|
|
{ stdenv, fetchurl, substituteAll, pkgconfig, libxslt, ninja, libX11, gnome3, gtk3, glib
|
|
|
|
, gettext, libxml2, xkeyboard_config, isocodes, meson, wayland, fetchpatch
|
2018-12-02 11:41:15 +00:00
|
|
|
, libseccomp, bubblewrap, gobject-introspection, gtk-doc, docbook_xsl }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "gnome-desktop-${version}";
|
2019-03-03 18:23:52 +00:00
|
|
|
version = "3.32.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
2018-08-08 02:30:01 +01:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
2018-02-25 20:07:20 +00:00
|
|
|
src = fetchurl {
|
2018-10-05 01:12:11 +01:00
|
|
|
url = "mirror://gnome/sources/gnome-desktop/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-03-03 18:23:52 +00:00
|
|
|
sha256 = "0m3vs3rhhykr4xnwzi18h4bb1l05l8ykpiw4mi90dz19zk2ksfd6";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-12-02 04:49:41 +00:00
|
|
|
nativeBuildInputs = [
|
2019-03-03 18:23:52 +00:00
|
|
|
pkgconfig meson ninja gettext libxslt libxml2 gobject-introspection
|
2018-08-08 02:30:01 +01:00
|
|
|
gtk-doc docbook_xsl
|
2017-12-02 04:49:41 +00:00
|
|
|
];
|
2017-12-18 18:49:07 +00:00
|
|
|
buildInputs = [
|
|
|
|
libX11 bubblewrap xkeyboard_config isocodes wayland
|
|
|
|
gtk3 glib libseccomp
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
propagatedBuildInputs = [ gnome3.gsettings-desktop-schemas ];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-12-02 05:55:00 +00:00
|
|
|
patches = [
|
2018-08-12 13:28:18 +01:00
|
|
|
(substituteAll {
|
|
|
|
src = ./bubblewrap-paths.patch;
|
2018-11-17 15:06:27 +00:00
|
|
|
bubblewrap_bin = "${bubblewrap}/bin/bwrap";
|
2019-02-25 19:04:28 +00:00
|
|
|
inherit (builtins) storeDir;
|
|
|
|
})
|
2017-12-02 05:55:00 +00:00
|
|
|
];
|
|
|
|
|
2019-03-03 18:23:52 +00:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dgtk_doc=true"
|
|
|
|
"-Ddesktop_docs=false"
|
2018-08-08 02:30:01 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gnome-desktop";
|
|
|
|
attrPath = "gnome3.gnome-desktop";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-12-18 18:49:07 +00:00
|
|
|
description = "Library with common API for various GNOME modules";
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
2016-09-18 20:35:23 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|