seafile-client: switch from qt5 to qt6 (#442070)
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchpatch,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
cmake,
|
||||
qttools,
|
||||
qt5compat,
|
||||
libuuid,
|
||||
seafile-shared,
|
||||
jansson,
|
||||
@@ -25,6 +27,15 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-ZMhU0uXAC3tH1e3ktiHhC5YCDwFOnILretPgjYYa9DQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/NixOS/nixpkgs/issues/442063
|
||||
(fetchpatch {
|
||||
name = "fix_build_with_QT6.patch";
|
||||
url = "https://aur.archlinux.org/cgit/aur.git/plain/fix_build_with_QT6.diff?h=seafile-client&id=8bbd6e5017f03dbb368603b4313738b0d783ca2a";
|
||||
hash = "sha256-N1fepqjTm/M17+TgwNTUecP/wGVlBuZEtTezFgJEeVM=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
libuuid
|
||||
pkg-config
|
||||
@@ -34,6 +45,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5compat
|
||||
seafile-shared
|
||||
jansson
|
||||
libsearpc
|
||||
|
||||
@@ -12859,7 +12859,7 @@ with pkgs;
|
||||
|
||||
scantailor-universal = callPackage ../applications/graphics/scantailor/universal.nix { };
|
||||
|
||||
seafile-client = libsForQt5.callPackage ../applications/networking/seafile-client { };
|
||||
seafile-client = qt6Packages.callPackage ../applications/networking/seafile-client { };
|
||||
|
||||
seq66 = qt5.callPackage ../applications/audio/seq66 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user