gsettings-desktop-schemas: 3.28.1 -> 3.32.0
This commit is contained in:
parent
f3911d3ff2
commit
60a8244b35
|
@ -1,23 +1,29 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, intltool, glib, gobject-introspection
|
{ stdenv, fetchurl, pkgconfig, intltool, glib, gobject-introspection
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, python3
|
||||||
# just for passthru
|
# just for passthru
|
||||||
, gnome3 }:
|
, gnome3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gsettings-desktop-schemas-${version}";
|
name = "gsettings-desktop-schemas-${version}";
|
||||||
version = "3.28.1";
|
version = "3.32.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/gsettings-desktop-schemas/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/gsettings-desktop-schemas/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||||
sha256 = "0bshwm49cd01ighsxqlbqn10q0ch71ff99gcrx8pr2gyky2ad3pq";
|
sha256 = "0d8a6479vappgplq5crdr3ah0ykqcr3fw533wkx9v1a8lnrv8n9d";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript { packageName = "gsettings-desktop-schemas"; };
|
updateScript = gnome3.updateScript { packageName = "gsettings-desktop-schemas"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# meson installs the schemas to share/glib-2.0/schemas
|
||||||
|
# We add the override file there too so it will be compiled and later moved by
|
||||||
|
# glib's setup hook.
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -p $out/share/gsettings-schemas/${name}/glib-2.0/schemas
|
mkdir -p $out/share/glib-2.0/schemas
|
||||||
cat - > $out/share/gsettings-schemas/${name}/glib-2.0/schemas/remove-backgrounds.gschema.override <<- EOF
|
cat - > $out/share/glib-2.0/schemas/remove-backgrounds.gschema.override <<- EOF
|
||||||
[org.gnome.desktop.background]
|
[org.gnome.desktop.background]
|
||||||
picture-uri='''
|
picture-uri='''
|
||||||
|
|
||||||
|
@ -26,9 +32,14 @@ stdenv.mkDerivation rec {
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
chmod +x build-aux/meson/post-install.py
|
||||||
|
patchShebangs build-aux/meson/post-install.py
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ glib gobject-introspection ];
|
buildInputs = [ glib gobject-introspection ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool ];
|
nativeBuildInputs = [ pkgconfig python3 meson ninja ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
|
|
Loading…
Reference in New Issue