Merge pull request #82891 from Elyhaka/pop-gtk-3.36

pop-gtk-theme: 2020-02-10 -> 2020-03-18 (gnome 3.36)
This commit is contained in:
José Romildo Malaquias 2020-04-30 18:20:31 -03:00 committed by GitHub
commit b041f8b61a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,17 +9,18 @@
, gtk-engine-murrine , gtk-engine-murrine
, gdk-pixbuf , gdk-pixbuf
, librsvg , librsvg
, python3
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pop-gtk-theme"; pname = "pop-gtk-theme";
version = "2020-02-10"; version = "2020-04-22";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pop-os"; owner = "pop-os";
repo = "gtk-theme"; repo = "gtk-theme";
rev = "ed888e9dd5de142cb899e362beedaf694594cc7e"; rev = "b3f98dfd61cfff81f69cdc7f57bce7a9efaa36f4";
sha256 = "0ryr1jx9pzij6pkv7sam07f90w5lbrzx0fj5vdxl94612mh76aad"; sha256 = "0vhcc694x33sgcpbqkrc5bycbd7017k4iii0mjjxgd22jd5lzgkb";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -29,6 +30,7 @@ stdenv.mkDerivation rec {
gtk3 gtk3
inkscape inkscape
optipng optipng
python3
]; ];
buildInputs = [ buildInputs = [
@ -41,9 +43,9 @@ stdenv.mkDerivation rec {
]; ];
postPatch = '' postPatch = ''
for file in $(find -name render-\*.sh); do patchShebangs .
patchShebangs "$file"
for file in $(find -name render-\*.sh); do
substituteInPlace "$file" \ substituteInPlace "$file" \
--replace 'INKSCAPE="/usr/bin/inkscape"' \ --replace 'INKSCAPE="/usr/bin/inkscape"' \
'INKSCAPE="inkscape"' \ 'INKSCAPE="inkscape"' \