deepin-icon-theme: 15.12.52 -> 15.12.59 (#45876)
This commit is contained in:
parent
13c6a9ba86
commit
3ee5ba7ff1
|
@ -3,37 +3,32 @@
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "deepin-icon-theme";
|
pname = "deepin-icon-theme";
|
||||||
version = "15.12.52";
|
version = "15.12.59";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linuxdeepin";
|
owner = "linuxdeepin";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "141in9jlflmckd8rg4605dfks84p1p6b1zdbhbiwrg11xbl66f3l";
|
sha256 = "1qkxhqx6a7pahkjhf6m9lm16lw9v9grk0d4j449h9622zwfjkxlq";
|
||||||
|
|
||||||
# Get rid of case collision in file names, which is an issue in
|
|
||||||
# darwin where file names are case insensitive.
|
|
||||||
extraPostFetch = ''
|
|
||||||
rm "$out"/Sea/apps/scalable/TeXmacs.svg
|
|
||||||
rm "$out"/deepin/apps/48/TeXmacs.svg
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gtk3 papirus-icon-theme ];
|
nativeBuildInputs = [ gtk3 papirus-icon-theme ];
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ];
|
postPatch = ''
|
||||||
|
patchShebangs .
|
||||||
|
|
||||||
postFixup = ''
|
# install in $out
|
||||||
for theme in $out/share/icons/*; do
|
sed -i -e "s|/usr|$out|g" Makefile tools/hicolor.links
|
||||||
gtk-update-icon-cache $theme
|
|
||||||
done
|
# keep icon-theme.cache
|
||||||
|
sed -i -e 's|\(-rm -f .*/icon-theme.cache\)|# \1|g' Makefile
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Deepin icon theme";
|
description = "Icons for the Deepin Desktop Environment";
|
||||||
homepage = https://github.com/linuxdeepin/deepin-icon-theme;
|
homepage = https://github.com/linuxdeepin/deepin-icon-theme;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ romildo ];
|
maintainers = with maintainers; [ romildo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue