Unverified Commit 06eebe5f authored by Vonfry's avatar Vonfry
Browse files

libsForQt5.fcitx5-qt: 5.1.1 -> 5.1.3

parent 7359b442
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -9,17 +9,18 @@
, libXdmcp
, qtbase
, qt6
, wayland
}:

mkDerivation rec {
  pname = "fcitx5-qt";
  version = "5.1.1";
  version = "5.1.3";

  src = fetchFromGitHub {
    owner = "fcitx";
    repo = pname;
    rev = version;
    sha256 = "sha256-IkaaLFMyPVaL5taRN4e+QxMEsNhhXlA1fWBn/6PeGnI=";
    sha256 = "sha256-qXQ5nvPV5YHD8MFfeqgF8kyk0zf28lWxM8SUo3T6TzA=";
  };

  preConfigure = ''
@@ -31,7 +32,7 @@ mkDerivation rec {

  cmakeFlags = [
    # adding qt6 to buildInputs would result in error: detected mismatched Qt dependencies
    "-DCMAKE_PREFIX_PATH=${qt6.qtbase}"
    "-DCMAKE_PREFIX_PATH=${qt6.qtbase};${qt6.qtwayland}"
    "-DENABLE_QT4=0"
    "-DENABLE_QT6=1"
  ];
@@ -46,6 +47,7 @@ mkDerivation rec {
    qtx11extras
    libxcb
    libXdmcp
    wayland
  ];

  meta = with lib; {