libsForQt5.qtstyleplugin-kvantum: add xdg dirs support

This commit is contained in:
José Romildo 2022-07-15 09:33:52 -03:00
parent 93d0c58453
commit 0d5b71d790

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, qtsvg, qtx11extras, kwindowsystem
{ lib, stdenv, fetchFromGitHub, fetchpatch, qmake, qtbase, qtsvg, qtx11extras, kwindowsystem
, libX11, libXext, qttools, wrapQtAppsHook
, gitUpdater
}:
@ -24,6 +24,15 @@ stdenv.mkDerivation rec {
sourceRoot = "source/Kvantum";
patches = [
(fetchpatch {
# add xdg dirs support
url = "https://github.com/tsujan/Kvantum/commit/01989083f9ee75a013c2654e760efd0a1dea4a68.patch";
hash = "sha256-HPx+p4Iek/Me78olty1fA0dUNceK7bwOlTYIcQu8ycc=";
stripLen = 1;
})
];
postPatch = ''
# Fix plugin dir
substituteInPlace style/style.pro \