Merge pull request #138267 from romildo/fix.lxqt-config
lxqt.lxqt-config: gsettings is a runtime dependence
This commit is contained in:
commit
b2885bbbb9
1 changed files with 8 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, glib
|
||||||
, lxqt-build-tools
|
, lxqt-build-tools
|
||||||
, qtbase
|
, qtbase
|
||||||
, qtx11extras
|
, qtx11extras
|
||||||
|
@ -34,6 +35,7 @@ mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
glib.bin
|
||||||
qtbase
|
qtbase
|
||||||
qtx11extras
|
qtx11extras
|
||||||
qttools
|
qttools
|
||||||
|
@ -51,6 +53,12 @@ mkDerivation rec {
|
||||||
xorg.xf86inputlibinput.dev
|
xorg.xf86inputlibinput.dev
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace lxqt-config-appearance/configothertoolkits.cpp \
|
||||||
|
--replace 'QStringLiteral("gsettings' \
|
||||||
|
'QStringLiteral("${glib.bin}/bin/gsettings'
|
||||||
|
'';
|
||||||
|
|
||||||
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue