qt6Packages.fcitx5-qt: 5.1.10 -> 5.1.11
Diff: https://github.com/fcitx/fcitx5-qt/compare/5.1.10...5.1.11
This commit is contained in:
@@ -10,38 +10,21 @@
|
|||||||
qtwayland,
|
qtwayland,
|
||||||
wrapQtAppsHook,
|
wrapQtAppsHook,
|
||||||
wayland,
|
wayland,
|
||||||
fetchpatch2,
|
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
majorVersion = lib.versions.major qtbase.version;
|
majorVersion = lib.versions.major qtbase.version;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fcitx5-qt${majorVersion}";
|
pname = "fcitx5-qt${majorVersion}";
|
||||||
version = "5.1.10";
|
version = "5.1.11";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fcitx";
|
owner = "fcitx";
|
||||||
repo = "fcitx5-qt";
|
repo = "fcitx5-qt";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-JhmaAAJ1fevCPItVnneUCAalnDDaCjjkAl9QRhSkBk4=";
|
hash = "sha256-Nr8WnEm6z16NrXxuGEP4uQ6mxe8sUYtOxVgWMmFrWVE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# TODO: remove on next release
|
|
||||||
(fetchpatch2 {
|
|
||||||
url = "https://github.com/fcitx/fcitx5-qt/commit/46a07a85d191fd77a1efc39c8ed43d0cd87788d2.patch?full_index=1";
|
|
||||||
hash = "sha256-qv8Rj6YoFdMQLOB2R9LGgwCHKdhEji0Sg67W37jSIac=";
|
|
||||||
})
|
|
||||||
(fetchpatch2 {
|
|
||||||
url = "https://github.com/fcitx/fcitx5-qt/commit/6ac4fdd8e90ff9c25a5219e15e83740fa38c9c71.patch?full_index=1";
|
|
||||||
hash = "sha256-x0OdlIVmwVuq2TfBlgmfwaQszXLxwRFVf+gEU224uVA=";
|
|
||||||
})
|
|
||||||
(fetchpatch2 {
|
|
||||||
url = "https://github.com/fcitx/fcitx5-qt/commit/1d07f7e8d6a7ae8651eda658f87ab0c9df08bef4.patch?full_index=1";
|
|
||||||
hash = "sha256-22tKD7sbsTJcNqur9/Uf+XAvMvA7tzNQ9hUCMm+E+E0=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace qt${majorVersion}/platforminputcontext/CMakeLists.txt \
|
substituteInPlace qt${majorVersion}/platforminputcontext/CMakeLists.txt \
|
||||||
--replace \$"{CMAKE_INSTALL_QT${majorVersion}PLUGINDIR}" $out/${qtbase.qtPluginPrefix}
|
--replace \$"{CMAKE_INSTALL_QT${majorVersion}PLUGINDIR}" $out/${qtbase.qtPluginPrefix}
|
||||||
|
|||||||
Reference in New Issue
Block a user