mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
mate-icon-theme: build icon cache
This commit is contained in:
parent
dcebb0668b
commit
a9f66285b7
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, hicolor_icon_theme }:
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, librsvg, hicolor_icon_theme, gtk3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mate-icon-theme-${version}";
|
||||
@ -13,7 +13,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig intltool iconnamingutils ];
|
||||
|
||||
buildInputs = [ hicolor_icon_theme ];
|
||||
buildInputs = [ librsvg hicolor_icon_theme ];
|
||||
|
||||
postInstall = ''
|
||||
for theme in "$out"/share/icons/*; do
|
||||
"${gtk3.out}/bin/gtk-update-icon-cache" "$theme"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Icon themes from MATE";
|
||||
|
Loading…
Reference in New Issue
Block a user