mate-icon-theme-faenza: build GTK icon cache

This commit is contained in:
José Romildo Malaquias 2018-10-02 18:45:20 -03:00
parent 83efc39766
commit 18d31c2d2d

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoreconfHook, mate, hicolor-icon-theme }:
{ stdenv, fetchurl, autoreconfHook, gtk3, mate, hicolor-icon-theme }:
stdenv.mkDerivation rec {
name = "mate-icon-theme-faenza-${version}";
@ -9,10 +9,16 @@ stdenv.mkDerivation rec {
sha256 = "000vr9cnbl2qlysf2gyg1lsjirqdzmwrnh6d3hyrsfc0r2vh4wna";
};
nativeBuildInputs = [ autoreconfHook ];
nativeBuildInputs = [ autoreconfHook gtk3 ];
buildInputs = [ mate.mate-icon-theme hicolor-icon-theme ];
postInstall = ''
for theme in "$out"/share/icons/*; do
gtk-update-icon-cache "$theme"
done
'';
meta = {
description = "Faenza icon theme from MATE";
homepage = http://mate-desktop.org;