Unverified Commit 79aa627b authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #254279 from AkechiShiro/pitivi-fix-hicolor-theme

pitivi: pass hicolor-theme to fix missing icons
parents 9b95f21c dc0f76eb
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
, meson
, ninja
, gsettings-desktop-schemas
, hicolor-icon-theme
}:

python3.pkgs.buildPythonApplication rec {
@@ -74,6 +75,13 @@ python3.pkgs.buildPythonApplication rec {
    librosa
  ];

  preFixup = ''
    gappsWrapperArgs+=(
      # The icon theme is hardcoded.
      --prefix XDG_DATA_DIRS : "${hicolor-icon-theme}/share"
    )
  '';

  postPatch = ''
    patchShebangs ./getenvvar.py
  '';
@@ -94,7 +102,7 @@ python3.pkgs.buildPythonApplication rec {
      that can appeal to newbies and professionals alike.
    '';
    license = licenses.lgpl21Plus;
    maintainers = with maintainers; [];
    maintainers = with maintainers; [ akechishiro ];
    platforms = platforms.linux;
  };
}