krusader: 2.8.1 -> 2.9.0

This commit is contained in:
emaryn
2025-02-21 23:22:54 +08:00
parent 6fadeb200b
commit feb585fbd7
3 changed files with 12 additions and 33 deletions
@@ -1,20 +0,0 @@
diff --git a/app/compat.h b/app/compat.h
index b63d561..c051f35 100644
--- a/app/compat.h
+++ b/app/compat.h
@@ -11,13 +11,13 @@
#if __has_include(<KCompletion/kcompletion_version.h>)
# include <KCompletion/kcompletion_version.h>
-#else // Pre KF-5.91 header layout
+#elif __has_include(<kcompletion_version.h>) // Pre KF-5.91 header layout
# include <kcompletion_version.h>
#endif
#if __has_include(<KArchive/karchive_version.h>)
# include <KArchive/karchive_version.h>
-#else // Pre KF-5.91 header layout
+#elif __has_include(<karchive_version.h>) // Pre KF-5.91 header layout
# include <karchive_version.h>
#endif
@@ -4,34 +4,32 @@
fetchurl,
extra-cmake-modules,
kdoctools,
wrapGAppsHook3,
karchive,
kconfig,
kcrash,
kguiaddons,
kinit,
kparts,
kwindowsystem,
cmake,
wrapQtAppsHook,
qt5compat,
kstatusnotifieritem,
}:
stdenv.mkDerivation rec {
pname = "krusader";
version = "2.8.1";
version = "2.9.0";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
hash = "sha256-N78gRRnQqxukCWSvAnQbwijxHpfyjExRjKBdNY3xgoM=";
url = "mirror://kde/stable/krusader/${version}/krusader-${version}.tar.xz";
hash = "sha256-ybeb+t5sxp/g40Hs75Mvysiv2f6U6MvPvXKf61Q5TgQ=";
};
patches = [
# Fix compilation error due to forceful header include
./compat-fix.patch
];
nativeBuildInputs = [
cmake
extra-cmake-modules
kdoctools
wrapGAppsHook3
wrapQtAppsHook
];
propagatedBuildInputs = [
@@ -39,9 +37,10 @@ stdenv.mkDerivation rec {
kconfig
kcrash
kguiaddons
kinit
kparts
kwindowsystem
qt5compat
kstatusnotifieritem
];
meta = {
+1 -1
View File
@@ -1480,7 +1480,7 @@ with pkgs;
inherit (libsForQt5) libqtpas wrapQtAppsHook;
};
krusader = libsForQt5.callPackage ../applications/file-managers/krusader { };
krusader = kdePackages.callPackage ../applications/file-managers/krusader { };
mc = callPackage ../applications/file-managers/mc {
inherit (darwin) autoSignDarwinBinariesHook;