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 = [
|
|
|
|
# Fix a freezing bug with fcitx5.
|
|
|
|
# https://codereview.qt-project.org/c/qt/qtwayland/+/517601
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=6fe83f6076423068b652fa4fcb0b5adbd297f2a8";
|
|
|
|
hash = "sha256-TlZozKezpYm90B9qFP9qv76asRdIt+5bq9E3GcmFiDc=";
|
|
|
|
})
|
|
|
|
];
|
2022-06-16 17:23:12 +00:00
|
|
|
}
|