2022-06-16 17:23:12 +00:00
|
|
|
{ qtModule
|
|
|
|
, qtbase
|
|
|
|
, qtdeclarative
|
|
|
|
, wayland
|
|
|
|
, pkg-config
|
|
|
|
, libdrm
|
2023-11-16 04:20:00 +00:00
|
|
|
, fetchpatch
|
2022-06-16 17:23:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
qtModule {
|
|
|
|
pname = "qtwayland";
|
2023-11-16 04:20:00 +00:00
|
|
|
propagatedBuildInputs = [ qtbase qtdeclarative ];
|
2022-12-17 10:02:37 +00:00
|
|
|
buildInputs = [ wayland libdrm ];
|
2022-06-16 17:23:12 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2023-11-16 04:20:00 +00:00
|
|
|
patches = [
|
2024-01-02 11:29:13 +00:00
|
|
|
# Fix potential crash issues when some submenus are expanded
|
|
|
|
# https://codereview.qt-project.org/c/qt/qtwayland/+/519344/
|
2023-11-16 04:20:00 +00:00
|
|
|
(fetchpatch {
|
2024-01-02 11:29:13 +00:00
|
|
|
url = "https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=aae65c885d8e38d8abc2959cded7b5e9e5fc88b3";
|
|
|
|
hash = "sha256-FD1VaiTgl9Z1y+5EDpWYShM1ULoFdET86FoFfqDmjyo=";
|
2023-11-16 04:20:00 +00:00
|
|
|
})
|
|
|
|
];
|
2022-06-16 17:23:12 +00:00
|
|
|
}
|