3
0
Fork 0
forked from mirrors/nixpkgs

mojave-gtk-theme: 2022-05-12 -> 2022-06-07 (#177337)

This commit is contained in:
José Romildo Malaquias 2022-06-14 17:30:39 -03:00 committed by GitHub
parent e84ce3a94a
commit bf190d4945
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -3,6 +3,7 @@
, fetchFromGitHub
, fetchurl
, glib
, gnome-shell
, gtk-engine-murrine
, gtk_engines
, inkscape
@ -30,14 +31,14 @@ lib.checkListOfEnum "${pname}: theme variants" [ "default" "blue" "purple" "pink
stdenv.mkDerivation rec {
inherit pname;
version = "2022-05-12";
version = "2022-06-07";
srcs = [
(fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "sha256-VrrxW16J+S21qBoAeVCWs0Q6bRL1jXAK7MOBpdSMJZY=";
sha256 = "sha256-OEqB2PSZ5KoxXAUhlyT1PRUzckVz+jTCIoAqP8gVqTk=";
})
]
++
@ -52,6 +53,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
glib
gnome-shell
inkscape
jdupes
optipng
@ -72,7 +74,10 @@ stdenv.mkDerivation rec {
dontRewriteSymlinks = true;
postPatch = ''
patchShebangs .
patchShebangs \
install.sh \
src/main/gtk-3.0/make_gresource_xml.sh \
src/main/gtk-4.0/make_gresource_xml.sh
for f in \
render-assets.sh \
@ -87,6 +92,7 @@ stdenv.mkDerivation rec {
src/assets/metacity-1/render-assets.sh \
src/assets/xfwm4/render-assets.sh
do
patchShebangs $f
substituteInPlace $f \
--replace /usr/bin/inkscape ${inkscape}/bin/inkscape \
--replace /usr/bin/optipng ${optipng}/bin/optipng

View file

@ -24667,7 +24667,9 @@ with pkgs;
mobile-broadband-provider-info = callPackage ../data/misc/mobile-broadband-provider-info { };
mojave-gtk-theme = callPackage ../data/themes/mojave { };
mojave-gtk-theme = callPackage ../data/themes/mojave {
inherit (gnome) gnome-shell;
};
moka-icon-theme = callPackage ../data/icons/moka-icon-theme { };