lxqt.lxqt-qtplugin: fix build against Qt >= 6.10
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
libdbusmenu-lxqt,
|
||||
libfm-qt,
|
||||
@@ -25,6 +26,16 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-qXadz9JBk4TURAWj6ByP/lGV1u0Z6rNJ/VraBh5zY+Q=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix build against Qt >= 6.10 (https://github.com/lxqt/lxqt-qtplugin/pull/100)
|
||||
# TODO: drop when upgrading beyond version 2.2.0
|
||||
(fetchpatch {
|
||||
name = "cmake-fix-build-with-Qt-6.10.patch";
|
||||
url = "https://github.com/lxqt/lxqt-qtplugin/commit/90473945206dbf21816a00dfba27426a5b5a9e25.patch";
|
||||
hash = "sha256-cCghOJHsveR5IYisEFv3h8WreRDi0kuyj/2YBD+ATsc=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
lxqt-build-tools
|
||||
|
||||
Reference in New Issue
Block a user