qt5platform-plugins: 5.6.16 -> 5.6.22

This commit is contained in:
rewine 2024-02-04 11:21:22 +08:00
parent c54fafd71d
commit 570e030e98

View File

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, cmake
, extra-cmake-modules
, pkg-config
@ -18,13 +17,13 @@
stdenv.mkDerivation rec {
pname = "qt5platform-plugins";
version = "5.6.16";
version = "5.6.22";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
hash = "sha256-1/biT8wR44+sdOMhBW/8KMUSBDK/UxuEqsyjTZyjBT4=";
hash = "sha256-0XQ4s6xpFHoG6SC8RE8WVnbHH7qNeOYkhrYUkDEH8Dc=";
};
nativeBuildInputs = [
@ -45,14 +44,6 @@ stdenv.mkDerivation rec {
qtwayland
];
patches = [
(fetchpatch {
name = "use-ECM-to-help-dwayland-find-wayland.patch";
url = "https://github.com/linuxdeepin/qt5platform-plugins/commit/d7f6230716a0ff5ce34fc7d292ec0af5bbac30e4.patch";
hash = "sha256-RY2+QBR3OjUGBX4Y9oVvIRY90IH9rTOCg8dCddkB2WE=";
})
];
cmakeFlags = [
"-DINSTALL_PATH=${placeholder "out"}/${qtbase.qtPluginPrefix}/platforms"
"-DQT_XCB_PRIVATE_HEADERS=${qtbase.src}/src/plugins/platforms/xcb"