Merge pull request #46809 from romildo/upd.elementary-xfce

elementary-xfce-icon-theme: 0.12 -> 0.13
This commit is contained in:
xeji 2018-09-18 10:14:38 +02:00 committed by GitHub
commit 874b045cc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,34 +1,32 @@
{ stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }: { stdenv, fetchFromGitHub, pkgconfig, gdk_pixbuf, optipng, librsvg, gtk3, hicolor-icon-theme }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "elementary-xfce-icon-theme-${version}"; name = "elementary-xfce-icon-theme-${version}";
version = "0.12"; version = "0.13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "shimmerproject"; owner = "shimmerproject";
repo = "elementary-xfce"; repo = "elementary-xfce";
rev = "elementary-xfce-${version}"; rev = "v${version}";
sha256 = "036676443sj4lxm7z211b0br87zdnbrb9z41czfq65r1wwwdf3rq"; sha256 = "01hlpw4vh4kgyghki01jp0snbn0g79mys28fb1m993mivnlzmn75";
}; };
nativeBuildInputs = [ gtk3 hicolor-icon-theme ]; nativeBuildInputs = [ pkgconfig gdk_pixbuf librsvg optipng gtk3 hicolor-icon-theme ];
installPhase = '' postPatch = ''
mkdir -p $out/share/icons substituteInPlace svgtopng/Makefile --replace "-O0" "-O"
mv elementary-xfce* $out/share/icons
''; '';
postFixup = '' postInstall = ''
for theme in $out/share/icons/*; do make icon-caches
gtk-update-icon-cache $theme
done
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Elementary icons for Xfce and other GTK+ desktops like GNOME"; description = "Elementary icons for Xfce and other GTK+ desktops like GNOME";
homepage = https://github.com/shimmerproject/elementary-xfce; homepage = https://github.com/shimmerproject/elementary-xfce;
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.unix; # darwin cannot deal with file names differing only in case
platforms = platforms.linux;
maintainers = with maintainers; [ davidak ]; maintainers = with maintainers; [ davidak ];
}; };
} }