Merge pull request #138267 from romildo/fix.lxqt-config

lxqt.lxqt-config: gsettings is a runtime dependence
This commit is contained in:
José Romildo Malaquias 2021-09-29 15:14:55 -03:00 committed by GitHub
commit b2885bbbb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {